Sign in
android-kvm
/
linux
/
5bb6ba448fe3598a7668838942db1f008beb581b
/
.
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
xdp_tx.c
blob: 5f725c720e008f3d82375246a1edfa39168d5e8a [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#include
<linux/bpf.h>
#include
<bpf/bpf_helpers.h>
SEC
(
"xdp"
)
int
xdp_tx
(
struct
xdp_md
*
xdp
)
{
return
XDP_TX
;
}
char
_license
[]
SEC
(
"license"
)
=
"GPL"
;