aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdp_router_ipv4_user.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-06-17 22:48:58 +0000
committerDaniel Borkmann <[email protected]>2019-06-19 00:21:02 +0000
commita324aae32fa9bfdd03e89078e20ebcbd7737fda5 (patch)
tree7f92fea075055be977132438fb6670b5bfab6f04 /samples/bpf/xdp_router_ipv4_user.c
parentsamples: bpf: refactor header include path (diff)
downloadkernel-a324aae32fa9bfdd03e89078e20ebcbd7737fda5.tar.gz
kernel-a324aae32fa9bfdd03e89078e20ebcbd7737fda5.zip
libbpf: constify getter APIs
Add const qualifiers to bpf_object/bpf_program/bpf_map arguments for getter APIs. There is no need for them to not be const pointers. Verified that make -C tools/lib/bpf make -C tools/testing/selftests/bpf make -C tools/perf all build without warnings. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'samples/bpf/xdp_router_ipv4_user.c')
0 files changed, 0 insertions, 0 deletions