| /freebsd-11-stable/sys/netinet6/ |
| HD | icmp6.c | 260 struct icmp6_hdr *icmp6; in icmp6_error() 321 struct icmp6_hdr *icp; in icmp6_error() 324 IP6_EXTHDR_CHECK(m, 0, off + sizeof(struct icmp6_hdr), ); in icmp6_error() 325 icp = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_error() 327 IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off, in icmp6_error() 365 preplen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr); in icmp6_error() 379 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error() 405 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input() 415 IP6_EXTHDR_CHECK(m, off, sizeof(struct icmp6_hdr), IPPROTO_DONE); in icmp6_input() 426 if (icmp6len < sizeof(struct icmp6_hdr)) { in icmp6_input() [all …]
|
| HD | mld6.h | 39 #define MLD_MINLEN sizeof(struct icmp6_hdr) 47 struct icmp6_hdr mld_icmp6_hdr; /* ICMPv6 header */ 68 struct icmp6_hdr mld_icmp6_hdr;
|
| HD | ip6protosw.h | 79 struct icmp6_hdr; 103 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
|
| HD | send.c | 116 struct icmp6_hdr *icmp6; in send_output() 127 sizeof(struct icmp6_hdr))) { in send_output() 129 sizeof(struct icmp6_hdr)); in send_output() 143 icmp6 = (struct icmp6_hdr *)(ip6 + 1); in send_output()
|
| HD | raw_ip6.c | 444 struct icmp6_hdr *icmp6; in rip6_output() 445 if (m->m_len < sizeof(struct icmp6_hdr) && in rip6_output() 446 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { in rip6_output() 450 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output() 499 off = offsetof(struct icmp6_hdr, icmp6_cksum); in rip6_output()
|
| HD | mld6_var.h | 104 sizeof(struct icmp6_hdr))
|
| /freebsd-11-stable/sys/netinet/ |
| HD | icmp6.h | 70 struct icmp6_hdr { struct 180 struct icmp6_hdr mld_icmp6_hdr; 209 struct icmp6_hdr nd_rs_hdr; 219 struct icmp6_hdr nd_ra_hdr; 248 struct icmp6_hdr nd_ns_hdr; 259 struct icmp6_hdr nd_na_hdr; 281 struct icmp6_hdr nd_rd_hdr; 378 struct icmp6_hdr icmp6_nl_hdr; 392 struct icmp6_hdr icmp6_ni_hdr; 464 struct icmp6_hdr rr_hdr;
|
| /freebsd-11-stable/contrib/tcpdump/ |
| HD | print-icmp6.c | 80 struct icmp6_hdr { struct 179 struct icmp6_hdr mld6_hdr; 197 struct icmp6_hdr nd_rs_hdr; 207 struct icmp6_hdr nd_ra_hdr; 236 struct icmp6_hdr nd_ns_hdr; 247 struct icmp6_hdr nd_na_hdr; 262 struct icmp6_hdr nd_rd_hdr; 365 struct icmp6_hdr icmp6_nl_hdr; 379 struct icmp6_hdr icmp6_ni_hdr; 420 struct icmp6_hdr rr_hdr; [all …]
|
| /freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
| HD | nat64_translate.c | 623 struct icmp6_hdr *icmp6; in nat64_icmp6_reflect() 669 plen = len + sizeof(struct icmp6_hdr); in nat64_icmp6_reflect() 705 sizeof(struct icmp6_hdr))); in nat64_icmp6_reflect() 821 nat64_icmp_handle_echo(struct ip6_hdr *ip6, struct icmp6_hdr *icmp6, in nat64_icmp_handle_echo() 1030 sizeof(struct icmp6_hdr) + len > NAT64_ICMP6_PLEN) in nat64_icmp_translate() 1031 len = NAT64_ICMP6_PLEN - sizeof(struct icmp6_hdr) - in nat64_icmp_translate() 1033 plen = sizeof(struct icmp6_hdr) + sizeof(struct ip6_hdr) + len; in nat64_icmp_translate() 1046 eip6 = mtodo(n, offset + sizeof(struct icmp6_hdr)); in nat64_icmp_translate() 1287 struct icmp6_hdr *icmp6; in nat64_handle_icmp6() 1413 hlen += sizeof(struct icmp6_hdr); in nat64_handle_icmp6() [all …]
|
| HD | nat64clat.c | 154 struct icmp6_hdr *icmp6; in nat64clat_handle_icmp6() 176 hlen += sizeof(struct icmp6_hdr); in nat64clat_handle_icmp6()
|
| HD | nat64stl.c | 154 struct icmp6_hdr *icmp6; in nat64stl_handle_icmp6() 176 hlen += sizeof(struct icmp6_hdr); in nat64stl_handle_icmp6()
|
| HD | nat64_translate.h | 83 #define ICMP6(p) ((struct icmp6_hdr *)(p))
|
| /freebsd-11-stable/usr.sbin/traceroute6/ |
| HD | traceroute6.c | 1067 struct icmp6_hdr *icp; in send_probe() 1085 icp = (struct icmp6_hdr *)outpacket; in send_probe() 1280 struct icmp6_hdr *icp; in packet_ok() 1295 if (cc < hlen + sizeof(struct icmp6_hdr)) { in packet_ok() 1306 icp = (struct icmp6_hdr *)(buf + hlen); in packet_ok() 1308 if (cc < (int)sizeof(struct icmp6_hdr)) { in packet_ok() 1317 icp = (struct icmp6_hdr *)buf; in packet_ok() 1354 struct icmp6_hdr *icmp; in packet_ok() 1369 icmp = (struct icmp6_hdr *)up; in packet_ok()
|
| /freebsd-11-stable/contrib/wpa/src/ap/ |
| HD | ndisc_snoop.c | 29 struct icmp6_hdr icmp6h; 107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
|
| /freebsd-11-stable/sys/netpfil/ipfw/ |
| HD | ip_fw_log.c | 81 #define ICMP6(p) ((struct icmp6_hdr *)(p)) 297 struct icmp6_hdr *icmp6; in ipfw_log() 365 icmp6 = (struct icmp6_hdr *)(((char *)ip) + hlen); in ipfw_log()
|
| /freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
| HD | ip_log.c | 416 struct icmp6_hdr *icmp; 418 icmp = (struct icmp6_hdr *)fin->fin_dp; 426 hlen += MIN(sizeof(struct icmp6_hdr) + 8, 429 hlen += MIN(sizeof(struct icmp6_hdr),
|
| HD | ip_nat6.c | 717 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = port; 922 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = nport; 1391 struct icmp6_hdr *icmp6, *orgicmp; 1464 orgicmp = (struct icmp6_hdr *)(oip6 + 1); 1592 struct icmp6_hdr *icmp6; 1832 struct icmp6_hdr *orgicmp; 1839 orgicmp = (struct icmp6_hdr *)dp; 2612 struct icmp6_hdr *icmp6 = NULL; 2814 struct icmp6_hdr *icmp6; 3012 struct icmp6_hdr *icmp6; [all …]
|
| /freebsd-11-stable/sbin/ping6/ |
| HD | ping6.c | 266 static void pr_icmph(struct icmp6_hdr *, u_char *); 270 static int myechoreply(const struct icmp6_hdr *); 1264 struct icmp6_hdr *icp; in pinger() 1273 icp = (struct icmp6_hdr *)outpack; in pinger() 1377 myechoreply(const struct icmp6_hdr *icp) in myechoreply() 1467 struct icmp6_hdr *icp; in pr_pack() 1495 if (cc < (int)sizeof(struct icmp6_hdr)) { in pr_pack() 1504 icp = (struct icmp6_hdr *)buf; in pr_pack() 2281 pr_icmph(struct icmp6_hdr *icp, u_char *end) in pr_icmph()
|
| /freebsd-11-stable/usr.sbin/ppp/ |
| HD | ip.c | 308 const struct icmp6_hdr *ih6; in FilterCheck() 326 ih6 = (const struct icmp6_hdr *)payload; in FilterCheck() 572 const struct icmp6_hdr *icmp6h; in PacketCheck() 640 icmp6h = (const struct icmp6_hdr *)payload; in PacketCheck()
|
| /freebsd-11-stable/usr.sbin/rtadvd/ |
| HD | rtadvd.c | 718 struct icmp6_hdr *icp; in rtadvd_input() 780 if ((size_t)i < sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) { in rtadvd_input() 787 icp = (struct icmp6_hdr *)(ip + 1); /* XXX: ext. hdr? */ in rtadvd_input() 789 if ((size_t)i < sizeof(struct icmp6_hdr)) { in rtadvd_input() 794 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base; in rtadvd_input()
|
| /freebsd-11-stable/usr.sbin/rtsold/ |
| HD | rtsol.c | 246 struct icmp6_hdr *icp; in rtsol_input() 304 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base; in rtsol_input()
|
| /freebsd-11-stable/sys/netipsec/ |
| HD | ipsec.c | 671 struct icmp6_hdr ih; in ipsec6_get_ulp() 710 if (off + sizeof(struct icmp6_hdr) > m->m_pkthdr.len) in ipsec6_get_ulp()
|
| /freebsd-11-stable/contrib/ipfilter/lib/ |
| HD | ipft_tx.c | 349 struct icmp6_hdr icmp, *ic6 = &icmp;
|
| /freebsd-11-stable/sys/netpfil/pf/ |
| HD | pf.c | 4690 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp() 4753 ipoff2 = off + sizeof(struct icmp6_hdr); in pf_test_state_icmp() 4942 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 5010 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 5076 struct icmp6_hdr iih; in pf_test_state_icmp() 5079 sizeof(struct icmp6_hdr), NULL, reason, pd2.af)) { in pf_test_state_icmp() 5118 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp() 5121 m_copyback(m, off2, sizeof(struct icmp6_hdr), in pf_test_state_icmp() 5168 sizeof(struct icmp6_hdr), in pf_test_state_icmp() 6530 struct icmp6_hdr ih; in pf_test6()
|
| /freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
| HD | nptv6.c | 138 struct icmp6_hdr *icmp6; in nptv6_translate_icmpv6()
|