Searched refs:l4hlen (Results 1 – 2 of 2) sorted by relevance
110 uint8_t l4hlen = 0; /* TCP/UDP header length */ in flow_pkt_classify() local340 l4hlen = (uint8_t)(tcph->th_off << 2); in flow_pkt_classify()341 CL_SKIP_ON(l4hlen < sizeof(*tcph)); in flow_pkt_classify()342 CL_SKIP_ON(l4hlen > ulen); in flow_pkt_classify()343 pkt->pkt_flow_tcp_hlen = l4hlen; in flow_pkt_classify()350 l4hlen = sizeof(*udph); in flow_pkt_classify()351 CL_SKIP_ON(l4hlen > ulen); in flow_pkt_classify()352 pkt->pkt_flow_udp_hlen = l4hlen; in flow_pkt_classify()357 ulen -= l4hlen; in flow_pkt_classify()
363 uint8_t l4hlen = 0; /* TCP/UDP header length */ in fill_inet_td() local457 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()458 if (l4hlen < sizeof(*tcph)) { in fill_inet_td()459 SK_ERR("l4hlen < sizeof(*tcph) (%d < %d)", l4hlen, sizeof(*tcph)); in fill_inet_td()463 if (l4hlen > ulen) { in fill_inet_td()464 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()480 l4hlen = sizeof(*udph); in fill_inet_td()481 if (l4hlen > ulen) { in fill_inet_td()482 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()