Searched refs:udph (Results 1 – 2 of 2) sorted by relevance
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 98 #define udph _l4._udph in flow_pkt_classify() macro 322 CL_SKIP_ON((cls_len < l3hlen + sizeof(*udph)) || in flow_pkt_classify() 323 (ulen < sizeof(*udph))); in flow_pkt_classify() 324 l4hlen = sizeof(*udph); in flow_pkt_classify() 327 pkt->pkt_flow_udp_hdr = (mach_vm_address_t)udph; in flow_pkt_classify() 346 sk_copy32_8(__DECONST(uint32_t *, &udph->uh_sport), in flow_pkt_classify() 355 bcopy(__DECONST(void *, &udph->uh_sport), in flow_pkt_classify()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 352 #define udph _l4._udph in fill_inet_td() macro 468 if (cls_len < l3hlen + sizeof(*udph) || ulen < sizeof(*udph)) { in fill_inet_td() 470 "(%d < %d + %d || %d < %d)", cls_len, l3hlen, sizeof(*udph), in fill_inet_td() 471 ulen, sizeof(*udph)); in fill_inet_td() 475 l4hlen = sizeof(*udph); in fill_inet_td() 481 bcopy(__DECONST(void *, &udph->uh_sport), &td->inet_lport, in fill_inet_td() 483 bcopy(__DECONST(void *, &udph->uh_dport), &td->inet_rport, in fill_inet_td() 510 #undef udph in fill_inet_td()
|