Home
last modified time | relevance | path

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

/xnu-12377.81.4/tests/skywalk/
H A Dskt_reass.c253 ip6->ip6_plen = htons(sizeof(struct ip6_frag) + plen); in bad_fraglen_build()
261 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in bad_fraglen_build()
267 buf += sizeof(struct ip6_frag); in bad_fraglen_build()
268 len += sizeof(struct ip6_frag); in bad_fraglen_build()
327 ip6->ip6_plen = htons(sizeof(struct ip6_frag) + plen); in timeout_build()
335 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in timeout_build()
341 buf += sizeof(struct ip6_frag); in timeout_build()
342 len += sizeof(struct ip6_frag); in timeout_build()
408 plen = sizeof(struct ip6_frag) + sizeof(struct icmp6_hdr) + dlen; in atomic_build()
419 struct ip6_frag *ip6f = (struct ip6_frag *)buf; in atomic_build()
[all …]
H A Dskywalk_test_utils.c2409 dlen -= sizeof(struct ip6_frag); in sktu_create_ip6_frames()
2411 plen = sizeof(struct ip6_frag) + dlen; in sktu_create_ip6_frames()
2433 struct ip6_frag *ip6f = (struct ip6_frag *)baddr; in sktu_create_ip6_frames()
/xnu-12377.81.4/bsd/netinet6/
H A Dfrag6.c283 struct ip6_frag *__single 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()
366 offset += sizeof(struct ip6_frag); in frag6_input()
535 sizeof(struct ip6_frag); in frag6_input()
552 offset - sizeof(struct ip6_frag) + in frag6_input()
553 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
561 offset - sizeof(struct ip6_frag) + in frag6_input()
562 offsetof(struct ip6_frag, ip6f_offlg)); in frag6_input()
612 erroff - sizeof(struct ip6_frag) + in frag6_input()
[all …]
H A Dip6_output.c169 struct ip6_frag **);
1871 struct ip6_frag *__single ip6f; in ip6_do_fragmentation()
1884 len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7; in ip6_do_fragmentation()
2292 struct ip6_frag **frghdrp) in ip6_insertfraghdr()
2313 M_TRAILINGSPACE(mlast) >= sizeof(struct ip6_frag)) { in ip6_insertfraghdr()
2315 *frghdrp = (struct ip6_frag *)(mtod(mlast, caddr_t) + in ip6_insertfraghdr()
2317 mlast->m_len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
2318 m->m_pkthdr.len += sizeof(struct ip6_frag); in ip6_insertfraghdr()
2327 mfrg->m_len = sizeof(struct ip6_frag); in ip6_insertfraghdr()
2328 *frghdrp = mtod(mfrg, struct ip6_frag *); in ip6_insertfraghdr()
H A Dicmp6.c1002 struct ip6_frag *__single fh; in icmp6_notify_error()
1095 sizeof(struct ip6_frag), in icmp6_notify_error()
1097 fh = (struct ip6_frag *)(mtod(m, caddr_t) in icmp6_notify_error()
1100 IP6_EXTHDR_GET(fh, struct ip6_frag *, m, in icmp6_notify_error()
1117 eoff += sizeof(struct ip6_frag); in icmp6_notify_error()
1218 if (mtu < sizeof(struct ip6_hdr) + sizeof(struct ip6_frag) + 8) { in icmp6_mtudisc_update()
H A Dip6_input.c2223 len += sizeof(struct ip6_frag); in ip6_get_prevhdr()
2250 struct ip6_frag fh; in ip6_nexthdr()
2286 off += sizeof(struct ip6_frag); in ip6_nexthdr()
/xnu-12377.81.4/tests/
H A DIP6_EXTHDR_CHECK_61873584.c15 struct ip6_frag frag;
25 struct ip6_frag frag;
/xnu-12377.81.4/bsd/net/
H A Dnat464_utils.c599 struct ip6_frag *p_ip6_frag = NULL; in nat464_insert_frag46()
604 sizeof(struct ip6_frag)) == NULL) { in nat464_insert_frag46()
609 p_ip6_frag = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_insert_frag46()
610 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_insert_frag46()
629 sizeof(struct ip6_frag)); in nat464_insert_frag46()
640 struct ip6_frag *p_frag6 = NULL; in nat464_translate_64()
641 struct ip6_frag frag6 = {}; in nat464_translate_64()
658 p_frag6 = (struct ip6_frag *)pbuf_contig_segment(pbuf, in nat464_translate_64()
659 sizeof(struct ip6_hdr), sizeof(struct ip6_frag)); in nat464_translate_64()
668 off += sizeof(struct ip6_frag); in nat464_translate_64()
H A Dpf_norm.c100 struct ip6_frag fr_ip6f_opt;
155 struct ip6_frag *);
171 pf_find_fragment_by_ipv6_header(struct ip6_hdr *, struct ip6_frag *,
176 struct ip6_frag *, struct pf_fragment **, int, int, int, int *);
438 struct ip6_frag *fh) in pf_ip6hdr2key()
1125 struct ip6_frag *__single ip6f; in pf_reassemble6()
1385 hdrlen = frent->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6()
1390 unfragpartlen = next->fr_ip6f_hlen - sizeof(struct ip6_frag); in pf_reassemble6()
1483 pf_frag6cache(struct mbuf **m0, struct ip6_hdr *h, struct ip6_frag *fh, in pf_frag6cache()
2230 pf_find_fragment_by_ipv6_header(struct ip6_hdr *ip6, struct ip6_frag *fh, in pf_find_fragment_by_ipv6_header()
[all …]
H A Dif_ports_used.c2014 struct ip6_frag ip6_frag; in if_ports_used_match_mbuf() local
2016 error = mbuf_copydata(m, sizeof(struct ip6_hdr), sizeof(struct ip6_frag), &ip6_frag); in if_ports_used_match_mbuf()
2023 l3_len += sizeof(struct ip6_frag); in if_ports_used_match_mbuf()
2024 l4_proto = ip6_frag.ip6f_nxt; in if_ports_used_match_mbuf()
2026 if ((ip6_frag.ip6f_offlg & IP6F_OFF_MASK) != 0) { in if_ports_used_match_mbuf()
H A Dpf.c10444 struct ip6_frag ip6f; in pf_test6()
/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c299 volatile struct ip6_frag *ip6f; in flow_pkt_classify()
300 ip6f = (volatile struct ip6_frag *)(ip6 + 1); in flow_pkt_classify()
301 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify()
305 l3hlen += sizeof(struct ip6_frag); in flow_pkt_classify()
/xnu-12377.81.4/bsd/netinet/
H A Dip6.h279 struct ip6_frag { struct
H A Dip_output.c1908 mtu -= sizeof(struct ip6_frag); in ip_fragment()
/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c342 struct ip6_hdr *ip6, struct ip6_frag *ip6f, uint16_t *nfrags, in fsw_ip_frag_reass_v6()
363 (ip6f_off + sizeof(struct ip6_frag) - sizeof(struct ip6_hdr)); in fsw_ip_frag_reass_v6()
637 offsetof(struct ip6_frag, ip6f_offlg)); in ipf_process()
H A Dfsw_var.h227 struct __kern_packet **pkt, struct ip6_hdr *ip6, struct ip6_frag *ip6f,
H A Dfsw_dp.c703 struct ip6_frag *__single ip6_frag = in rx_process_ip_frag() local
704 (struct ip6_frag *)((uint8_t *)l3_hdr + sizeof(struct ip6_hdr)); in rx_process_ip_frag()
708 err = fsw_ip_frag_reass_v6(fsw->fsw_ipfm, &pkt, ip6_hdr, ip6_frag, in rx_process_ip_frag()