Home
last modified time | relevance | path

Searched refs:l3_hdr (Results 1 – 5 of 5) sorted by relevance

/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c179 uint8_t *pkt_buf, *l3_hdr; in flow_pkt_classify() local
193 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in flow_pkt_classify()
194 pkt_buf_cpy = l3_hdr; in flow_pkt_classify()
431 SK_ERR("%s", sk_dump("buf", l3_hdr, cls_len, in flow_pkt_classify()
H A Dflow_agg.c1034 uint8_t *l3_hdr = __unsafe_forge_bidi_indexable(uint8_t *, in can_agg_slowpath() local
1051 struct ip *iph = (struct ip *)(void *)l3_hdr; in can_agg_slowpath()
1102 struct ip6_hdr *ip6 = (struct ip6_hdr *)l3_hdr; in can_agg_slowpath()
/xnu-12377.81.4/bsd/net/pktsched/
H A Dpktsched.c803 uint8_t ipv = 0, *l3_hdr; in pktsched_kpkt_mark_ecn() local
809 l3_hdr = __unsafe_forge_bidi_indexable(uint8_t *, kpkt->pkt_flow_ip_hdr, l3_len); in pktsched_kpkt_mark_ecn()
816 l3_hdr = pkt_buf + kpkt->pkt_headroom + kpkt->pkt_l2_len; in pktsched_kpkt_mark_ecn()
817 ipv = IP_VHL_V(*(uint8_t *)l3_hdr); in pktsched_kpkt_mark_ecn()
832 struct ip *ip = (struct ip *)(void *)l3_hdr; in pktsched_kpkt_mark_ecn()
855 struct ip6_hdr *ip6 = (struct ip6_hdr *)(void *)l3_hdr; in pktsched_kpkt_mark_ecn()
/xnu-12377.81.4/bsd/skywalk/nexus/
H A Dnexus_traffic_rule_inet.c176 uint8_t *pkt_buf, *l3_hdr; in fill_inet_td() local
198 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in fill_inet_td()
199 iph = (volatile struct ip *)(void *)l3_hdr; in fill_inet_td()
/xnu-12377.81.4/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c675 void *l3_hdr; in rx_process_ip_frag() local
693 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in rx_process_ip_frag()
699 struct ip *ip = l3_hdr; in rx_process_ip_frag()
702 struct ip6_hdr *ip6_hdr = l3_hdr; in rx_process_ip_frag()
704 (struct ip6_frag *)((uint8_t *)l3_hdr + sizeof(struct ip6_hdr)); in rx_process_ip_frag()