2021-05-27 00:09:36 +05:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
#include <linux/bpf.h>
|
|
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
|
2021-10-02 21:09:28 +05:00
|
|
|
SEC("xdp")
|
2021-05-27 00:09:36 +05:00
|
|
|
int xdp_tx(struct xdp_md *xdp)
|
|
|
|
{
|
|
|
|
return XDP_TX;
|
|
|
|
}
|
|
|
|
|
|
|
|
char _license[] SEC("license") = "GPL";
|