Home
last modified time | relevance | path

Searched refs:ip6_frag (Results 1 – 12 of 12) sorted by relevance

/f-stack/freebsd/netinet6/
H A Dfrag6.c226 sizeof(struct ip6_frag))); in ip6_deletefraghdr()
231 m->m_data += sizeof(struct ip6_frag); in ip6_deletefraghdr()
232 m->m_len -= sizeof(struct ip6_frag); in ip6_deletefraghdr()
364 struct ip6_frag *ip6f; in frag6_input()
450 sizeof(struct ip6_frag)); in frag6_input()
453 m->m_pkthdr.len -= sizeof(struct ip6_frag); in frag6_input()
460 offset += sizeof(struct ip6_frag); in frag6_input()
578 sizeof(struct ip6_frag); in frag6_input()
602 offset - sizeof(struct ip6_frag) + in frag6_input()
619 offset - sizeof(struct ip6_frag) + in frag6_input()
[all …]
H A Din6_rss.c219 const struct ip6_frag *ip6f; in rss_mbuf_software_hash_v6()
274 if (m->m_len < off + sizeof(struct ip6_frag)) { in rss_mbuf_software_hash_v6()
278 ip6f = (const struct ip6_frag *)((c_caddr_t)ip6 + off); in rss_mbuf_software_hash_v6()
H A Dip6_output.c149 struct ip6_frag **);
259 struct ip6_frag *ip6f; in ip6_fragment()
1209 len = (mtu - unfragpartlen - sizeof(struct ip6_frag)) & ~7; in ip6_output()
1415 struct ip6_frag **frghdrp) in ip6_insertfraghdr()
1433 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
1435 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + in ip6_insertfraghdr()
1437 mlast->m_len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
1438 m->m_pkthdr.len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
1446 mfrg->m_len = sizeof(struct ip6_frag); in ip6_insertfraghdr()
1447 *frghdrp = mtod(mfrg, struct ip6_frag *); in ip6_insertfraghdr()
H A Dicmp6.c930 struct ip6_frag *fh; in icmp6_notify_error()
1012 if (m->m_len < eoff + sizeof(struct ip6_frag)) { in icmp6_notify_error()
1014 sizeof(struct ip6_frag)); in icmp6_notify_error()
1021 fh = (struct ip6_frag *)(mtod(m, caddr_t) + in icmp6_notify_error()
1032 eoff += sizeof(struct ip6_frag); in icmp6_notify_error()
1131 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) in icmp6_mtudisc_update()
H A Dip6_input.c1610 nlen = sizeof(struct ip6_frag); in ip6_get_prevhdr()
1632 struct ip6_frag fh; in ip6_nexthdr()
1663 off += sizeof(struct ip6_frag); in ip6_nexthdr()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c510 nat64_init_ip4hdr(const struct ip6_hdr *ip6, const struct ip6_frag *frag, in nat64_init_ip4hdr()
535 #define FRAGSZ(mtu) ((mtu) - sizeof(struct ip6_hdr) - sizeof(struct ip6_frag))
541 struct ip6_frag ip6f; in nat64_fragment6()
566 hlen += sizeof(struct ip6_frag); in nat64_fragment6()
604 sizeof(struct ip6_frag)); in nat64_fragment6()
1347 struct ip6_frag *ip6f; in nat64_handle_icmp6()
1511 if (m->m_pkthdr.len < hlen + sizeof(struct ip6_frag) + in nat64_handle_icmp6()
1516 plen -= sizeof(struct ip6_frag); in nat64_handle_icmp6()
1517 hlen += sizeof(struct ip6_frag); in nat64_handle_icmp6()
1520 mtu -= sizeof(struct ip6_frag); in nat64_handle_icmp6()
[all …]
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c823 struct ip6_frag *ip6f; in ng_netflow_rcvdata()
876 M_CHECK(sizeof(struct ip6_frag)); in ng_netflow_rcvdata()
877 ip6f = (struct ip6_frag *)(mtod(m, caddr_t) + in ng_netflow_rcvdata()
880 hdr_off = sizeof(struct ip6_frag); in ng_netflow_rcvdata()
/f-stack/freebsd/netinet/
H A Dip6.h231 struct ip6_frag { struct
/f-stack/freebsd/netpfil/pf/
H A Dpf_norm.c159 struct ip6_frag *, uint16_t, uint16_t, u_short *);
815 pf_reassemble6(struct mbuf **m0, struct ip6_hdr *ip6, struct ip6_frag *fraghdr, in pf_reassemble6()
874 hdrlen = frent->fe_hdrlen - sizeof(struct ip6_frag); in pf_reassemble6()
882 m = m_getptr(m, hdrlen + offsetof(struct ip6_frag, ip6f_nxt), &off); in pf_reassemble6()
1170 struct ip6_frag frag; in pf_normalize_ip6()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw2.c1601 PULLUP_TO(hlen, ulp, struct ip6_frag); in ipfw_chk()
1603 hlen += sizeof (struct ip6_frag); in ipfw_chk()
1604 proto = ((struct ip6_frag *)ulp)->ip6f_nxt; in ipfw_chk()
1605 offset = ((struct ip6_frag *)ulp)->ip6f_offlg & in ipfw_chk()
1607 ip6f_mf = ((struct ip6_frag *)ulp)->ip6f_offlg & in ipfw_chk()
1619 ntohl(((struct ip6_frag *)ulp)->ip6f_ident); in ipfw_chk()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_frag.c435 sizeof(struct ip6_frag);
H A Dfil.c808 struct ip6_frag *frag;
812 frag = (struct ip6_frag *)ipf_pr_ipv6exthdr(fin, 0, IPPROTO_FRAGMENT);