Searched refs:l3_hdr (Results 1 – 5 of 5) sorted by relevance
| /xnu-11215.61.5/bsd/net/pktsched/ |
| H A D | pktsched.c | 747 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.61.5/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 179 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 D | flow_agg.c | 1034 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.61.5/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 358 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.61.5/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 661 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()
|