summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_redirect_user.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2021-08-21 05:50:03 +0530
committerAlexei Starovoitov <ast@kernel.org>2021-08-24 14:48:42 -0700
commit66fc4ca85d910bdeecf019c3999bc2df7c80b726 (patch)
tree876f438ed6c8027ff9dee479f886e3d89ebeecec /samples/bpf/xdp_redirect_user.c
parent6e1051a54e3100df59dae01c24ff4a6d6027e303 (diff)
samples: bpf: Convert xdp_redirect_kern.o to XDP samples helper
We moved swap_src_dst_mac to xdp_sample.bpf.h to be shared with other potential users, so drop it while moving code to the new file. Also, consistently use SEC("xdp") naming instead. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210821002010.845777-16-memxor@gmail.com
Diffstat (limited to 'samples/bpf/xdp_redirect_user.c')
0 files changed, 0 insertions, 0 deletions