Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet6/
H A Dmld6.h41 #define MLD_MINLEN sizeof(struct icmp6_hdr)
49 struct icmp6_hdr mld_icmp6_hdr; /* ICMPv6 header */
70 struct icmp6_hdr mld_icmp6_hdr;
H A Dicmp6.c262 struct icmp6_hdr *icmp6; in icmp6_error()
321 struct icmp6_hdr *icp; in icmp6_error()
376 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error()
402 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input()
426 if (icmp6len < sizeof(struct icmp6_hdr)) { in icmp6_input()
564 nicmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_input()
702 nicmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_input()
898 struct icmp6_hdr *icmp6; in icmp6_notify_error()
1888 struct icmp6_hdr *icmp6; in icmp6_rip6_input()
2043 struct icmp6_hdr *icmp6; in icmp6_reflect()
[all …]
H A Dip6protosw.h81 struct icmp6_hdr;
105 struct icmp6_hdr *ip6c_icmp6; /* icmp6 header of target packet */
H A Dsend.c117 struct icmp6_hdr *icmp6; in send_output()
128 sizeof(struct icmp6_hdr))) { in send_output()
130 sizeof(struct icmp6_hdr)); in send_output()
144 icmp6 = (struct icmp6_hdr *)(ip6 + 1); in send_output()
H A Draw_ip6.c449 struct icmp6_hdr *icmp6; in rip6_output()
450 if (m->m_len < sizeof(struct icmp6_hdr) && in rip6_output()
451 (m = m_pullup(m, sizeof(struct icmp6_hdr))) == NULL) { in rip6_output()
455 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output()
515 off = offsetof(struct icmp6_hdr, icmp6_cksum); in rip6_output()
H A Dmld6_var.h106 sizeof(struct icmp6_hdr))
/f-stack/tools/compat/include/netinet/
H A Dicmp6.h76 struct icmp6_hdr { struct
186 struct icmp6_hdr mld_icmp6_hdr;
215 struct icmp6_hdr nd_rs_hdr;
225 struct icmp6_hdr nd_ra_hdr;
258 struct icmp6_hdr nd_ns_hdr;
269 struct icmp6_hdr nd_na_hdr;
291 struct icmp6_hdr nd_rd_hdr;
388 struct icmp6_hdr icmp6_nl_hdr;
402 struct icmp6_hdr icmp6_ni_hdr;
474 struct icmp6_hdr rr_hdr;
/f-stack/freebsd/netinet/
H A Dicmp6.h72 struct icmp6_hdr { struct
182 struct icmp6_hdr mld_icmp6_hdr;
211 struct icmp6_hdr nd_rs_hdr;
221 struct icmp6_hdr nd_ra_hdr;
254 struct icmp6_hdr nd_ns_hdr;
265 struct icmp6_hdr nd_na_hdr;
287 struct icmp6_hdr nd_rd_hdr;
384 struct icmp6_hdr icmp6_nl_hdr;
398 struct icmp6_hdr icmp6_ni_hdr;
470 struct icmp6_hdr rr_hdr;
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c653 struct icmp6_hdr *icmp6; in nat64_icmp6_reflect()
714 plen = len + sizeof(struct icmp6_hdr); in nat64_icmp6_reflect()
762 sizeof(struct icmp6_hdr))); in nat64_icmp6_reflect()
880 nat64_icmp_handle_echo(struct ip6_hdr *ip6, struct icmp6_hdr *icmp6, in nat64_icmp_handle_echo()
1089 sizeof(struct icmp6_hdr) + len > NAT64_ICMP6_PLEN) in nat64_icmp_translate()
1090 len = NAT64_ICMP6_PLEN - sizeof(struct icmp6_hdr) - in nat64_icmp_translate()
1092 plen = sizeof(struct icmp6_hdr) + sizeof(struct ip6_hdr) + len; in nat64_icmp_translate()
1105 eip6 = mtodo(n, offset + sizeof(struct icmp6_hdr)); in nat64_icmp_translate()
1346 struct icmp6_hdr *icmp6; in nat64_handle_icmp6()
1472 hlen += sizeof(struct icmp6_hdr); in nat64_handle_icmp6()
[all …]
H A Dnat64clat.c154 struct icmp6_hdr *icmp6; in nat64clat_handle_icmp6()
176 hlen += sizeof(struct icmp6_hdr); in nat64clat_handle_icmp6()
H A Dnat64stl.c154 struct icmp6_hdr *icmp6; in nat64stl_handle_icmp6()
176 hlen += sizeof(struct icmp6_hdr); in nat64stl_handle_icmp6()
H A Dnat64_translate.h83 #define ICMP6(p) ((struct icmp6_hdr *)(p))
H A Dnat64lsn.c1494 struct icmp6_hdr *icmp6; in nat64lsn_translate6()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_log.c83 #define ICMP6(p) ((struct icmp6_hdr *)(p))
303 struct icmp6_hdr *icmp6; in ipfw_log()
371 icmp6 = (struct icmp6_hdr *)(((char *)ip) + hlen); in ipfw_log()
H A Dip_fw2.c257 #define ICMP6(p) ((struct icmp6_hdr *)(p))
1531 PULLUP_TO(hlen, ulp, struct icmp6_hdr); in ipfw_chk()
/f-stack/lib/
H A Dff_dpdk_kni.c337 if (len < sizeof(struct icmp6_hdr)) in protocol_filter_icmp6()
340 const struct icmp6_hdr *hdr; in protocol_filter_icmp6()
341 hdr = (const struct icmp6_hdr *)data; in protocol_filter_icmp6()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_log.c416 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),
H A Dip_nat6.c717 ((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;
3014 struct icmp6_hdr *icmp6;
[all …]
H A Dfil.c891 int minicmpsz = sizeof(struct icmp6_hdr);
892 struct icmp6_hdr *icmp6;
3462 csump = &((struct icmp6_hdr *)l4hdr)->icmp6_cksum;
6716 csump = &((struct icmp6_hdr *)fin->fin_dp)->icmp6_cksum;
/f-stack/freebsd/netipsec/
H A Dipsec.c682 struct icmp6_hdr ih; in ipsec6_get_ulp()
721 if (off + sizeof(struct icmp6_hdr) > m->m_pkthdr.len) in ipsec6_get_ulp()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c4801 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
4864 ipoff2 = off + sizeof(struct icmp6_hdr); in pf_test_state_icmp()
5053 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5121 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5187 struct icmp6_hdr iih; in pf_test_state_icmp()
5190 sizeof(struct icmp6_hdr), NULL, reason, pd2.af)) { in pf_test_state_icmp()
5229 m_copyback(m, off, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5232 m_copyback(m, off2, sizeof(struct icmp6_hdr), in pf_test_state_icmp()
5279 sizeof(struct icmp6_hdr), in pf_test_state_icmp()
6498 struct icmp6_hdr ih; in pf_test6()
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c141 struct icmp6_hdr *icmp6; in nptv6_translate_icmpv6()
/f-stack/tools/compat/include/net/
H A Dpfvar.h759 struct icmp6_hdr *icmp6;
/f-stack/freebsd/net/
H A Dpfvar.h908 struct icmp6_hdr *icmp6;
/f-stack/freebsd/arm64/broadcom/genet/
H A Dif_genet.c1005 sizeof(struct icmp6_hdr)) in gen_encap()

12