Searched refs:ip6_frag (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/tcpdump/
H A Dprint-frag6.c38 register const struct ip6_frag *dp;
41 dp = (const struct ip6_frag *)bp;
51 (long)(bp - bp2) - sizeof(struct ip6_frag)));
56 (long)(bp - bp2) - sizeof(struct ip6_frag)));
65 return sizeof(struct ip6_frag);
H A Dip6.h190 struct ip6_frag { struct
H A Dprint-ip6.c91 advance = sizeof(struct ip6_frag);
H A Dprint-icmp6.c1175 const struct ip6_frag *fragh;
1215 fragh = (const struct ip6_frag *)bp;
1222 hlen = sizeof(struct ip6_frag);
/freebsd-13-stable/sys/netinet6/
H A Dfrag6.c223 KASSERT(m->m_len >= offset + sizeof(struct ip6_frag),
226 sizeof(struct ip6_frag)));
230 bcopy(ip6, (char *)ip6 + sizeof(struct ip6_frag), offset);
231 m->m_data += sizeof(struct ip6_frag);
232 m->m_len -= sizeof(struct ip6_frag);
364 struct ip6_frag *ip6f;
387 if (m->m_len < offset + sizeof(struct ip6_frag)) {
388 m = m_pullup(m, offset + sizeof(struct ip6_frag));
414 * sizeof(struct ip6_frag) == 8
417 ip6f = (struct ip6_frag *)((caddr_
[all...]
H A Din6_rss.c219 const struct ip6_frag *ip6f;
274 if (m->m_len < off + sizeof(struct ip6_frag)) {
278 ip6f = (const struct ip6_frag *)((c_caddr_t)ip6 + off);
H A Dip6_output.c149 struct ip6_frag **);
259 struct ip6_frag *ip6f;
1208 len = (mtu - unfragpartlen - sizeof(struct ip6_frag)) & ~7;
1414 struct ip6_frag **frghdrp)
1432 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) {
1434 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) +
1436 mlast->m_len += sizeof(struct ip6_frag);
1437 m->m_pkthdr.len += sizeof(struct ip6_frag);
1445 mfrg->m_len = sizeof(struct ip6_frag);
1446 *frghdrp = mtod(mfrg, struct ip6_frag *);
[all...]
H A Dicmp6.c933 struct ip6_frag *fh;
1015 if (m->m_len < eoff + sizeof(struct ip6_frag)) {
1017 sizeof(struct ip6_frag));
1024 fh = (struct ip6_frag *)(mtod(m, caddr_t) +
1035 eoff += sizeof(struct ip6_frag);
1134 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8)
H A Dip6_input.c1608 nlen = sizeof(struct ip6_frag);
1630 struct ip6_frag fh;
1661 off += sizeof(struct ip6_frag);
/freebsd-13-stable/sys/netinet/
H A Dip6.h235 struct ip6_frag { struct
/freebsd-13-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c510 nat64_init_ip4hdr(const struct ip6_hdr *ip6, const struct ip6_frag *frag,
535 #define FRAGSZ(mtu) ((mtu) - sizeof(struct ip6_hdr) - sizeof(struct ip6_frag))
541 struct ip6_frag ip6f;
566 hlen += sizeof(struct ip6_frag);
604 sizeof(struct ip6_frag));
1352 struct ip6_frag *ip6f;
1487 * to sizeof(struct ip6_frag). So, if embedded datagram had a fragment
1516 if (m->m_pkthdr.len < hlen + sizeof(struct ip6_frag) +
1521 plen -= sizeof(struct ip6_frag);
1522 hlen += sizeof(struct ip6_frag);
[all...]
/freebsd-13-stable/sys/netgraph/netflow/
H A Dng_netflow.c823 struct ip6_frag *ip6f;
876 M_CHECK(sizeof(struct ip6_frag));
877 ip6f = (struct ip6_frag *)(mtod(m, caddr_t) +
880 hdr_off = sizeof(struct ip6_frag);
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw2.c1599 PULLUP_TO(hlen, ulp, struct ip6_frag);
1601 hlen += sizeof (struct ip6_frag);
1602 proto = ((struct ip6_frag *)ulp)->ip6f_nxt;
1603 offset = ((struct ip6_frag *)ulp)->ip6f_offlg &
1605 ip6f_mf = ((struct ip6_frag *)ulp)->ip6f_offlg &
1617 ntohl(((struct ip6_frag *)ulp)->ip6f_ident);
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf_norm.c159 struct ip6_frag *, uint16_t, uint16_t, u_short *);
819 pf_reassemble6(struct mbuf **m0, struct ip6_hdr *ip6, struct ip6_frag *fraghdr,
878 hdrlen = frent->fe_hdrlen - sizeof(struct ip6_frag);
886 m = m_getptr(m, hdrlen + offsetof(struct ip6_frag, ip6f_nxt), &off);
1174 struct ip6_frag frag;
/freebsd-13-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c1514 hlen = sizeof(struct ip6_frag);
1515 nh = ((struct ip6_frag *)cp)->ip6f_nxt;
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dip_frag.c435 sizeof(struct ip6_frag);
H A Dfil.c806 struct ip6_frag *frag;
810 frag = (struct ip6_frag *)ipf_pr_ipv6exthdr(fin, 0, IPPROTO_FRAGMENT);
/freebsd-13-stable/sbin/ping/
H A Dping6.c2685 hlen = sizeof(struct ip6_frag);
2686 nh = ((struct ip6_frag *)cp)->ip6f_nxt;
/freebsd-13-stable/contrib/ipfilter/tools/
H A Dipmon.c1198 hl += sizeof(struct ip6_frag);

Completed in 159 milliseconds