repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
xdp_tx.c
blob
94e6c2b281cb6ba98ea98bcda587976ad1427a5d
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"
;