4 #include <linux/pkt_cls.h>
5 #include <bpf/bpf_helpers.h>
7 // Wrapper file that can call out to flowspec-xdp-generated XDP libs
9 int xdp_drop_prog(struct xdp_md *ctx);
12 int xdp_ingress_prog(struct xdp_md *ctx)
14 maybe_swap_ingress_eth((void *)(size_t)ctx->data, (void *)(size_t)ctx->data_end);
15 return xdp_drop_prog(ctx);