Home
last modified time | relevance | path

Searched refs:icmp6_hdr (Results 1 – 18 of 18) sorted by relevance

/dragonfly/sys/netinet6/
H A Dicmp6.c253 struct icmp6_hdr *icmp6; in icmp6_error()
311 struct icmp6_hdr *icp; in icmp6_error()
371 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error()
405 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input()
421 if (icmp6len < sizeof(struct icmp6_hdr)) { in icmp6_input()
565 nicmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_input()
692 nicmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_input()
848 struct icmp6_hdr *icmp6; in icmp6_notify_error()
1819 struct icmp6_hdr *icmp6; in icmp6_rip6_input()
1917 struct icmp6_hdr *icmp6; in icmp6_reflect()
[all …]
H A Dip6protosw.h86 struct icmp6_hdr;
110 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
H A Draw_ip6.c315 struct icmp6_hdr *icmp6; in rip6_output()
316 if (m->m_len < sizeof(struct icmp6_hdr) && in rip6_output()
317 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { in rip6_output()
321 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output()
400 off = offsetof(struct icmp6_hdr, icmp6_cksum); in rip6_output()
H A Dip6_output.c1793 const int icmp6off = offsetof(struct icmp6_hdr, icmp6_cksum); in ip6_raw_ctloutput()
/dragonfly/sys/netinet/
H A Dicmp6.h78 struct icmp6_hdr { struct
185 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;
372 struct icmp6_hdr icmp6_nl_hdr;
386 struct icmp6_hdr icmp6_ni_hdr;
464 struct icmp6_hdr rr_hdr;
H A Dtcp_subr.c1583 struct icmp6_hdr *icmp6 = ip6cp->ip6c_icmp6; in tcp6_ctlinput()
/dragonfly/contrib/tcpdump/
H A Dprint-icmp6.c76 struct icmp6_hdr { struct
178 struct icmp6_hdr mld6_hdr;
196 struct icmp6_hdr nd_rs_hdr;
206 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;
420 struct icmp6_hdr rr_hdr;
1025 const struct icmp6_hdr *dp; in icmp6_print()
1571 const struct icmp6_hdr *icp = (const struct icmp6_hdr *) bp; in mldv2_report_print()
[all …]
/dragonfly/usr.sbin/traceroute6/
H A Dtraceroute6.c843 struct icmp6_hdr *icp; in send_probe()
862 icp = (struct icmp6_hdr *)outpacket; in send_probe()
970 struct icmp6_hdr *icp; in packet_ok()
986 if (cc < hlen + sizeof(struct icmp6_hdr)) { in packet_ok()
997 icp = (struct icmp6_hdr *)(buf + hlen); in packet_ok()
999 if (cc < sizeof(struct icmp6_hdr)) { in packet_ok()
1008 icp = (struct icmp6_hdr *)buf; in packet_ok()
1052 if (((struct icmp6_hdr *)up)->icmp6_id == ident && in packet_ok()
1053 ((struct icmp6_hdr *)up)->icmp6_seq == htons(seq)) in packet_ok()
/dragonfly/sys/net/ip6fw/
H A Dip6_fw.c144 static int icmp6type_match (struct icmp6_hdr * icmp, struct ip6_fw * f);
204 icmp6type_match(struct icmp6_hdr *icmp6, struct ip6_fw *f) in icmp6type_match()
225 const struct icmp6_hdr *icmp6; in is_icmp6_query()
228 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6 + off); in is_icmp6_query()
363 struct icmp6_hdr *const icmp6 = (struct icmp6_hdr *) ((caddr_t) ip6+ off); in ip6fw_report()
673 struct icmp6_hdr *icmp; in ip6_fw_chk()
678 icmp = (struct icmp6_hdr *) ((caddr_t)ip6 + off); in ip6_fw_chk()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dndisc_snoop.c29 struct icmp6_hdr icmp6h;
107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
/dragonfly/sbin/ping6/
H A Dping6.c239 void pr_icmph(struct icmp6_hdr *, u_char *);
243 int myechoreply(const struct icmp6_hdr *);
1093 struct icmp6_hdr *icp; in pinger()
1102 icp = (struct icmp6_hdr *)outpack; in pinger()
1205 myechoreply(const struct icmp6_hdr *icp) in myechoreply()
1294 struct icmp6_hdr *icp; in pr_pack()
1322 if (cc < (int)sizeof(struct icmp6_hdr)) { in pr_pack()
1331 icp = (struct icmp6_hdr *)buf; in pr_pack()
2059 pr_icmph(struct icmp6_hdr *icp, u_char *end) in pr_icmph()
/dragonfly/usr.sbin/rtsold/
H A Drtsol.c239 struct icmp6_hdr *icp; in rtsol_input()
285 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base; in rtsol_input()
/dragonfly/usr.sbin/ppp/
H A Dip.c281 const struct icmp6_hdr *ih6; in FilterCheck()
299 ih6 = (const struct icmp6_hdr *)payload; in FilterCheck()
544 const struct icmp6_hdr *icmp6h; in PacketCheck()
612 icmp6h = (const struct icmp6_hdr *)payload; in PacketCheck()
/dragonfly/usr.sbin/rtadvd/
H A Drtadvd.c722 struct icmp6_hdr *icp; in rtadvd_input()
784 if ((size_t)i < sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) { in rtadvd_input()
791 icp = (struct icmp6_hdr *)(ip + 1); /* XXX: ext. hdr? */ in rtadvd_input()
793 if ((size_t)i < sizeof(struct icmp6_hdr)) { in rtadvd_input()
798 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base; in rtadvd_input()
/dragonfly/contrib/dhcpcd/src/
H A Dipv6nd.c1117 struct interface *ifp, struct icmp6_hdr *icp, size_t len, int hoplimit) in ipv6nd_handlera()
2079 struct icmp6_hdr *icp; in ipv6nd_recvmsg()
2084 if ((size_t)len < sizeof(struct icmp6_hdr)) { in ipv6nd_recvmsg()
2100 icp = (struct icmp6_hdr *)msg->msg_iov[0].iov_base; in ipv6nd_recvmsg()
2121 struct icmp6_hdr hdr; in ipv6nd_handledata()
H A Dprivsep-inet.c241 struct icmp6_hdr icmp6; in ps_inet_validnd()
/dragonfly/sys/net/pf/
H A Dpf.c5277 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5338 ipoff2 = off + sizeof(struct icmp6_hdr); in pf_test_state_icmp()
5517 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5587 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5655 struct icmp6_hdr iih; in pf_test_state_icmp()
5658 sizeof(struct icmp6_hdr), NULL, reason, pd2.af)) { in pf_test_state_icmp()
5699 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5702 m_copyback(m, off2, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5753 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
7072 struct icmp6_hdr ih; in pf_test6()
H A Dpfvar.h1211 struct icmp6_hdr *icmp6;