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()
328 uint8_t l4hlen = 0; /* TCP/UDP header length */ in fill_inet_td() local422 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()423 if (l4hlen < sizeof(*tcph)) { in fill_inet_td()424 SK_ERR("l4hlen < sizeof(*tcph) (%d < %d)", l4hlen, sizeof(*tcph)); in fill_inet_td()428 if (l4hlen > ulen) { in fill_inet_td()429 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()445 l4hlen = sizeof(*udph); in fill_inet_td()446 if (l4hlen > ulen) { in fill_inet_td()447 SK_ERR("l4hlen > ulen (%d > %d)", l4hlen, ulen); in fill_inet_td()