Home
last modified time | relevance | path

Searched refs:udph (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c98 #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-12377.61.12/bsd/skywalk/nexus/
H A Dnexus_traffic_rule_inet.c175 #define udph _l4._udph in fill_inet_td() macro
291 if (cls_len < l3hlen + sizeof(*udph) || ulen < sizeof(*udph)) { in fill_inet_td()
293 "(%d < %d + %lu || %d < %lu)", cls_len, l3hlen, sizeof(*udph), in fill_inet_td()
294 ulen, sizeof(*udph)); in fill_inet_td()
298 l4hlen = sizeof(*udph); in fill_inet_td()
304 bcopy(__DECONST(void *, &udph->uh_sport), &td->inet_lport, in fill_inet_td()
306 bcopy(__DECONST(void *, &udph->uh_dport), &td->inet_rport, in fill_inet_td()
333 #undef udph in fill_inet_td()