Lines Matching refs:data_end
234 static __always_inline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() argument
241 if (icmp_hdr + 1 > data_end) in parse_icmpv6()
247 if (ip6h + 1 > data_end) in parse_icmpv6()
256 static __always_inline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() argument
263 if (icmp_hdr + 1 > data_end) in parse_icmp()
270 if (iph + 1 > data_end) in parse_icmp()
281 static __always_inline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp() argument
287 if (udp + 1 > data_end) in parse_udp()
300 static __always_inline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp() argument
306 if (tcp + 1 > data_end) in parse_tcp()
322 static __always_inline int process_packet(void *data, __u64 off, void *data_end, in process_packet() argument
349 if (ip6h + 1 > data_end) in process_packet()
360 action = parse_icmpv6(data, data_end, off, &pckt); in process_packet()
370 if (iph + 1 > data_end) in process_packet()
383 action = parse_icmp(data, data_end, off, &pckt); in process_packet()
395 if (!parse_tcp(data, off, data_end, &pckt)) in process_packet()
398 if (!parse_udp(data, off, data_end, &pckt)) in process_packet()
454 void *data_end = (void *)(long)ctx->data_end; in balancer_ingress() local
461 if (data + nh_off > data_end) in balancer_ingress()
465 return process_packet(data, nh_off, data_end, false, ctx); in balancer_ingress()
467 return process_packet(data, nh_off, data_end, true, ctx); in balancer_ingress()