Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c96 #define tcph _l4._tcph in flow_pkt_classify() macro
309 tcph = __DECONST(volatile struct tcphdr *, in flow_pkt_classify()
313 CL_SKIP_ON((cls_len < l3hlen + sizeof(*tcph)) || in flow_pkt_classify()
314 (ulen < sizeof(*tcph))); in flow_pkt_classify()
315 l4hlen = (uint8_t)(tcph->th_off << 2); in flow_pkt_classify()
316 CL_SKIP_ON(l4hlen < sizeof(*tcph)); in flow_pkt_classify()
319 pkt->pkt_flow_tcp_hdr = (mach_vm_address_t)tcph; in flow_pkt_classify()
340 if (__probable(IS_P2ALIGNED(&tcph->th_sport, 4))) { in flow_pkt_classify()
342 sk_copy32_16(__DECONST(uint32_t *, &tcph->th_sport), in flow_pkt_classify()
350 bcopy(__DECONST(void *, &tcph->th_sport), in flow_pkt_classify()