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()
181 uint8_t l4hlen = 0; /* TCP/UDP header length */ in fill_inet_td() local275 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()276 if (l4hlen < sizeof(*tcph)) { in fill_inet_td()277 SK_ERR("l4hlen < sizeof(*tcph) (%d < %lu)", l4hlen, sizeof(*tcph)); in fill_inet_td()281 if (l4hlen > ulen) { in fill_inet_td()282 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()298 l4hlen = sizeof(*udph); in fill_inet_td()299 if (l4hlen > ulen) { in fill_inet_td()300 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()