/netbsd-current/sys/netinet6/ |
H A D | ip6protosw.h | 81 struct icmp6_hdr; 104 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
|
H A D | icmp6.c | 120 __CTASSERT(sizeof(struct icmp6_hdr) == 8); 355 struct icmp6_hdr *icmp6; 408 struct icmp6_hdr *icp; 410 IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off, 447 preplen = sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr); 463 icmp6 = (struct icmp6_hdr *)(nip6 + 1); 499 struct icmp6_hdr *icmp6, *nicmp6; 519 if (icmp6len < sizeof(struct icmp6_hdr)) { 535 IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off, sizeof(*icmp6)); 547 m = m_copyup(m, off + sizeof(struct icmp6_hdr), [all...] |
H A D | raw_ip6.c | 412 struct icmp6_hdr *icmp6; 413 if (m->m_len < sizeof(struct icmp6_hdr) && 414 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { 418 icmp6 = mtod(m, struct icmp6_hdr *); 480 off = offsetof(struct icmp6_hdr, icmp6_cksum);
|
H A D | sctp6_usrreq.c | 320 struct icmp6_hdr *icmp6,
|
/netbsd-current/sys/netinet/ |
H A D | icmp6.h | 69 - sizeof(struct icmp6_hdr) */ 71 struct icmp6_hdr { struct 183 struct icmp6_hdr mld_icmp6_hdr; 212 struct icmp6_hdr nd_rs_hdr; 222 struct icmp6_hdr nd_ra_hdr; 251 struct icmp6_hdr nd_ns_hdr; 262 struct icmp6_hdr nd_na_hdr; 284 struct icmp6_hdr nd_rd_hdr; 387 struct icmp6_hdr icmp6_nl_hdr; 401 struct icmp6_hdr icmp6_ni_hd [all...] |
/netbsd-current/external/bsd/wpa/dist/src/ap/ |
H A D | ndisc_snoop.c | 29 struct icmp6_hdr icmp6h; 107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr))
|
/netbsd-current/sys/net/npf/ |
H A D | npf_alg_icmp.c | 171 if (!nbuf_advance(nbuf, sizeof(struct icmp6_hdr), 0)) { 220 const struct icmp6_hdr *ic6 = npc->npc_l4.icmp6; 293 const struct icmp6_hdr *ic6 = enpc.npc_l4.icmp6; 352 offsetof(struct icmp6_hdr, icmp6_cksum));
|
H A D | npf.h | 178 struct icmp6_hdr * icmp6;
|
H A D | npf_connkey.c | 269 const struct icmp6_hdr *ic6 = npc->npc_l4.icmp6;
|
H A D | npf_inet.c | 637 sizeof(struct icmp6_hdr));
|
/netbsd-current/external/bsd/tcpdump/dist/ |
H A D | print-icmp6.c | 81 struct icmp6_hdr { struct 183 struct icmp6_hdr mld6_hdr; 201 struct icmp6_hdr nd_rs_hdr; 211 struct icmp6_hdr nd_ra_hdr; 241 struct icmp6_hdr nd_ns_hdr; 252 struct icmp6_hdr nd_na_hdr; 267 struct icmp6_hdr nd_rd_hdr; 370 struct icmp6_hdr icmp6_nl_hdr; 384 struct icmp6_hdr icmp6_ni_hdr; 420 struct icmp6_hdr rr_hd [all...] |
/netbsd-current/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 824 struct icmp6_hdr *icp = (struct icmp6_hdr *)outpacket; 924 struct icmp6_hdr *icp; 932 if (cc < (ssize_t)sizeof(struct icmp6_hdr)) { 942 icp = (struct icmp6_hdr *)buf; 985 ((struct icmp6_hdr *)up)->icmp6_id == ident && 986 ((struct icmp6_hdr *)up)->icmp6_seq == htons(seq))
|
/netbsd-current/sbin/ping6/ |
H A D | ping6.c | 254 static void pr_icmph(struct icmp6_hdr *, u_char *); 258 static int myechoreply(const struct icmp6_hdr *); 1085 struct icmp6_hdr *icp; 1094 icp = (struct icmp6_hdr *)outpack; 1201 myechoreply(const struct icmp6_hdr *icp) 1292 struct icmp6_hdr *icp; 1320 if (cc < (int)sizeof(struct icmp6_hdr)) { 1326 icp = (struct icmp6_hdr *)buf; 2047 pr_icmph(struct icmp6_hdr *icp, u_char *end)
|
/netbsd-current/sys/external/bsd/ipf/netinet/ |
H A D | ip_log.c | 441 struct icmp6_hdr *icmp; 443 icmp = (struct icmp6_hdr *)fin->fin_dp; 451 hlen += MIN(sizeof(struct icmp6_hdr) + 8, 454 hlen += MIN(sizeof(struct icmp6_hdr),
|
H A D | ip_nat6.c | 706 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = port; 908 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = nport; 1368 struct icmp6_hdr *orgicmp; 1439 orgicmp = (struct icmp6_hdr *)(oip6 + 1); 1561 struct icmp6_hdr *icmp6; 1801 struct icmp6_hdr *orgicmp; 1808 orgicmp = (struct icmp6_hdr *)dp; 2563 struct icmp6_hdr *icmp6 = NULL; 2765 struct icmp6_hdr *icmp6; 2963 struct icmp6_hdr *icmp [all...] |
/netbsd-current/usr.sbin/npf/npfctl/ |
H A D | npf_bpf_comp.c | 701 assert(offsetof(struct icmp6_hdr, icmp6_type) == type_off); 702 assert(offsetof(struct icmp6_hdr, icmp6_code) == code_off);
|
/netbsd-current/external/bsd/ipf/dist/ |
H A D | ip_nat6.c | 725 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = port; 930 ((struct icmp6_hdr *)fin->fin_dp)->icmp6_id = nport; 1399 struct icmp6_hdr *icmp6, *orgicmp; 1472 orgicmp = (struct icmp6_hdr *)(oip6 + 1); 1600 struct icmp6_hdr *icmp6; 1840 struct icmp6_hdr *orgicmp; 1847 orgicmp = (struct icmp6_hdr *)dp; 2620 struct icmp6_hdr *icmp6 = NULL; 2822 struct icmp6_hdr *icmp6; 3022 struct icmp6_hdr *icmp [all...] |
/netbsd-current/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 726 struct icmp6_hdr *icp; 796 if ((size_t)i < sizeof(struct icmp6_hdr)) { 803 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base;
|
/netbsd-current/external/bsd/ipf/dist/lib/ |
H A D | ipft_tx.c | 347 struct icmp6_hdr icmp, *ic6 = &icmp;
|
/netbsd-current/external/bsd/dhcpcd/dist/src/ |
H A D | ipv6nd.c | 1117 struct interface *ifp, struct icmp6_hdr *icp, size_t len, int hoplimit) 2079 struct icmp6_hdr *icp; 2084 if ((size_t)len < sizeof(struct icmp6_hdr)) { 2100 icp = (struct icmp6_hdr *)msg->msg_iov[0].iov_base; 2121 struct icmp6_hdr hdr;
|
H A D | privsep-inet.c | 241 struct icmp6_hdr icmp6;
|
/netbsd-current/sys/dist/pf/net/ |
H A D | pf.c | 4431 sizeof(struct icmp6_hdr), 4459 sizeof(struct icmp6_hdr), 4522 ipoff2 = off + sizeof(struct icmp6_hdr); 4680 sizeof(struct icmp6_hdr), 4748 sizeof(struct icmp6_hdr), 4816 struct icmp6_hdr iih; 4819 sizeof(struct icmp6_hdr), NULL, reason, pd2.af)) { 4857 m_copyback(m, off, sizeof(struct icmp6_hdr), 4860 m_copyback(m, off2, sizeof(struct icmp6_hdr), 4912 sizeof(struct icmp6_hdr), [all...] |
H A D | pfvar.h | 1089 struct icmp6_hdr *icmp6;
|
/netbsd-current/sys/netipsec/ |
H A D | ipsec.c | 986 struct icmp6_hdr icmph; 1027 if (off + sizeof(struct icmp6_hdr) > m->m_pkthdr.len)
|
/netbsd-current/sys/kern/ |
H A D | uipc_mbufdebug.c | 720 struct icmp6_hdr icmp6;
|