Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c102 uint16_t cls_len; in flow_pkt_classify() local
183 cls_len = bdlim - bdoff; in flow_pkt_classify()
184 cls_len -= pkt->pkt_l2_len; in flow_pkt_classify()
185 cls_len = (uint16_t)MIN(cls_len, pkt_len); in flow_pkt_classify()
186 VERIFY(pkt_len >= cls_len); in flow_pkt_classify()
204 CL_SKIP_ON(cls_len < sizeof(struct ip)); in flow_pkt_classify()
207 CL_SKIP_ON(cls_len < l3hlen); in flow_pkt_classify()
249 CL_SKIP_ON(cls_len < l3hlen); in flow_pkt_classify()
275 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify()
314 CL_SKIP_ON((cls_len < l3hlen + sizeof(*tcph)) || in flow_pkt_classify()
[all …]
/xnu-8796.141.3/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c324 uint16_t bdlen, bdlim, bdoff, cls_len; in fill_inet_td() local
336 cls_len = bdlim - bdoff; in fill_inet_td()
337 cls_len -= pkt->pkt_l2_len; in fill_inet_td()
338 cls_len = (uint16_t)MIN(cls_len, pkt_len); in fill_inet_td()
339 VERIFY(pkt_len >= cls_len); in fill_inet_td()
340 if (cls_len == 0) { in fill_inet_td()
351 if (cls_len < sizeof(struct ip)) { in fill_inet_td()
353 cls_len, sizeof(struct ip)); in fill_inet_td()
364 if (cls_len < l3hlen) { in fill_inet_td()
365 SK_ERR("cls_len < l3hlen (%d < %d)", cls_len, l3hlen); in fill_inet_td()
[all …]