Searched refs:icmp6_hdr (Results 1 – 16 of 16) sorted by relevance
| /xnu-10063.101.15/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 | 284 struct icmp6_hdr *icmp6; in icmp6_error_flag() 361 struct icmp6_hdr *icp; in icmp6_error_flag() 364 IP6_EXTHDR_CHECK(m, 0, off + sizeof(struct icmp6_hdr), return ); in icmp6_error_flag() 365 icp = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_error_flag() 367 IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off, in icmp6_error_flag() 417 preplen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr); in icmp6_error_flag() 431 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error_flag() 469 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input() 477 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_hdr), return IPPROTO_DONE); in icmp6_input() 489 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 | 527 struct icmp6_hdr *icmp6; in rip6_output() 528 if (m->m_len < sizeof(struct icmp6_hdr) && in rip6_output() 529 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { in rip6_output() 533 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output() 697 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 | 675 struct icmp6_hdr *icmp6 = NULL; in udp6_ctlinput()
|
| H A D | mld6.c | 3689 struct icmp6_hdr *icmp6; in mld_dispatch_packet() 3744 icmp6 = (struct icmp6_hdr *)(mtod(md, uint8_t *) + off); in mld_dispatch_packet()
|
| H A D | ip6_input.c | 368 sizeof(struct icmp6_hdr)) <= _MHLEN); in ip6_init()
|
| H A D | ip6_output.c | 3052 const int icmp6off = offsetof(struct icmp6_hdr, icmp6_cksum); in ip6_raw_ctloutput()
|
| /xnu-10063.101.15/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 | 2557 struct icmp6_hdr *icmp6; in tcp6_ctlinput()
|
| /xnu-10063.101.15/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 | 4627 struct icmp6_hdr *icmp6; in pf_translate_icmp_af() 4905 struct icmp6_hdr *icmp6; in pf_nat64_ipv4() 4908 icmp6 = (struct icmp6_hdr *)pbuf_contig_segment(pbuf, hlen, in pf_nat64_ipv4() 7980 off + sizeof(struct icmp6_hdr)) == in pf_test_state_icmp() 7985 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 8040 off + sizeof(struct icmp6_hdr)) == in pf_test_state_icmp() 8045 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 8108 ipoff2 = off + sizeof(struct icmp6_hdr); in pf_test_state_icmp() 8270 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 8355 sizeof(struct icmp6_hdr), in pf_test_state_icmp() [all …]
|
| H A D | if_bridge.c | 8474 struct icmp6_hdr *icmp6; 8497 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6h + off); 8517 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6h + off); 8976 #define CKSUM_OFFSET_ICMP6 offsetof(struct icmp6_hdr, icmp6_cksum)
|
| H A D | pfvar.h | 1419 struct icmp6_hdr *icmp6;
|
| /xnu-10063.101.15/tests/ |
| H A D | net_bridge.c | 806 const struct icmp6_hdr *icmp6; in ip6_frame_validate() 812 icmp6 = (const struct icmp6_hdr *)(ip6 + 1); in ip6_frame_validate() 1101 sizeof(struct icmp6_hdr))) 1124 struct icmp6_hdr * icmp6; in ethernet_nd6_frame_populate() 1143 icmp6 = (struct icmp6_hdr *)(void *)(ip6 + 1); in ethernet_nd6_frame_populate() 2460 const struct icmp6_hdr * icmp6, in validate_mac_nat_nd6() 2504 validate_mac_nat_icmp6_out(switch_port_t port, const struct icmp6_hdr * icmp6, in validate_mac_nat_icmp6_out() 2536 const struct icmp6_hdr * icmp6; in validate_mac_nat_nd6_out() 2547 icmp6 = (const struct icmp6_hdr *)(const void *)(ip6 + 1); in validate_mac_nat_nd6_out()
|