Searched refs:icmp6_hdr (Results 1 - 25 of 29) sorted by relevance

12

/netbsd-current/sys/netinet6/
H A Dip6protosw.h81 struct icmp6_hdr;
104 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
H A Dicmp6.c120 __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 Draw_ip6.c412 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 Dsctp6_usrreq.c320 struct icmp6_hdr *icmp6,
/netbsd-current/sys/netinet/
H A Dicmp6.h69 - 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 Dndisc_snoop.c29 struct icmp6_hdr icmp6h;
107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr))
/netbsd-current/sys/net/npf/
H A Dnpf_alg_icmp.c171 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 Dnpf.h178 struct icmp6_hdr * icmp6;
H A Dnpf_connkey.c269 const struct icmp6_hdr *ic6 = npc->npc_l4.icmp6;
H A Dnpf_inet.c637 sizeof(struct icmp6_hdr));
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-icmp6.c81 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 Dtraceroute6.c824 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 Dping6.c254 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 Dip_log.c441 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 Dip_nat6.c706 ((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 Dnpf_bpf_comp.c701 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 Dip_nat6.c725 ((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 Drtadvd.c726 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 Dipft_tx.c347 struct icmp6_hdr icmp, *ic6 = &icmp;
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dipv6nd.c1117 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 Dprivsep-inet.c241 struct icmp6_hdr icmp6;
/netbsd-current/sys/dist/pf/net/
H A Dpf.c4431 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 Dpfvar.h1089 struct icmp6_hdr *icmp6;
/netbsd-current/sys/netipsec/
H A Dipsec.c986 struct icmp6_hdr icmph;
1027 if (off + sizeof(struct icmp6_hdr) > m->m_pkthdr.len)
/netbsd-current/sys/kern/
H A Duipc_mbufdebug.c720 struct icmp6_hdr icmp6;

Completed in 406 milliseconds

12