linux_old1/tools/lib/bpf
Joe Stringer ed7940731a tools lib bpf: Define prog_type fns with macro
Turning this into a macro allows future prog types to be added with a
single line per type.

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: netdev@vger.kernel.org
Link: http://lkml.kernel.org/r/20170123011128.26534-3-joe@ovn.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-01-26 11:42:57 -03:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
Build bpf tools: Add bpf.c/h for common bpf operations 2015-08-07 10:16:58 -03:00
Makefile make use of make variable CURDIR instead of calling pwd 2016-12-11 12:12:56 +01:00
bpf.c tools lib bpf: Add bpf_prog_{attach,detach} 2016-12-20 12:00:39 -03:00
bpf.h tools lib bpf: Add bpf_prog_{attach,detach} 2016-12-20 12:00:39 -03:00
libbpf.c tools lib bpf: Define prog_type fns with macro 2017-01-26 11:42:57 -03:00
libbpf.h tools lib bpf: Retrive bpf_map through offset of bpf_map_def 2016-11-29 12:10:19 -03:00