Home
last modified time | relevance | path

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

/xnu-11215.81.4/bsd/net/pktsched/
H A Dpktsched.c747 uint8_t ipv = 0, *l3_hdr; in pktsched_kpkt_mark_ecn() local
753 l3_hdr = __unsafe_forge_bidi_indexable(uint8_t *, kpkt->pkt_flow_ip_hdr, l3_len); in pktsched_kpkt_mark_ecn()
760 l3_hdr = pkt_buf + kpkt->pkt_headroom + kpkt->pkt_l2_len; in pktsched_kpkt_mark_ecn()
761 ipv = IP_VHL_V(*(uint8_t *)l3_hdr); in pktsched_kpkt_mark_ecn()
776 struct ip *ip = (struct ip *)(void *)l3_hdr; in pktsched_kpkt_mark_ecn()
799 struct ip6_hdr *ip6 = (struct ip6_hdr *)(void *)l3_hdr; in pktsched_kpkt_mark_ecn()
/xnu-11215.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-11215.81.4/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c358 uint8_t *pkt_buf, *l3_hdr; in fill_inet_td() local
380 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in fill_inet_td()
381 iph = (volatile struct ip *)(void *)l3_hdr; in fill_inet_td()
/xnu-11215.81.4/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c661 void *l3_hdr; in rx_process_ip_frag() local
679 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in rx_process_ip_frag()
685 struct ip *ip = l3_hdr; in rx_process_ip_frag()
688 struct ip6_hdr *ip6_hdr = l3_hdr; in rx_process_ip_frag()
690 (struct ip6_frag *)((uint8_t *)l3_hdr + sizeof(struct ip6_hdr)); in rx_process_ip_frag()