Home
last modified time | relevance | path

Searched refs:socktmp (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/usr.sbin/ldpd/
H A Dtlv_stack.c65 union sockunion socktmp; in map_label() local
88 memset (&socktmp, 0, sizeof(socktmp)); in map_label()
102 socktmp.sa.sa_family = AF_INET; in map_label()
103 socktmp.sa.sa_len = sizeof(socktmp.sin); in map_label()
105 socktmp.sa.sa_family = AF_INET6; in map_label()
106 socktmp.sa.sa_len = sizeof(socktmp.sin6); in map_label()
116 if (socktmp.sa.sa_family == AF_INET) in map_label()
117 memcpy(&socktmp.sin.sin_addr, &pref->prefix, in map_label()
120 memcpy(&socktmp.sin6.sin6_addr, &pref->prefix, in map_label()
123 inet_ntoa(p->ldp_id), satos(&socktmp.sa), in map_label()
[all …]