/freebsd-current/sys/netpfil/pf/ |
H A D | pfsync_nv.c | 72 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; local 76 in6->sin6_family = af; 77 if (len != sizeof(*in6)) 80 memcpy(in6, addr, sizeof(*in6)); 82 error = sa6_embedscope(in6, V_ip6_use_defzone); 117 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; local 118 sa6_recoverscope(in6); 119 nvlist_add_number(nvl, "af", in6->sin6_family); 120 nvlist_add_binary(nvl, "address", in6, sizeo [all...] |
/freebsd-current/sys/netinet6/ |
H A D | in6_ifattach.c | 96 #define EUI64_TO_IFID(in6) do {(in6)->s6_addr[8] ^= EUI64_UBIT; } while (0) 97 #define EUI64_GROUP(in6) ((in6)->s6_addr[8] & EUI64_GBIT) 98 #define EUI64_INDIVIDUAL(in6) (!EUI64_GROUP(in6)) 99 #define EUI64_LOCAL(in6) ((in6)->s6_addr[8] & EUI64_UBIT) 100 #define EUI64_UNIVERSAL(in6) (!EUI64_LOCAL(in6)) 115 get_rand_ifid(struct ifnet *ifp, struct in6_addr *in6) argument 239 in6_get_hw_ifid(struct ifnet *ifp, struct in6_addr *in6) argument 356 get_ifid(struct ifnet *ifp0, struct ifnet *altifp, struct in6_addr *in6) argument 579 in6_nigroup0(struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6, int oldmcprefix) argument 650 in6_nigroup(struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument 658 in6_nigroup_oldmcprefix(struct ifnet *ifp, const char *name, int namelen, struct in6_addr *in6) argument [all...] |
H A D | scope6.c | 397 * Determine the appropriate scope zone ID for in6 and ifp. If ret_id is 399 * in the in6_addr structure, in6 will be modified. 404 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) argument 414 if (IN6_IS_ADDR_LOOPBACK(in6)) { 418 scope = in6_addrscope(in6); 427 in6->s6_addr16[1] = htons(zoneid & 0xffff); /* XXX */ 453 in6_clearscope(struct in6_addr *in6) argument 457 if (IN6_IS_SCOPE_LINKLOCAL(in6) || IN6_IS_ADDR_MC_INTFACELOCAL(in6)) { 458 if (in6 470 in6_getscope(const struct in6_addr *in6) argument 486 in6_get_unicast_scopeid(const struct in6_addr *in6, const struct ifnet *ifp) argument 495 in6_set_unicast_scopeid(struct in6_addr *in6, uint32_t scopeid) argument [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/ |
H A D | netscope.c | 38 struct in6_addr *in6; local 46 in6 = (struct in6_addr *)addr; 57 if (IN6_IS_ADDR_LINKLOCAL(in6) &&
|
H A D | netaddr.c | 52 if (memcmp(&a->type.in6, &b->type.in6, 53 sizeof(a->type.in6)) != 0 || 93 pa = (const unsigned char *) &a->type.in6; 94 pb = (const unsigned char *) &b->type.in6; 143 type = &netaddr->type.in6; 229 p = (const unsigned char *) &na->type.in6; 260 p = (const unsigned char *) &s->type.in6; 299 netaddr->type.in6 = *ina6; 344 memcpy(&t->type.in6, [all...] |
/freebsd-current/crypto/heimdal/appl/kf/ |
H A D | kf_locl.h | 56 #include <netinet/in6.h> 59 #include <netinet6/in6.h>
|
/freebsd-current/sbin/ipf/libipf/ |
H A D | printnataddr.c | 33 (u_32_t *)&addr->na_addr[0].in6, 34 (u_32_t *)&addr->na_addr[1].in6);
|
H A D | printactiveaddr.c | 25 (u_32_t *)&addr->in6, NULL);
|
H A D | parsewhoisline.c | 51 if (inet_pton(AF_INET6, s, &a61.in6) != 1) 82 if (IP6_MASKNEQ(&addrp->adf_addr.in6, &maskp->adf_addr.in6, 83 &addrp->adf_addr.in6)) {
|
/freebsd-current/crypto/heimdal/appl/test/ |
H A D | test_locl.h | 56 #include <netinet/in6.h> 59 #include <netinet6/in6.h>
|
/freebsd-current/crypto/heimdal/kpasswd/ |
H A D | kpasswd_locl.h | 74 #include <netinet/in6.h> 77 #include <netinet6/in6.h>
|
/freebsd-current/crypto/heimdal/appl/push/ |
H A D | push_locl.h | 71 #include <netinet/in6.h> 74 #include <netinet6/in6.h>
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | bindresvport.c | 59 struct sockaddr_in6 *in6; local 83 in6 = (struct sockaddr_in6 *)sa; 85 portp = &in6->sin6_port;
|
/freebsd-current/crypto/openssh/ |
H A D | addr.c | 66 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; local 85 if (*len < sizeof(*in6)) 87 memset(sa, '\0', sizeof(*in6)); 88 *len = sizeof(*in6); 90 in6->sin6_len = sizeof(*in6); 92 in6->sin6_family = AF_INET6; 93 in6->sin6_port = htons(port); 94 memcpy(&in6->sin6_addr, &xa->v6, sizeof(in6 113 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; local [all...] |
/freebsd-current/crypto/heimdal/kdc/ |
H A D | headers.h | 66 #include <netinet/in6.h> 69 #include <netinet6/in6.h>
|
/freebsd-current/crypto/heimdal/kuser/ |
H A D | kuser_locl.h | 61 #include <netinet/in6.h> 64 #include <netinet6/in6.h>
|
/freebsd-current/usr.sbin/ctld/ |
H A D | isns.c | 154 struct sockaddr_in6 *in6; local 167 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr; 168 isns_req_add(req, tag, sizeof(in6->sin6_addr), &in6->sin6_addr); 180 struct sockaddr_in6 *in6; local 190 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr; 191 be32enc(&buf, ntohs(in6->sin6_port));
|
/freebsd-current/sys/dev/cxgbe/ |
H A D | t4_clip.c | 124 alloc_clip_db_entry(struct in6_addr *in6) argument 130 memcpy(&cde->lip, in6, sizeof(cde->lip)); 157 lookup_clip_db_entry(struct in6_addr *in6, bool add) argument 160 const int bucket = clip_hashfn(in6); 165 if (IN6_ARE_ADDR_EQUAL(&cde->lip, in6)) 171 cde = alloc_clip_db_entry(in6); 184 lookup_clip_entry(struct adapter *sc, struct in6_addr *in6, bool add) argument 188 const int bucket = clip_hashfn(in6); 192 cde = lookup_clip_db_entry(in6, add); 254 t4_get_clip_entry(struct adapter *sc, struct in6_addr *in6, boo argument 352 t4_release_clip_addr(struct adapter *sc, struct in6_addr *in6) argument 406 struct in6_addr *in6, tin6; local 723 struct in6_addr *in6; local [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_testutils.c | 50 #include <netinet/in6.h> 201 struct in6_addr in6; local 202 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) { 206 question, 1, &in6.s6_addr, 100);
|
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | iwpm_util.h | 42 #include <linux/in6.h>
|
/freebsd-current/contrib/libevent/test/ |
H A D | regress_testutils.c | 50 #include <netinet/in6.h> 201 struct in6_addr in6; local 202 if (!evutil_inet_pton(AF_INET6, tab->ans, &in6)) { 206 question, 1, &in6.s6_addr, 100);
|
/freebsd-current/contrib/netbsd-tests/ipf/ |
H A D | t_nat_parse.sh | 45 test_case in6 intest text text 68 atf_add_test_case in6
|
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet_locl.h | 132 #include <netinet/in6.h> 135 #include <netinet6/in6.h>
|
/freebsd-current/crypto/heimdal/appl/rsh/ |
H A D | rsh_locl.h | 63 #include <netinet/in6.h> 66 #include <netinet6/in6.h>
|
/freebsd-current/crypto/heimdal/kadmin/ |
H A D | kadmin_locl.h | 68 #include <netinet/in6.h> 71 #include <netinet6/in6.h>
|