Searched refs:icmp6_hdr (Results 1 – 15 of 15) sorted by relevance
| /xnu-8020.101.4/bsd/netinet6/ |
| H A D | mld6.h | 66 #define MLD_MINLEN sizeof(struct icmp6_hdr) 74 struct icmp6_hdr mld_icmp6_hdr; /* ICMPv6 header */ 95 struct icmp6_hdr mld_icmp6_hdr;
|
| H A D | icmp6.c | 267 struct icmp6_hdr *icmp6; in icmp6_error_flag() 339 struct icmp6_hdr *icp; in icmp6_error_flag() 342 IP6_EXTHDR_CHECK(m, 0, off + sizeof(struct icmp6_hdr), return ); in icmp6_error_flag() 343 icp = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_error_flag() 345 IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off, in icmp6_error_flag() 385 preplen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr); in icmp6_error_flag() 402 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error_flag() 440 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input() 448 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_hdr), return IPPROTO_DONE); in icmp6_input() 460 if (icmp6len < sizeof(struct icmp6_hdr)) { in icmp6_input() [all …]
|
| H A D | ip6protosw.h | 115 struct icmp6_hdr; 139 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
|
| H A D | raw_ip6.c | 514 struct icmp6_hdr *icmp6; in rip6_output() 515 if (m->m_len < sizeof(struct icmp6_hdr) && in rip6_output() 516 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { in rip6_output() 520 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output() 683 off = offsetof(struct icmp6_hdr, icmp6_cksum); in rip6_output()
|
| H A D | mld6_var.h | 175 sizeof(struct icmp6_hdr))
|
| H A D | udp6_usrreq.c | 661 struct icmp6_hdr *icmp6 = NULL; in udp6_ctlinput()
|
| H A D | ip6_input.c | 364 sizeof(struct icmp6_hdr)) <= _MHLEN); in ip6_init()
|
| H A D | ip6_output.c | 3054 const int icmp6off = offsetof(struct icmp6_hdr, icmp6_cksum); in ip6_raw_ctloutput()
|
| /xnu-8020.101.4/bsd/netinet/ |
| H A D | icmp6.h | 107 struct icmp6_hdr { struct 215 struct icmp6_hdr mld_icmp6_hdr; 248 struct icmp6_hdr nd_rs_hdr; 258 struct icmp6_hdr nd_ra_hdr; 284 struct icmp6_hdr nd_ns_hdr; 295 struct icmp6_hdr nd_na_hdr; 317 struct icmp6_hdr nd_rd_hdr; 436 struct icmp6_hdr icmp6_nl_hdr; 450 struct icmp6_hdr icmp6_ni_hdr; 522 struct icmp6_hdr rr_hdr;
|
| H A D | tcp_subr.c | 2522 struct icmp6_hdr *icmp6; in tcp6_ctlinput()
|
| /xnu-8020.101.4/bsd/net/ |
| H A D | nat464_utils.c | 259 struct icmp6_hdr *icmp6; in nat464_translate_icmp() 926 struct icmp6_hdr *icmp6h = NULL; in nat464_translate_proto() 941 icmp6h = (struct icmp6_hdr *)(uintptr_t)icmph; in nat464_translate_proto() 942 pbuf_copy_back(pbuf, hlen, sizeof(struct icmp6_hdr), in nat464_translate_proto() 995 struct icmp6_hdr *icmp6h = NULL; in nat464_translate_proto() 999 icmp6h = (struct icmp6_hdr*) pbuf_contig_segment(pbuf, hlen, in nat464_translate_proto()
|
| H A D | pf.c | 4493 struct icmp6_hdr *icmp6; in pf_translate_icmp_af() 4771 struct icmp6_hdr *icmp6; in pf_nat64_ipv4() 4774 icmp6 = (struct icmp6_hdr *)pbuf_contig_segment(pbuf, hlen, in pf_nat64_ipv4() 7795 off + sizeof(struct icmp6_hdr)) == in pf_test_state_icmp() 7800 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 7855 off + sizeof(struct icmp6_hdr)) == in pf_test_state_icmp() 7860 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 7923 ipoff2 = off + sizeof(struct icmp6_hdr); in pf_test_state_icmp() 8085 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 8170 sizeof(struct icmp6_hdr), in pf_test_state_icmp() [all …]
|
| H A D | pfvar.h | 1419 struct icmp6_hdr *icmp6;
|
| H A D | if_bridge.c | 8221 struct icmp6_hdr *icmp6; 8235 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6h + off); 8691 #define CKSUM_OFFSET_ICMP6 offsetof(struct icmp6_hdr, icmp6_cksum)
|
| /xnu-8020.101.4/tests/ |
| H A D | net_bridge.c | 902 const struct icmp6_hdr *icmp6; in ip6_frame_validate() 908 icmp6 = (const struct icmp6_hdr *)(ip6 + 1); in ip6_frame_validate() 1329 sizeof(struct icmp6_hdr))) 1352 struct icmp6_hdr * icmp6; in ethernet_nd6_frame_populate() 1371 icmp6 = (struct icmp6_hdr *)(void *)(ip6 + 1); in ethernet_nd6_frame_populate() 2704 const struct icmp6_hdr * icmp6, in validate_mac_nat_nd6() 2748 validate_mac_nat_icmp6_out(switch_port_t port, const struct icmp6_hdr * icmp6, in validate_mac_nat_icmp6_out() 2780 const struct icmp6_hdr * icmp6; in validate_mac_nat_nd6_out() 2791 icmp6 = (const struct icmp6_hdr *)(const void *)(ip6 + 1); in validate_mac_nat_nd6_out()
|