commit | ed7940731ac89616b8a516c560a76dca44a152a8 | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@ovn.org> | Sun Jan 22 17:11:23 2017 -0800 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Jan 26 11:42:57 2017 -0300 |
tree | a1aa49d9c02b3e495760f427f55ee8fe57991ed5 | |
parent | 94e5adece8b37a23d99fb1f8a5de94b23194f387 [diff] |
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>