commit | 66fc4ca85d910bdeecf019c3999bc2df7c80b726 | [log] [tgz] |
---|---|---|
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | Sat Aug 21 05:50:03 2021 +0530 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Aug 24 14:48:42 2021 -0700 |
tree | 876f438ed6c8027ff9dee479f886e3d89ebeecec | |
parent | 6e1051a54e3100df59dae01c24ff4a6d6027e303 [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