| /f-stack/tools/compat/include/netinet6/ |
| H A D | in6_pcb.h | 81 in6_pcbgroup_bytuple(struct inpcbinfo *, const struct in6_addr *, 82 u_short, const struct in6_addr *, u_short); 93 struct in6_addr *, u_short, int, 97 struct in6_addr *faddr, u_int fport_arg, struct in6_addr *laddr, 100 in6_pcblookup(struct inpcbinfo *, struct in6_addr *, 101 u_int, struct in6_addr *, u_int, int, 104 in6_pcblookup_mbuf(struct inpcbinfo *, struct in6_addr *, 105 u_int, struct in6_addr *, u_int, int, 113 in6_sockaddr(in_port_t port, struct in6_addr *addr_p); 121 int in6_pcbsetport(struct in6_addr *, struct inpcb *, struct ucred *);
|
| H A D | in6.h | 97 struct in6_addr { struct 130 struct in6_addr sin6_addr; /* IP6 address */ 152 extern const struct in6_addr in6mask0; 153 extern const struct in6_addr in6mask32; 154 extern const struct in6_addr in6mask64; 155 extern const struct in6_addr in6mask96; 156 extern const struct in6_addr in6mask128; 211 extern const struct in6_addr in6addr_any; 546 struct in6_addr ipv6mr_multiaddr; 675 int in6_localaddr(struct in6_addr *); [all …]
|
| H A D | nd6.h | 112 struct in6_addr addr; /* IPv6 address of the neighbor */ 198 struct in6_addr rtaddr; 225 struct in6_addr ndpr_mask; /* netmask derived from the prefix */ 377 void nd6_cache_lladdr(struct ifnet *, struct in6_addr *, 395 void nd6_na_output(struct ifnet *, const struct in6_addr *, 396 const struct in6_addr *, u_long, int, struct sockaddr *); 398 void nd6_ns_output(struct ifnet *, const struct in6_addr *, 399 const struct in6_addr *, const struct in6_addr *, uint8_t *); 410 struct nd_defrouter *defrouter_lookup_locked(const struct in6_addr *, 415 bool defrouter_remove(struct in6_addr *, struct ifnet *); [all …]
|
| H A D | in6_var.h | 527 in6_addrhash(const struct in6_addr *in6) in in6_addrhash() 563 struct in6_addr im6s_addr; 579 struct in6_addr im6s_addr; /* Common field */ 690 struct in6_addr in6m_addr; /* IPv6 multicast address */ 813 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup() 865 int in6_joingroup(struct ifnet *, const struct in6_addr *, 882 int in6_mask2len(struct in6_addr *, u_char *); 888 const struct in6_addr *); 905 int in6_matchlen(struct in6_addr *, struct in6_addr *); 906 int in6_are_prefix_equal(struct in6_addr *, struct in6_addr *, int); [all …]
|
| H A D | ip_fw_nat64.h | 104 struct in6_addr prefix6; /* NAT64 prefix */ 113 struct in6_addr plat_prefix; /* NAT64 (PLAT) prefix */ 114 struct in6_addr clat_prefix; /* Client (CLAT) prefix */ 146 struct in6_addr prefix6; /* NAT64 prefix */ 179 struct in6_addr host6; /* Bound IPv6 host */ 185 struct in6_addr host6; /* Bound IPv6 host */
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_pcb.h | 81 in6_pcbgroup_bytuple(struct inpcbinfo *, const struct in6_addr *, 82 u_short, const struct in6_addr *, u_short); 93 struct in6_addr *, u_short, int, 97 struct in6_addr *faddr, u_int fport_arg, struct in6_addr *laddr, 100 in6_pcblookup(struct inpcbinfo *, struct in6_addr *, 101 u_int, struct in6_addr *, u_int, int, 104 in6_pcblookup_mbuf(struct inpcbinfo *, struct in6_addr *, 105 u_int, struct in6_addr *, u_int, int, 113 in6_sockaddr(in_port_t port, struct in6_addr *addr_p); 121 int in6_pcbsetport(struct in6_addr *, struct inpcb *, struct ucred *);
|
| H A D | scope6_var.h | 56 u_int32_t scope6_addr2default(struct in6_addr *); 61 int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *); 62 int in6_clearscope(struct in6_addr *); 63 uint16_t in6_getscope(const struct in6_addr *); 65 void in6_splitscope(const struct in6_addr *, struct in6_addr *, uint32_t *); 67 uint32_t in6_get_unicast_scopeid(const struct in6_addr *, const struct ifnet *); 68 void in6_set_unicast_scopeid(struct in6_addr *, uint32_t);
|
| H A D | in6_rss.h | 40 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, 57 uint32_t xps_proto_software_hash_v6(const struct in6_addr *s, 58 const struct in6_addr *d, u_short sp, u_short dp,
|
| H A D | in6.h | 97 struct in6_addr { struct 130 struct in6_addr sin6_addr; /* IP6 address */ 152 extern const struct in6_addr in6mask0; 153 extern const struct in6_addr in6mask32; 154 extern const struct in6_addr in6mask64; 155 extern const struct in6_addr in6mask96; 156 extern const struct in6_addr in6mask128; 211 extern const struct in6_addr in6addr_any; 546 struct in6_addr ipv6mr_multiaddr; 675 int in6_localaddr(struct in6_addr *); [all …]
|
| H A D | in6_fib.h | 39 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags, 41 int fib6_check_urpf(uint32_t fibnum, const struct in6_addr *dst6, 43 struct rtentry *fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6, 46 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags); 48 const struct in6_addr *dst6, uint32_t scopeid); 49 uint32_t fib6_calc_software_hash(const struct in6_addr *src, 50 const struct in6_addr *dst, unsigned short src_port, unsigned short dst_port,
|
| H A D | in6_jail.c | 71 const struct in6_addr *ia6a, *ia6b; in prison_qcmp_v6() 74 ia6a = (const struct in6_addr *)ip1; in prison_qcmp_v6() 75 ia6b = (const struct in6_addr *)ip2; in prison_qcmp_v6() 78 for (i = 0; rc == 0 && i < sizeof(struct in6_addr); i++) { in prison_qcmp_v6() 178 prison_get_ip6(struct ucred *cred, struct in6_addr *ia6) in prison_get_ip6() 198 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_get_ip6() 214 struct in6_addr lia6; in prison_saddrsel_ip6() 234 bcopy(&lia6, ia6, sizeof(struct in6_addr)); in prison_saddrsel_ip6() 301 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() 308 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() [all …]
|
| H A D | nd6.h | 112 struct in6_addr addr; /* IPv6 address of the neighbor */ 198 struct in6_addr rtaddr; 225 struct in6_addr ndpr_mask; /* netmask derived from the prefix */ 377 void nd6_cache_lladdr(struct ifnet *, struct in6_addr *, 395 void nd6_na_output(struct ifnet *, const struct in6_addr *, 396 const struct in6_addr *, u_long, int, struct sockaddr *); 398 void nd6_ns_output(struct ifnet *, const struct in6_addr *, 399 const struct in6_addr *, const struct in6_addr *, uint8_t *); 410 struct nd_defrouter *defrouter_lookup_locked(const struct in6_addr *, 415 bool defrouter_remove(struct in6_addr *, struct ifnet *); [all …]
|
| H A D | in6_fib.c | 79 struct in6_addr src; 80 struct in6_addr dst; 90 fib6_calc_software_hash(const struct in6_addr *src, const struct in6_addr *dst, in fib6_calc_software_hash() 121 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup() 143 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup() 223 lookup_nhop(uint32_t fibnum, const struct in6_addr *dst6, in lookup_nhop() 267 fib6_check_urpf(uint32_t fibnum, const struct in6_addr *dst6, in fib6_check_urpf() 294 fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup_rt() 332 fib6_lookup_debugnet(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup_debugnet()
|
| H A D | in6_var.h | 527 in6_addrhash(const struct in6_addr *in6) in in6_addrhash() 563 struct in6_addr im6s_addr; 579 struct in6_addr im6s_addr; /* Common field */ 690 struct in6_addr in6m_addr; /* IPv6 multicast address */ 813 in6m_lookup(struct ifnet *ifp, const struct in6_addr *mcaddr) in in6m_lookup() 865 int in6_joingroup(struct ifnet *, const struct in6_addr *, 882 int in6_mask2len(struct in6_addr *, u_char *); 888 const struct in6_addr *); 905 int in6_matchlen(struct in6_addr *, struct in6_addr *); 906 int in6_are_prefix_equal(struct in6_addr *, struct in6_addr *, int); [all …]
|
| H A D | in6_ifattach.h | 45 int in6_get_hw_ifid(struct ifnet *, struct in6_addr *); 46 int in6_nigroup(struct ifnet *, const char *, int, struct in6_addr *); 47 int in6_nigroup_oldmcprefix(struct ifnet *, const char *, int, struct in6_addr *);
|
| H A D | ip_fw_nat64.h | 104 struct in6_addr prefix6; /* NAT64 prefix */ 113 struct in6_addr plat_prefix; /* NAT64 (PLAT) prefix */ 114 struct in6_addr clat_prefix; /* Client (CLAT) prefix */ 146 struct in6_addr prefix6; /* NAT64 prefix */ 179 struct in6_addr host6; /* Bound IPv6 host */ 185 struct in6_addr host6; /* Bound IPv6 host */
|
| H A D | in6_rss.c | 70 rss_hash_ip6_2tuple(const struct in6_addr *src, const struct in6_addr *dst) in rss_hash_ip6_2tuple() 87 rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport, in rss_hash_ip6_4tuple() 88 const struct in6_addr *dst, u_short dstport) in rss_hash_ip6_4tuple() 120 rss_proto_software_hash_v6(const struct in6_addr *s, const struct in6_addr *d, in rss_proto_software_hash_v6() 167 xps_proto_software_hash_v6(const struct in6_addr *s, const struct in6_addr *d, in xps_proto_software_hash_v6()
|
| H A D | scope6.c | 229 in6_addrscope(const struct in6_addr *addr) in in6_addrscope() 288 scope6_addr2default(struct in6_addr *addr) in scope6_addr2default() 393 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope() 442 in6_clearscope(struct in6_addr *in6) in in6_clearscope() 459 in6_getscope(const struct in6_addr *in6) in in6_getscope() 475 in6_get_unicast_scopeid(const struct in6_addr *in6, const struct ifnet *ifp) in in6_get_unicast_scopeid() 484 in6_set_unicast_scopeid(struct in6_addr *in6, uint32_t scopeid) in in6_set_unicast_scopeid() 521 in6_splitscope(const struct in6_addr *src, struct in6_addr *dst, in in6_splitscope()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.h | 99 struct in6_addr clat_prefix; 100 struct in6_addr plat_prefix; 112 nat64_check_ip6(struct in6_addr *addr) in nat64_check_ip6() 141 int nat64_check_prefix6(const struct in6_addr *prefix, int length); 143 int nat64_do_handle_ip4(struct mbuf *m, struct in6_addr *saddr, 144 struct in6_addr *daddr, uint16_t lport, struct nat64_config *cfg, 150 void nat64_embed_ip4(struct in6_addr *ip6, int plen, in_addr_t ia); 151 in_addr_t nat64_extract_ip4(const struct in6_addr *ip6, int plen);
|
| /f-stack/freebsd/sys/ |
| H A D | jail.h | 52 struct in6_addr *ip6; 86 struct in6_addr pr_ip6[]; 178 struct in6_addr *pr_ip6; /* (p) v6 IPs of jail */ 425 int prison_get_ip6(struct ucred *, struct in6_addr *); 426 int prison_local_ip6(struct ucred *, struct in6_addr *, int); 427 int prison_remote_ip6(struct ucred *, struct in6_addr *); 428 int prison_check_ip6(const struct ucred *, const struct in6_addr *); 429 int prison_check_ip6_locked(const struct prison *, const struct in6_addr *); 430 int prison_saddrsel_ip6(struct ucred *, struct in6_addr *); 431 int prison_restrict_ip6(struct prison *, struct in6_addr *);
|
| /f-stack/freebsd/netpfil/ipfw/nptv6/ |
| H A D | nptv6.h | 48 struct in6_addr internal; /* Internal IPv6 prefix */ 49 struct in6_addr external; /* External IPv6 prefix */ 50 struct in6_addr mask; /* IPv6 prefix mask */
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | ip_carp.h | 151 struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); 152 char * carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); 176 extern struct ifaddr *(*carp_iamatch6_p)(struct ifnet *, struct in6_addr *); 178 const struct in6_addr *);
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_carp.h | 151 struct ifaddr *carp_iamatch6(struct ifnet *, struct in6_addr *); 152 char * carp_macmatch6(struct ifnet *, struct mbuf *, const struct in6_addr *); 176 extern struct ifaddr *(*carp_iamatch6_p)(struct ifnet *, struct in6_addr *); 178 const struct in6_addr *);
|
| /f-stack/tools/netstat/ |
| H A D | netstat.h | 121 struct in6_addr; 123 char *inet6name(struct in6_addr *); 134 struct in6_addr; 136 void inet6print(const char *, struct in6_addr *, int, const char *, int);
|
| /f-stack/tools/ipfw/ |
| H A D | ipv6.c | 96 const struct in6_addr *a = &(cmd->addr6); in print_ip6() 309 lookup_host6 (char *host, struct in6_addr *ip6addr) in lookup_host6() 318 memcpy(ip6addr, he->h_addr_list[0], sizeof( struct in6_addr)); in lookup_host6() 344 struct in6_addr *d = &(cmd->addr6); in fill_ip6() 379 1 + len + 2 * (int)F_INSN_SIZE(struct in6_addr)); in fill_ip6() 433 len = F_INSN_SIZE(struct in6_addr); in fill_ip6() 438 len += F_INSN_SIZE(struct in6_addr)*2; in fill_ip6() 503 (F_INSN_SIZE(struct in6_addr) + F_INSN_SIZE(ipfw_insn))) { in add_srcip6() 525 (F_INSN_SIZE(struct in6_addr) + F_INSN_SIZE(ipfw_insn))) { in add_dstip6()
|