Lines Matching refs:data_end
106 static __always_inline struct ethhdr *parse_ethhdr(void *data, void *data_end) in parse_ethhdr() argument
110 if (eth + 1 > data_end) in parse_ethhdr()
165 get_transport_hdr(__u16 offset, void *data, void *data_end) in get_transport_hdr() argument
167 if (offset > 255 || data + offset > data_end) in get_transport_hdr()
191 parse_tcp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_tcp() argument
195 if (tcp + 1 > data_end) in parse_tcp()
206 parse_udp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_udp() argument
210 if (udp + 1 > data_end) in parse_udp()
234 filter_transport_hdr(void *transport_hdr, void *data_end, in filter_transport_hdr() argument
238 if (!parse_tcp(info, transport_hdr, data_end)) in filter_transport_hdr()
246 if (!parse_udp(info, transport_hdr, data_end)) in filter_transport_hdr()
257 parse_gue_v6(struct pkt_info *info, struct ipv6hdr *ip6h, void *data_end) in parse_gue_v6() argument
262 if (udp + 1 > data_end) in parse_gue_v6()
270 if (encap_data + 1 > data_end) in parse_gue_v6()
276 if (inner_ip6h + 1 > data_end) in parse_gue_v6()
286 if (inner_ip4h + 1 > data_end) in parse_gue_v6()
299 void *data, void *data_end) in parse_ipv6_gue() argument
303 if (ip6h + 1 > data_end) in parse_ipv6_gue()
312 return parse_gue_v6(info, ip6h, data_end); in parse_ipv6_gue()
320 void *data_end = (void *)(long)(ctx->data_end); in edgewall() local
330 eth = parse_ethhdr(data, data_end); in edgewall()
338 if (parse_ipv6_gue(&info, data, data_end)) in edgewall()
350 data_end); in edgewall()
354 filter_res = filter_transport_hdr(transport_hdr, data_end, in edgewall()