Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/netinet6/
H A Dfrag6.c286 struct ip6_frag *ip6f = NULL; in frag6_input()
307 IP6_EXTHDR_CHECK(m, offset, sizeof(struct ip6_frag), goto done); in frag6_input()
309 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset); in frag6_input()
365 offset += sizeof(struct ip6_frag); in frag6_input()
525 sizeof(struct ip6_frag); in frag6_input()
541 offset - sizeof(struct ip6_frag) + in frag6_input()
542 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
550 offset - sizeof(struct ip6_frag) + in frag6_input()
551 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
601 erroff - sizeof(struct ip6_frag) + in frag6_input()
[all …]
H A Dip6_output.c166 struct ip6_frag **);
1820 struct ip6_frag *ip6f; in ip6_do_fragmentation()
1833 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7; in ip6_do_fragmentation()
2238 struct ip6_frag **frghdrp) in ip6_insertfraghdr()
2259 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
2261 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + in ip6_insertfraghdr()
2263 mlast->m_len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
2264 m->m_pkthdr.len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
2273 mfrg->m_len = sizeof(struct ip6_frag); in ip6_insertfraghdr()
2274 *frghdrp = mtod(mfrg, struct ip6_frag *); in ip6_insertfraghdr()
H A Dicmp6.c997 struct ip6_frag *fh; in icmp6_notify_error()
1090 sizeof(struct ip6_frag), in icmp6_notify_error()
1092 fh = (struct ip6_frag *)(mtod(m, caddr_t) in icmp6_notify_error()
1095 IP6_EXTHDR_GET(fh, struct ip6_frag *, m, in icmp6_notify_error()
1112 eoff += sizeof(struct ip6_frag); in icmp6_notify_error()
1213 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) { in icmp6_mtudisc_update()
H A Dip6_input.c2153 len += sizeof(struct ip6_frag); in ip6_get_prevhdr()
2180 struct ip6_frag fh; in ip6_nexthdr()
2216 off += sizeof(struct ip6_frag); in ip6_nexthdr()
/xnu-8792.41.9/tests/
H A DIP6_EXTHDR_CHECK_61873584.c15 struct ip6_frag frag;
25 struct ip6_frag frag;
/xnu-8792.41.9/bsd/net/
H A Dnat464_utils.c587 struct ip6_frag *p_ip6_frag = NULL; in nat464_insert_frag46()
592 sizeof(struct ip6_frag)) == NULL) { in nat464_insert_frag46()
597 p_ip6_frag = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_insert_frag46()
598 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_insert_frag46()
617 sizeof(struct ip6_frag)); in nat464_insert_frag46()
628 struct ip6_frag *p_frag6 = NULL; in nat464_translate_64()
629 struct ip6_frag frag6 = {}; in nat464_translate_64()
646 p_frag6 = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_translate_64()
647 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_translate_64()
656 off += sizeof(struct ip6_frag); in nat464_translate_64()
H A Dif_ports_used.c1476 struct ip6_frag ip6_frag; in if_ports_used_match_mbuf() local
1478 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
1485 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf()
1486 l4_proto = ip6_frag.ip6f_nxt; in if_ports_used_match_mbuf()
1488 if ((ip6_frag.ip6f_offlg & IP6F_OFF_MASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf_norm.c99 struct ip6_frag fr_ip6f_opt;
154 struct ip6_frag *);
170 pf_find_fragment_by_ipv6_header(struct ip6_hdr *, struct ip6_frag *,
175 struct ip6_frag *, struct pf_fragment **, int, int, int, int *);
437 struct ip6_frag *fh) in pf_ip6hdr2key()
1121 struct ip6_frag *ip6f; in pf_reassemble6()
1381 hdrlen = frent->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6()
1386 unfragpartlen = next->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6()
1478 pf_frag6cache(struct mbuf **m0, struct ip6_hdr *h, struct ip6_frag *fh, in pf_frag6cache()
2228 pf_find_fragment_by_ipv6_header(struct ip6_hdr *ip6, struct ip6_frag *fh, in pf_find_fragment_by_ipv6_header()
[all …]
H A Dpf.c10388 struct ip6_frag ip6f; in pf_test6()
/xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c273 volatile struct ip6_frag *ip6f; in flow_pkt_classify()
274 ip6f = (volatile struct ip6_frag *)(ip6 + 1); in flow_pkt_classify()
275 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify()
279 l3hlen += sizeof(struct ip6_frag); in flow_pkt_classify()
/xnu-8792.41.9/bsd/netinet/
H A Dip6.h279 struct ip6_frag { struct
H A Dip_output.c1820 mtu -= sizeof(struct ip6_frag); in ip_fragment()
/xnu-8792.41.9/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c341 struct ip6_hdr *ip6, struct ip6_frag *ip6f, uint16_t *nfrags, in fsw_ip_frag_reass_v6()
361 (ip6f_off + sizeof(struct ip6_frag) - sizeof(struct ip6_hdr)); in fsw_ip_frag_reass_v6()
597 offsetof(struct ip6_frag, ip6f_offlg)); in ipf_process()
H A Dfsw_var.h225 struct __kern_packet **pkt, struct ip6_hdr *ip6, struct ip6_frag *ip6f,
H A Dfsw_dp.c619 (struct ip6_frag *)((uintptr_t)l3_hdr + sizeof(struct ip6_hdr)), in rx_process_ip_frag()