Searched refs:l4hlen (Results 1 – 2 of 2) sorted by relevance
110 uint8_t l4hlen = 0; /* TCP/UDP header length */ in flow_pkt_classify() local316 l4hlen = (uint8_t)(tcph->th_off << 2); in flow_pkt_classify()317 CL_SKIP_ON(l4hlen < sizeof(*tcph)); in flow_pkt_classify()318 CL_SKIP_ON(l4hlen > ulen); in flow_pkt_classify()319 pkt->pkt_flow_tcp_hlen = l4hlen; in flow_pkt_classify()324 l4hlen = sizeof(*udph); in flow_pkt_classify()325 CL_SKIP_ON(l4hlen > ulen); in flow_pkt_classify()326 pkt->pkt_flow_udp_hlen = l4hlen; in flow_pkt_classify()331 ulen -= l4hlen; in flow_pkt_classify()
358 uint8_t l4hlen = 0; /* TCP/UDP header length */ in fill_inet_td() local452 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()453 if (l4hlen < sizeof(*tcph)) { in fill_inet_td()454 SK_ERR("l4hlen < sizeof(*tcph) (%d < %d)", l4hlen, sizeof(*tcph)); in fill_inet_td()458 if (l4hlen > ulen) { in fill_inet_td()459 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()475 l4hlen = sizeof(*udph); in fill_inet_td()476 if (l4hlen > ulen) { in fill_inet_td()477 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()