Home
last modified time | relevance | path

Searched full:in6 (Results 1 – 25 of 190) sorted by relevance

12345678

/freebsd/contrib/netbsd-tests/ipf/input/
H A Dn1_68 in6 on zx0 255 10:1:1::1 10:1:1::2
9 in6 on zx0 255 10:1:1::2 10:1:1::1
10 in6 on zx0 255 10::2:2:1 10::2:1:1
11 in6 on zx0 255 10::2:2:2 10::2:1:1
12 in6 on zx0 255 10::2:2:3 10:1:1::1
13 in6 on zx0 255 10::2:3:4 10::2:2:2
14 in6 on zx0 255 10:1:1::1 10::2:2:2
15 in6 on zx0 255 10:1:1::2 10::2:2:2
16 in6 on zx0 255 10:1:1::0 10::3:4:5
17 in6 on zx0 255 10:1:1::1 10::3:4:5
[all …]
H A Dn5_68 in6 on zx0 255 10:1:1::1 10:1:1::2
9 in6 on zx0 255 10:1:1::2 10:1:1::1
10 in6 on zx0 255 10::2:2:1 10::2:1:1
11 in6 on zx0 255 10::2:2:2 10::2:1:1
12 in6 on zx0 255 10::2:2:3 10:1:1::1
13 in6 on zx0 255 10::2:3:4 10::2:2:2
14 in6 on zx0 255 10:1:1::1 10::2:2:2
15 in6 on zx0 255 10:1:1::2 10::2:2:2
16 in6 on zx0 255 10:1:1::0 10::3:4:5
17 in6 on zx0 255 10:1:1::1 10::3:4:5
[all …]
H A Dn6_61 in6 on zx0 tcp 10::2:2:2,12345 10:1:1::1,23
2 in6 on zx0 tcp 10::2:2:2,12345 10:1:1::2,23
3 in6 on zx0 tcp 10:3:0::1,12345 10:1:2::2,23
4 in6 on zx0 tcp 10:3:0::1,12345 10::2:2:2,23
5 in6 on zx0 tcp 10:3:3::3,12345 10:1:1::1,23
6 in6 on zx0 tcp 10::2:2:2,12345 10:1:1::1,53
7 in6 on zx0 tcp 10:3:3::3,12345 10:1:1::1,53
8 in6 on zx0 tcp 10::2:2:2,12345 10:1:0::0,23
9 in6 on zx0 tcp 10:3:3::3,12345 10:1:0::0,23
10 in6 on zx0 udp 10::2:2:2,12345 10:1:1::0,53
[all …]
H A Dn11_66 in6 on zx0 255 10:1:1::1 10:1:1::2
7 in6 on zx0 255 10:1:1::2 10:1:1::1
8 in6 on zx0 255 10::2:2:1 10::2:1:1
9 in6 on zx0 255 10::2:2:2 10::2:1:1
10 in6 on zx0 255 10::2:2:3 10:1:1::1
11 in6 on zx0 255 10::2:3:4 10::2:2:2
12 in6 on zx0 255 10:1:1::1 10::2:2:2
13 in6 on zx0 255 10:1:1::2 10::2:2:2
14 in6 on zx0 255 10:1:1::0 10::3:4:5
15 in6 on zx0 255 10:1:1::1 10::3:4:5
[all …]
H A Dn7_61 in6 on zx0 tcp 10::2:3:1,1230 10:1:1::1,22
2 in6 on zx0 tcp 10::2:3:1,1231 10:1:1::1,23
3 in6 on zx0 tcp 10::2:3:1,1232 10:1:1::1,50
4 in6 on zx0 tcp 10::2:3:1,1233 10:1:1::1,79
5 in6 on zx0 tcp 10::2:3:1,1234 10:1:1::1,80
6 in6 on zx0 tcp 10::2:3:1,1235 10:1:1::2,80
7 in6 on zx0 tcp 10::2:3:1,1236 10:1:1::3,80
8 in6 on zx0 tcp 10::2:3:1,1237 10:1:1::4,80
9 in6 on zx0 tcp 10::2:3:1,1238 10:1:1::4,80
H A Dn2_613 in6 on zx0 10:1:1::1 10:1:1::2
14 in6 on zx0 tcp 10:1:1::1,1025 10:1:1::2,1025
15 in6 on zx0 10:1:1::2 10:1:1::1
16 in6 on zx0 tcp 10:1:1::1,1026 10::3:4:5,40000
17 in6 on zx0 tcp 10:1:1::1,1025 10::3:4:5,40000
18 in6 on zx0 udp 10:1:1::2,1025 10::3:4:5,40001
19 in6 on zx0 tcp 10:1:2::1,80 10::3:4:5,40001
H A Dn4_61 in6 on zx0 tcp 10:3:3::3,12345 10:1:1::1,23
3 in6 on zx0 tcp 10:3:3::3,12345 10:1:1::1,53
5 in6 on zx0 tcp 10:3:3::3,12346 10:1:0::0,23
7 in6 on zx0 udp 10:3:3::3,12345 10:1:1::0,53
9 in6 on zx0 tcp 10:3:3::3,12345 10:1:1::0,53
H A Dn14_61 in6 on gre0 tcp 10::2:2:5,2000 203:1:1::1,80
2 in6 on gre0 tcp 10::2:2:6,2000 203:1:1::1,80
3 in6 on gre0 tcp 10::2:2:7,2000 203:1:1::1,80
4 in6 on gre0 tcp 10::2:2:5,2001 203:1:1::1,80
/freebsd/sys/netinet6/
H A Din6_ifattach.c96 #define EUI64_TO_IFID(in6) do {(in6)->s6_addr[8] ^= EUI64_UBIT; } while (0) argument
97 #define EUI64_GROUP(in6) ((in6)->s6_addr[8] & EUI64_GBIT) argument
98 #define EUI64_INDIVIDUAL(in6) (!EUI64_GROUP(in6)) argument
99 #define EUI64_LOCAL(in6) ((in6)->s6_addr[8] & EUI64_UBIT) argument
100 #define EUI64_UNIVERSAL(in6) (!EUI64_LOCAL(in6)) argument
102 #define IFID_LOCAL(in6) (!EUI64_LOCAL(in6)) argument
103 #define IFID_UNIVERSAL(in6) (!EUI64_UNIVERSAL(in6)) argument
112 * in6 - upper 64bits are preserved
115 get_rand_ifid(struct ifnet *ifp, struct in6_addr *in6) in get_rand_ifid() argument
141 bcopy(digest, &in6->s6_addr[8], 8); in get_rand_ifid()
[all …]
H A Dscope6.c397 * 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) in in6_setscope() argument
414 if (IN6_IS_ADDR_LOOPBACK(in6)) { in in6_setscope()
418 scope = in6_addrscope(in6); in in6_setscope()
427 in6->s6_addr16[1] = htons(zoneid & 0xffff); /* XXX */ in in6_setscope()
453 in6_clearscope(struct in6_addr *in6) in in6_clearscope() argument
457 if (IN6_IS_SCOPE_LINKLOCAL(in6) || IN6_IS_ADDR_MC_INTFACELOCAL(in6)) { in in6_clearscope()
458 if (in6->s6_addr16[1] != 0) in in6_clearscope()
460 in6->s6_addr16[1] = 0; in in6_clearscope()
[all …]
/freebsd/sys/netpfil/pf/
H A Dpfsync_nv.c72 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in pfsync_syncpeer_nvlist_to_sockaddr() local
76 in6->sin6_family = af; in pfsync_syncpeer_nvlist_to_sockaddr()
77 if (len != sizeof(*in6)) in pfsync_syncpeer_nvlist_to_sockaddr()
80 memcpy(in6, addr, sizeof(*in6)); in pfsync_syncpeer_nvlist_to_sockaddr()
82 error = sa6_embedscope(in6, V_ip6_use_defzone); in pfsync_syncpeer_nvlist_to_sockaddr()
117 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in pfsync_sockaddr_to_syncpeer_nvlist() local
118 sa6_recoverscope(in6); in pfsync_sockaddr_to_syncpeer_nvlist()
119 nvlist_add_number(nvl, "af", in6->sin6_family); in pfsync_sockaddr_to_syncpeer_nvlist()
120 nvlist_add_binary(nvl, "address", in6, sizeof(*in6)); in pfsync_sockaddr_to_syncpeer_nvlist()
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dnetaddr.c52 if (memcmp(&a->type.in6, &b->type.in6, in isc_netaddr_equal()
53 sizeof(a->type.in6)) != 0 || in isc_netaddr_equal()
93 pa = (const unsigned char *) &a->type.in6; in isc_netaddr_eqprefix()
94 pb = (const unsigned char *) &b->type.in6; in isc_netaddr_eqprefix()
143 type = &netaddr->type.in6; in isc_netaddr_totext()
229 p = (const unsigned char *) &na->type.in6; in isc_netaddr_prefixok()
260 p = (const unsigned char *) &s->type.in6; in isc_netaddr_masktoprefixlen()
299 netaddr->type.in6 = *ina6; in isc_netaddr_fromin6()
344 memcpy(&t->type.in6, &s->type.sin6.sin6_addr, 16); in isc_netaddr_fromsockaddr()
373 netaddr->type.in6 = in6addr_any; in isc_netaddr_any6()
[all …]
H A Dnetscope.c38 struct in6_addr *in6; in isc_netscope_pton() local
46 in6 = (struct in6_addr *)addr; in isc_netscope_pton()
57 if (IN6_IS_ADDR_LINKLOCAL(in6) && in isc_netscope_pton()
/freebsd/sys/dev/cxgbe/
H A Dt4_clip.c124 alloc_clip_db_entry(struct in6_addr *in6) in alloc_clip_db_entry() argument
130 memcpy(&cde->lip, in6, sizeof(cde->lip)); in alloc_clip_db_entry()
157 lookup_clip_db_entry(struct in6_addr *in6, bool add) in lookup_clip_db_entry() argument
160 const int bucket = clip_hashfn(in6); in lookup_clip_db_entry()
165 if (IN6_ARE_ADDR_EQUAL(&cde->lip, in6)) in lookup_clip_db_entry()
171 cde = alloc_clip_db_entry(in6); in lookup_clip_db_entry()
184 lookup_clip_entry(struct adapter *sc, struct in6_addr *in6, bool add) in lookup_clip_entry() argument
188 const int bucket = clip_hashfn(in6); in lookup_clip_entry()
192 cde = lookup_clip_db_entry(in6, add); in lookup_clip_entry()
254 t4_get_clip_entry(struct adapter *sc, struct in6_addr *in6, bool add) in t4_get_clip_entry() argument
[all …]
/freebsd/crypto/openssh/
H A Daddr.c66 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in addr_xaddr_to_sa() local
85 if (*len < sizeof(*in6)) in addr_xaddr_to_sa()
87 memset(sa, '\0', sizeof(*in6)); in addr_xaddr_to_sa()
88 *len = sizeof(*in6); in addr_xaddr_to_sa()
90 in6->sin6_len = sizeof(*in6); in addr_xaddr_to_sa()
92 in6->sin6_family = AF_INET6; in addr_xaddr_to_sa()
93 in6->sin6_port = htons(port); in addr_xaddr_to_sa()
94 memcpy(&in6->sin6_addr, &xa->v6, sizeof(in6->sin6_addr)); in addr_xaddr_to_sa()
96 in6->sin6_scope_id = xa->scope_id; in addr_xaddr_to_sa()
113 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in addr_sa_to_xaddr() local
[all …]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_tftp_pxy.c329 swip6.in6 = ip6->ip6_src; in ipf_p_tftp_backchannel()
330 sw2ip6.in6 = ip6->ip6_dst; in ipf_p_tftp_backchannel()
331 ip6->ip6_src = nat->nat_ndst6.in6; in ipf_p_tftp_backchannel()
332 ip6->ip6_dst = nat->nat_nsrc6.in6; in ipf_p_tftp_backchannel()
365 ip6->ip6_src = nat->nat_ndst6.in6; in ipf_p_tftp_backchannel()
366 ip6->ip6_dst = nat->nat_nsrc6.in6; in ipf_p_tftp_backchannel()
377 ip6->ip6_src = nat->nat_odst6.in6; in ipf_p_tftp_backchannel()
378 ip6->ip6_dst = nat->nat_osrc6.in6; in ipf_p_tftp_backchannel()
393 ip6->ip6_src = swip6.in6; in ipf_p_tftp_backchannel()
394 ip6->ip6_dst = sw2ip6.in6; in ipf_p_tftp_backchannel()
/freebsd/usr.sbin/ctld/
H A Disns.c154 struct sockaddr_in6 *in6; in isns_req_add_addr() local
167 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr; in isns_req_add_addr()
168 isns_req_add(req, tag, sizeof(in6->sin6_addr), &in6->sin6_addr); in isns_req_add_addr()
180 struct sockaddr_in6 *in6; in isns_req_add_port() local
190 in6 = (struct sockaddr_in6 *)(void *)ai->ai_addr; in isns_req_add_port()
191 be32enc(&buf, ntohs(in6->sin6_port)); in isns_req_add_port()
/freebsd/sbin/ifconfig/
H A Difpfsync.c105 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in pfsync_sockaddr_to_syncpeer_nvlist() local
106 nvlist_add_number(nvl, "af", in6->sin6_family); in pfsync_sockaddr_to_syncpeer_nvlist()
107 nvlist_add_binary(nvl, "address", in6, sizeof(*in6)); in pfsync_sockaddr_to_syncpeer_nvlist()
153 struct sockaddr_in6 *in6 = (struct sockaddr_in6 *)sa; in pfsync_syncpeer_nvlist_to_sockaddr() local
156 if (len != sizeof(*in6)) in pfsync_syncpeer_nvlist_to_sockaddr()
159 memcpy(in6, addr, sizeof(*in6)); in pfsync_syncpeer_nvlist_to_sockaddr()
H A Difvxlan.c247 cmd.vxlcmd_sa.in6 = *sin6; in setvxlan_local()
263 params.vxlp_local_sa.in6 = cmd.vxlcmd_sa.in6; in setvxlan_local()
311 cmd.vxlcmd_sa.in6 = *sin6; in setvxlan_remote()
327 params.vxlp_remote_sa.in6 = cmd.vxlcmd_sa.in6; in setvxlan_remote()
375 cmd.vxlcmd_sa.in6 = *sin6; in setvxlan_group()
391 params.vxlp_remote_sa.in6 = cmd.vxlcmd_sa.in6; in setvxlan_group()
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dadc128d818.txt6 - Mode 0: 7 single-ended voltage readings (IN0-IN6),
11 (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6),
15 (IN4-IN5, IN7-IN6),
H A Dti,adc128d818.yaml31 Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature
35 (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal).
37 voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal).
/freebsd/sys/net/
H A Dif_vxlan.c882 addr = &sa->in6.sin6_addr; in vxlan_ftable_entry_dump()
1068 laddr.in6.sin6_addr = in6addr_any; in vxlan_socket_create()
1128 laddr.in6.sin6_addr = in6addr_any; in vxlan_socket_mc_lookup()
1197 mreq.ipv6mr_multiaddr = group->in6.sin6_addr; in vxlan_socket_mc_join_group()
1246 mreq.ipv6mr_multiaddr = group->in6.sin6_addr; in vxlan_socket_mc_leave_group()
1609 MPASS(sc->vxl_src_addr.in6.sin6_port != 0); in vxlan_setup_zero_checksum_port()
1610 MPASS(sc->vxl_dst_addr.in6.sin6_port != 0); in vxlan_setup_zero_checksum_port()
1612 if (sc->vxl_src_addr.in6.sin6_port != sc->vxl_dst_addr.in6.sin6_port) { in vxlan_setup_zero_checksum_port()
1615 ntohs(sc->vxl_src_addr.in6 in vxlan_setup_zero_checksum_port()
3140 struct sockaddr_in6 in6 = sc->vxl_src_addr.in6; vxlan_set_hwcaps() local
3386 const struct in6_addr *in6 = &satoconstsin6(sa)->sin6_addr; vxlan_sockaddr_in_equal() local
3407 const struct in6_addr *in6 = &satoconstsin6(sa)->sin6_addr; vxlan_sockaddr_in_copy() local
3450 const struct in6_addr *in6 = &satoconstsin6(sa)->sin6_addr; vxlan_sockaddr_in_any() local
3470 const struct in6_addr *in6 = &satoconstsin6(sa)->sin6_addr; vxlan_sockaddr_in_multicast() local
[all...]
/freebsd/sbin/ipf/libipf/
H A Dparsewhoisline.c51 if (inet_pton(AF_INET6, s, &a61.in6) != 1) in parsewhoisline()
82 if (IP6_MASKNEQ(&addrp->adf_addr.in6, &maskp->adf_addr.in6, in parsewhoisline()
83 &addrp->adf_addr.in6)) { in parsewhoisline()
/freebsd/sys/netinet/
H A Dip_carp.c395 struct in6_addr last6, cur6, in6; in carp_hmac_prepare() local
439 in6 = ifatoia6(ifa)->ia_addr.sin6_addr; in carp_hmac_prepare()
440 if (IN6_IS_SCOPE_EMBED(&in6)) in carp_hmac_prepare()
441 in6.s6_addr16[1] = 0; in carp_hmac_prepare()
443 memcmp(&in6, &last6, sizeof(in6)) > 0 && in carp_hmac_prepare()
444 memcmp(&in6, &cur6, sizeof(in6)) < 0) { in carp_hmac_prepare()
445 cur6 = in6; in carp_hmac_prepare()
754 struct in6_addr in6; in carp_source_is_self() local
767 in6 = ifatoia6(ifa)->ia_addr.sin6_addr; in carp_source_is_self()
768 return (memcmp(&in6, &ip6->ip6_src, sizeof(in6)) == 0); in carp_source_is_self()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/win32/
H A Dinterfaceiter.c436 octets = sizeof(iter->current.netmask.type.in6); in GAA_find_prefix()
444 memset(&iter->current.netmask.type.in6, 0xFF, nbytes); in GAA_find_prefix()
445 pbits = (void *)&iter->current.netmask.type.in6; in GAA_find_prefix()
622 memcpy(&iter->current.address.type.in6, &iter->loop__1, in internal_current6()
623 sizeof(iter->current.address.type.in6)); in internal_current6()
632 if (!memcmp(&iter->current.address.type.in6, &iter->loop__1, in internal_current6()
633 sizeof(iter->current.address.type.in6)) || in internal_current6()
634 !memcmp(&iter->current.address.type.in6, &iter->loopfe80__1, in internal_current6()
635 sizeof(iter->current.address.type.in6))) { in internal_current6()
649 memset(iter->current.netmask.type.in6.s6_addr, 0xff, in internal_current6()
[all …]

12345678