Searched refs:data_end (Results 1 – 3 of 3) sorted by relevance
125 const void* data_end = (void*)(long)skb->data_end; local130 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)238 data_end = (void*)(long)skb->data_end;243 if (data + sizeof(struct ethhdr) + sizeof(*ip6) > data_end) {372 const void* data_end = (void*)(long)skb->data_end; in do_forward4() local377 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()[all …]
33 void *data_end = (void *)(long)ctx->data_end; variable41 if (data + hsize > data_end) return XDP_PASS;
71 if (skb->data_end - skb->data < len) bpf_skb_pull_data(skb, len); in try_make_readable()