Searched refs:l3_hdr (Results 1 – 4 of 4) sorted by relevance
| /xnu-10063.101.15/bsd/net/pktsched/ |
| H A D | pktsched.c | 695 uint8_t ipv = 0, *l3_hdr; in pktsched_kpkt_mark_ecn() local 699 l3_hdr = (uint8_t *)kpkt->pkt_flow_ip_hdr; in pktsched_kpkt_mark_ecn() 706 l3_hdr = pkt_buf + kpkt->pkt_headroom + kpkt->pkt_l2_len; in pktsched_kpkt_mark_ecn() 707 ipv = IP_VHL_V(*(uint8_t *)l3_hdr); in pktsched_kpkt_mark_ecn() 722 struct ip *ip = (struct ip *)(void *)l3_hdr; in pktsched_kpkt_mark_ecn() 745 struct ip6_hdr *ip6 = (struct ip6_hdr *)l3_hdr; in pktsched_kpkt_mark_ecn()
|
| /xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 179 uint8_t *pkt_buf, *l3_hdr; in flow_pkt_classify() local 189 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in flow_pkt_classify() 190 iph = (volatile struct ip *)(void *)l3_hdr; in flow_pkt_classify() 392 SK_ERR("%s", sk_dump("buf", l3_hdr, cls_len, in flow_pkt_classify()
|
| /xnu-10063.101.15/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 353 uint8_t *pkt_buf, *l3_hdr; in fill_inet_td() local 375 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in fill_inet_td() 376 iph = (volatile struct ip *)(void *)l3_hdr; in fill_inet_td()
|
| /xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 602 void *l3_hdr; in rx_process_ip_frag() local 620 l3_hdr = pkt_buf + pkt->pkt_headroom + pkt->pkt_l2_len; in rx_process_ip_frag() 627 (struct ip *)l3_hdr, &nfrags, &tlen); in rx_process_ip_frag() 632 (struct ip6_hdr *)l3_hdr, in rx_process_ip_frag() 633 (struct ip6_frag *)((uintptr_t)l3_hdr + sizeof(struct ip6_hdr)), in rx_process_ip_frag()
|