Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c102 uint32_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-10063.101.15/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c354 uint32_t bdlen, bdlim, bdoff, cls_len; in fill_inet_td() local
366 cls_len = bdlim - bdoff; in fill_inet_td()
367 cls_len -= pkt->pkt_l2_len; in fill_inet_td()
368 cls_len = (uint32_t)MIN(cls_len, pkt_len); in fill_inet_td()
369 VERIFY(pkt_len >= cls_len); in fill_inet_td()
370 if (cls_len == 0) { in fill_inet_td()
381 if (cls_len < sizeof(struct ip)) { in fill_inet_td()
383 cls_len, sizeof(struct ip)); in fill_inet_td()
394 if (cls_len < l3hlen) { in fill_inet_td()
395 SK_ERR("cls_len < l3hlen (%d < %d)", cls_len, l3hlen); in fill_inet_td()
[all …]