Home
last modified time | relevance | path

Searched refs:in6_addr (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
HDtst.inet_ntoa6.d31 struct in6_addr *ip6a;
32 struct in6_addr *ip6b;
33 struct in6_addr *ip6c;
34 struct in6_addr *ip6d;
35 struct in6_addr *ip6e;
36 struct in6_addr *ip6f;
37 struct in6_addr *ip6g;
41 this->buf6a = alloca(sizeof (struct in6_addr));
42 this->buf6b = alloca(sizeof (struct in6_addr));
43 this->buf6c = alloca(sizeof (struct in6_addr));
[all …]
HDtst.inet_ntop.d35 struct in6_addr *ip6a;
36 struct in6_addr *ip6b;
37 struct in6_addr *ip6c;
38 struct in6_addr *ip6d;
39 struct in6_addr *ip6e;
40 struct in6_addr *ip6f;
41 struct in6_addr *ip6g;
42 struct in6_addr *ip6h;
50 this->buf6a = alloca(sizeof (struct in6_addr));
51 this->buf6b = alloca(sizeof (struct in6_addr));
[all …]
/freebsd-11-stable/sys/netinet6/
HDin6.h95 struct in6_addr { struct
128 struct in6_addr sin6_addr; /* IP6 address */
150 extern const struct in6_addr in6mask0;
151 extern const struct in6_addr in6mask32;
152 extern const struct in6_addr in6mask64;
153 extern const struct in6_addr in6mask96;
154 extern const struct in6_addr in6mask128;
209 extern const struct in6_addr in6addr_any;
210 extern const struct in6_addr in6addr_loopback;
212 extern const struct in6_addr in6addr_nodelocal_allnodes;
[all …]
HDin6_pcb.h79 in6_pcbgroup_bytuple(struct inpcbinfo *, const struct in6_addr *,
80 u_short, const struct in6_addr *, u_short);
91 struct in6_addr *, u_short, int,
94 in6_pcblookup(struct inpcbinfo *, struct in6_addr *,
95 u_int, struct in6_addr *, u_int, int,
98 in6_pcblookup_mbuf(struct inpcbinfo *, struct in6_addr *,
99 u_int, struct in6_addr *, u_int, int,
107 in6_sockaddr(in_port_t port, struct in6_addr *addr_p);
115 int in6_pcbsetport(struct in6_addr *, struct inpcb *, struct ucred *);
HDin6_jail.c72 const struct in6_addr *ia6a, *ia6b; in prison_qcmp_v6()
75 ia6a = (const struct in6_addr *)ip1; in prison_qcmp_v6()
76 ia6b = (const struct in6_addr *)ip2; in prison_qcmp_v6()
79 for (i = 0; rc == 0 && i < sizeof(struct in6_addr); i++) { in prison_qcmp_v6()
89 prison_restrict_ip6(struct prison *pr, struct in6_addr *newip6) in prison_restrict_ip6()
179 prison_get_ip6(struct ucred *cred, struct in6_addr *ia6) in prison_get_ip6()
199 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_get_ip6()
212 prison_saddrsel_ip6(struct ucred *cred, struct in6_addr *ia6) in prison_saddrsel_ip6()
215 struct in6_addr lia6; in prison_saddrsel_ip6()
235 bcopy(&lia6, ia6, sizeof(struct in6_addr)); in prison_saddrsel_ip6()
[all …]
HDnd6.h104 struct in6_addr addr; /* IPv6 address of the neighbor */
116 struct in6_addr rtaddr;
136 struct in6_addr prefix;
145 struct in6_addr advrtr[DRLSTSIZ]; /* XXX: explicit limit */
153 struct in6_addr prefix;
162 struct in6_addr advrtr[DRLSTSIZ]; /* XXX: explicit limit */
237 struct in6_addr rtaddr;
264 struct in6_addr ndpr_mask; /* netmask derived from the prefix */
295 struct in6_addr inpm_prefix;
434 struct llentry *nd6_lookup(const struct in6_addr *, int, struct ifnet *);
[all …]
HDin6_rss.h40 uint32_t rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport,
41 const struct in6_addr *dst, u_short dstport);
42 uint32_t rss_hash_ip6_2tuple(const struct in6_addr *src,
43 const struct in6_addr *dst);
51 int rss_proto_software_hash_v6(const struct in6_addr *src,
52 const struct in6_addr *dst, u_short src_port,
HDscope6_var.h57 u_int32_t scope6_addr2default(struct in6_addr *);
62 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *);
63 int in6_clearscope(struct in6_addr *);
64 uint16_t in6_getscope(struct in6_addr *);
66 void in6_splitscope(const struct in6_addr *, struct in6_addr *, uint32_t *);
HDin6_var.h520 in6_addrhash(const struct in6_addr *in6) in in6_addrhash()
556 struct in6_addr im6s_addr;
572 struct in6_addr im6s_addr; /* Common field */
587 return (memcmp(&a->im6s_addr, &b->im6s_addr, sizeof(struct in6_addr))); in ip6_msource_cmp()
632 struct in6_addr in6m_addr; /* IPv6 multicast address */
709 in6m_lookup_locked(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup_locked()
735 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup()
763 int in6_mc_join(struct ifnet *, const struct in6_addr *,
765 int in6_mc_join_locked(struct ifnet *, const struct in6_addr *,
772 int in6m_record_source(struct in6_multi *, const struct in6_addr *);
[all …]
HDin6_fib.h41 struct in6_addr nh_addr; /* GW/DST IPv4 address */
50 struct in6_addr nh_addr; /* GW/DST IPv6 address */
54 int fib6_lookup_nh_basic(uint32_t fibnum, const struct in6_addr *dst,
56 int fib6_lookup_nh_ext(uint32_t fibnum, const struct in6_addr *dst,
HDnd6_nbr.c95 static void nd6_na_output_fib(struct ifnet *, const struct in6_addr *,
96 const struct in6_addr *, u_long, int, struct sockaddr *, u_int);
97 static void nd6_ns_output_fib(struct ifnet *, const struct in6_addr *,
98 const struct in6_addr *, const struct in6_addr *, uint8_t *, u_int);
124 struct in6_addr saddr6 = ip6->ip6_src; in nd6_ns_input()
125 struct in6_addr daddr6 = ip6->ip6_dst; in nd6_ns_input()
126 struct in6_addr taddr6; in nd6_ns_input()
127 struct in6_addr myaddr6; in nd6_ns_input()
348 struct in6_addr in6_all; in nd6_ns_input()
400 nd6_ns_output_fib(struct ifnet *ifp, const struct in6_addr *saddr6, in nd6_ns_output_fib()
[all …]
HDip_fw_nat64.h104 struct in6_addr prefix6; /* NAT64 prefix */
113 struct in6_addr plat_prefix; /* NAT64 (PLAT) prefix */
114 struct in6_addr clat_prefix; /* Client (CLAT) prefix */
144 struct in6_addr prefix6; /* NAT64 prefix */
175 struct in6_addr host6; /* Bound IPv6 host */
HDicmp6.c138 static int icmp6_ratelimit(const struct in6_addr *, const int, const int);
139 static const char *icmp6_redirect_diag(struct in6_addr *,
140 struct in6_addr *, struct in6_addr *);
145 struct ifnet **, struct in6_addr *);
997 icmp6dst.sin6_addr = *((struct in6_addr *)(rth0 + 1) + (hops - 1)); in icmp6_notify_error()
1109 struct in6_addr *dst = ip6cp->ip6c_finaldst; in icmp6_mtudisc_update()
1182 struct in6_addr in6_subj; /* subject address */ in ni6_input()
1277 if (subjlen != sizeof(struct in6_addr)) in ni6_input()
1377 addrs = ni6_addrs(ni6, m, &ifp, (struct in6_addr *)subj); in ni6_input()
1378 if ((replylen += addrs * (sizeof(struct in6_addr) + in ni6_input()
[all …]
/freebsd-11-stable/lib/libc/net/
HDrthdr.c56 return (CMSG_SPACE(sizeof(struct in6_addr) * (seg - 1) + in inet6_rthdr_space()
59 return (CMSG_SPACE(sizeof(struct in6_addr) * seg + in inet6_rthdr_space()
82 sizeof(struct in6_addr)); in inet6_rthdr_init()
97 inet6_rthdr_add(struct cmsghdr *cmsg, const struct in6_addr *addr, u_int flags) in inet6_rthdr_add()
125 sizeof(struct in6_addr)); in inet6_rthdr_add()
126 rt0->ip6r0_len += sizeof(struct in6_addr) >> 3; in inet6_rthdr_add()
199 return (rt0->ip6r0_len * 8) / sizeof(struct in6_addr); in inet6_rthdr_segments()
207 struct in6_addr *
222 naddr = (rt0->ip6r0_len * 8) / sizeof(struct in6_addr); in inet6_rthdr_getaddr()
226 return (((struct in6_addr *)(rt0 + 1)) + idx - 1); in inet6_rthdr_getaddr()
[all …]
HDvars.c41 const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
42 const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
43 const struct in6_addr in6addr_nodelocal_allnodes = IN6ADDR_NODELOCAL_ALLNODES_INIT;
44 const struct in6_addr in6addr_linklocal_allnodes = IN6ADDR_LINKLOCAL_ALLNODES_INIT;
/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/
HDipv6.h44 memcpy((dst), (src), sizeof(struct in6_addr))
47 ipv6_ib_mc_map(const struct in6_addr *addr, const unsigned char *broadcast, in ipv6_ib_mc_map()
85 static inline void ipv6_addr_set(struct in6_addr *addr, in ipv6_addr_set()
94 struct in6_addr *v4mapped) in ipv6_addr_set_v4mapped()
102 static inline int ipv6_addr_v4mapped(const struct in6_addr *a) in ipv6_addr_v4mapped()
108 static inline int ipv6_addr_cmp(const struct in6_addr *a1, const struct in6_addr *a2) in ipv6_addr_cmp()
110 return memcmp(a1, a2, sizeof(struct in6_addr)); in ipv6_addr_cmp()
/freebsd-11-stable/contrib/ntp/include/
HDntp_request.h120 struct in6_addr addr6;
344 struct in6_addr addr6; /* v6 address of peer */
366 struct in6_addr dstadr6; /* local address (v6) */
367 struct in6_addr srcadr6; /* source address (v6) */
421 struct in6_addr dstadr6; /* local address (v6-like) */
422 struct in6_addr srcadr6; /* sources address (v6-like) */
456 struct in6_addr dstadr6; /* local address */
457 struct in6_addr srcadr6; /* remote address */
497 struct in6_addr peer6; /* system peer address (v6) */
610 struct in6_addr peeraddr6; /* ipv6 address to poll */
[all …]
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
HDnat64_translate.h99 struct in6_addr clat_prefix;
100 struct in6_addr plat_prefix;
112 nat64_check_ip6(struct in6_addr *addr) in nat64_check_ip6()
146 int nat64_check_prefix6(const struct in6_addr *prefix, int length);
148 int nat64_do_handle_ip4(struct mbuf *m, struct in6_addr *saddr,
149 struct in6_addr *daddr, uint16_t lport, struct nat64_config *cfg,
155 void nat64_embed_ip4(struct in6_addr *ip6, int plen, in_addr_t ia);
156 in_addr_t nat64_extract_ip4(const struct in6_addr *ip6, int plen);
/freebsd-11-stable/contrib/tcpdump/
HDprint-pgm.c236 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
238 bp += sizeof(struct in6_addr); in pgm_print()
279 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
281 bp += sizeof(struct in6_addr); in pgm_print()
350 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
352 bp += sizeof(struct in6_addr); in pgm_print()
372 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
374 bp += sizeof(struct in6_addr); in pgm_print()
597 if (opt_len != PGM_OPT_REDIRECT_FIXED_LEN + sizeof(struct in6_addr)) { in pgm_print()
602 ND_TCHECK2(*bp, sizeof(struct in6_addr)); in pgm_print()
[all …]
HDprint-ip6.c47 ip6_finddst(netdissect_options *ndo, struct in6_addr *dst, in ip6_finddst()
53 const struct in6_addr *dst_addr; in ip6_finddst()
56 const struct in6_addr *addr; in ip6_finddst()
156 UNALIGNED_MEMCPY(dst, dst_addr, sizeof(struct in6_addr)); in ip6_finddst()
168 struct in6_addr ph_src; in nextproto6_cksum()
169 struct in6_addr ph_dst; in nextproto6_cksum()
178 UNALIGNED_MEMCPY(&ph.ph_src, &ip6->ip6_src, sizeof (struct in6_addr)); in nextproto6_cksum()
196 UNALIGNED_MEMCPY(&ph.ph_dst, &ip6->ip6_dst, sizeof (struct in6_addr)); in nextproto6_cksum()
/freebsd-11-stable/sys/ofed/include/rdma/
HDib_addr.h181 (struct in6_addr *)gid); in rdma_ip2gid()
186 if (IN6_IS_SCOPE_LINKLOCAL((struct in6_addr *)gid->raw) || in rdma_ip2gid()
187 IN6_IS_ADDR_MC_INTFACELOCAL((struct in6_addr *)gid->raw)) { in rdma_ip2gid()
201 if (ipv6_addr_v4mapped((const struct in6_addr *)gid)) { in rdma_gid2ip()
234 (struct in6_addr *)gid); in iboe_addr_get_sgid()
308 static inline int rdma_link_local_addr(struct in6_addr *addr) in rdma_link_local_addr()
317 static inline void rdma_get_ll_mac(struct in6_addr *addr, u8 *mac) in rdma_get_ll_mac()
324 static inline int rdma_is_multicast_addr(struct in6_addr *addr) in rdma_is_multicast_addr()
335 static inline void rdma_get_mcast_mac(struct in6_addr *addr, u8 *mac) in rdma_get_mcast_mac()
/freebsd-11-stable/sys/sys/
HDjail.h50 struct in6_addr *ip6;
84 struct in6_addr pr_ip6[];
171 struct in6_addr *pr_ip6; /* (p) v6 IPs of jail */
401 int prison_get_ip6(struct ucred *, struct in6_addr *);
402 int prison_local_ip6(struct ucred *, struct in6_addr *, int);
403 int prison_remote_ip6(struct ucred *, struct in6_addr *);
404 int prison_check_ip6(const struct ucred *, const struct in6_addr *);
405 int prison_check_ip6_locked(const struct prison *, const struct in6_addr *);
406 int prison_saddrsel_ip6(struct ucred *, struct in6_addr *);
407 int prison_restrict_ip6(struct prison *, struct in6_addr *);
/freebsd-11-stable/usr.sbin/rtadvd/
HDrtadvd.h125 struct in6_addr pfx_prefix;
134 struct in6_addr rti_prefix;
140 struct in6_addr ra_dns; /* DNS server entry */
292 int prefix_match(struct in6_addr *, int,
293 struct in6_addr *, int);
296 struct in6_addr *, int);
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
HDipv6.h63 struct in6_addr { struct
78 LIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_any; argument
79 LIBISC_EXTERNAL_DATA extern const struct in6_addr in6addr_loopback;
90 struct in6_addr sin6_addr;
/freebsd-11-stable/sys/dev/cxgbe/
HDt4_clip.c53 static int add_lip(struct adapter *, struct in6_addr *);
54 static int delete_lip(struct adapter *, struct in6_addr *);
55 static struct clip_entry *search_lip(struct adapter *, struct in6_addr *);
65 add_lip(struct adapter *sc, struct in6_addr *lip) in add_lip()
83 delete_lip(struct adapter *sc, struct in6_addr *lip) in delete_lip()
101 search_lip(struct adapter *sc, struct in6_addr *lip) in search_lip()
117 t4_hold_lip(struct adapter *sc, struct in6_addr *lip, struct clip_entry *ce) in t4_hold_lip()
191 struct in6_addr *lip, tlip; in update_clip_table()

12345678910>>...14