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