1 // SPDX-License-Identifier: GPL-2.0
4 #include "xdp_metadata.h"
5 #include <bpf/bpf_helpers.h>
6 #include <bpf/bpf_endian.h>
8 extern int bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx,
14 int freplace_rx(struct xdp_md *ctx)
17 /* Call _any_ metadata function to make sure we don't crash. */
18 bpf_xdp_metadata_rx_hash(ctx, &hash);
23 char _license[] SEC("license") = "GPL";