Searched refs:udph (Results 1 – 2 of 2) sorted by relevance
| /xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 98 #define udph _l4._udph in flow_pkt_classify() macro 348 udph = __DECONST(volatile struct udphdr *, in flow_pkt_classify() 350 l4hlen = sizeof(*udph); in flow_pkt_classify() 353 pkt->pkt_flow_udp_hdr = (mach_vm_address_t)udph; in flow_pkt_classify() 381 __DECONST(uint32_t *, &udph->uh_sport), in flow_pkt_classify() 394 bcopy(__DECONST(struct __flow_l4_udp *__single, udph), in flow_pkt_classify()
|
| /xnu-11417.121.6/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 357 #define udph _l4._udph in fill_inet_td() macro 473 if (cls_len < l3hlen + sizeof(*udph) || ulen < sizeof(*udph)) { in fill_inet_td() 475 "(%d < %d + %d || %d < %d)", cls_len, l3hlen, sizeof(*udph), in fill_inet_td() 476 ulen, sizeof(*udph)); in fill_inet_td() 480 l4hlen = sizeof(*udph); in fill_inet_td() 486 bcopy(__DECONST(void *, &udph->uh_sport), &td->inet_lport, in fill_inet_td() 488 bcopy(__DECONST(void *, &udph->uh_dport), &td->inet_rport, in fill_inet_td() 515 #undef udph in fill_inet_td()
|