/netsniff-ng/

ivate-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/tools/lib/bpf
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2017-02-10 00:21:38 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 15:56:06 -0500
commit2ee89fb9a942e250b5adb5535de4acca14bb7fa2 (patch)
treea2a05ae382318bb1a863aa8afee37055409e521c /tools/lib/bpf
parentd02d8986a7688d3f0ff6ef61aa6beb41427692eb (diff)
bpf: Use bpf_load_program() from the library
Replace bpf_prog_load() with bpf_load_program() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/lib/bpf')
-rw-r--r--tools/lib/bpf/bpf.c6
-rw-r--r--tools/lib/bpf/bpf.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c