Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c102 uint32_t cls_len; in flow_pkt_classify() local
187 cls_len = bdlim - bdoff; in flow_pkt_classify()
188 cls_len -= pkt->pkt_l2_len; in flow_pkt_classify()
189 cls_len = (uint16_t)MIN(cls_len, pkt_len); in flow_pkt_classify()
190 VERIFY(pkt_len >= cls_len); in flow_pkt_classify()
195 pkt_buf_size = cls_len; in flow_pkt_classify()
210 CL_SKIP_ON(cls_len < sizeof(struct ip)); in flow_pkt_classify()
213 CL_SKIP_ON(cls_len < l3hlen); in flow_pkt_classify()
260 CL_SKIP_ON(cls_len < l3hlen); in flow_pkt_classify()
301 CL_SKIP_ON(cls_len < l3hlen + sizeof(struct ip6_frag)); in flow_pkt_classify()
[all …]
/xnu-11417.121.6/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c359 uint32_t bdlen, bdlim, bdoff, cls_len; in fill_inet_td() local
371 cls_len = bdlim - bdoff; in fill_inet_td()
372 cls_len -= pkt->pkt_l2_len; in fill_inet_td()
373 cls_len = (uint32_t)MIN(cls_len, pkt_len); in fill_inet_td()
374 VERIFY(pkt_len >= cls_len); in fill_inet_td()
375 if (cls_len == 0) { in fill_inet_td()
386 if (cls_len < sizeof(struct ip)) { in fill_inet_td()
388 cls_len, sizeof(struct ip)); in fill_inet_td()
399 if (cls_len < l3hlen) { in fill_inet_td()
400 SK_ERR("cls_len < l3hlen (%d < %d)", cls_len, l3hlen); in fill_inet_td()
[all …]