Searched refs:l2_header_size (Results 1 – 1 of 1) sorted by relevance
116 const int l2_header_size = is_ethernet ? sizeof(struct ethhdr) : 0; local122 try_make_readable(skb, l2_header_size + IP6_HLEN + TCP_HLEN);130 if (data + l2_header_size + sizeof(*ip6) > data_end) return TC_ACT_OK;148 if (data + l2_header_size + sizeof(*ip6) + sizeof(*tcph) > data_end)363 const int l2_header_size = is_ethernet ? sizeof(struct ethhdr) : 0; in do_forward4() local369 try_make_readable(skb, l2_header_size + IP4_HLEN + TCP_HLEN); in do_forward4()377 if (data + l2_header_size + sizeof(*ip) > data_end) return TC_ACT_OK; in do_forward4()435 if (data + l2_header_size + sizeof(*ip) + 8 > data_end) TC_PUNT(SHORT_L4_HEADER); in do_forward4()442 if (data + l2_header_size + sizeof(*ip) + sizeof(*tcph) > data_end) in do_forward4()450 if (data + l2_header_size + sizeof(*ip) + sizeof(*udph) > data_end) in do_forward4()