xref: /openbmc/linux/tools/testing/selftests/bpf/progs/xdp_tx.c (revision a01822e94ee53e8ebc9632fe2764048b81921254)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5 
6 SEC("tx")
7 int xdp_tx(struct xdp_md *xdp)
8 {
9 	return XDP_TX;
10 }
11 
12 char _license[] SEC("license") = "GPL";
13