diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-07-10 14:43:00 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-11 22:13:33 +0200 |
commit | 49f2cba3e57a4d71e3e7001cc2934b563ee495f4 (patch) | |
tree | c226a462ea9fab37433185f530a664431b4a4340 /tools/lib/string.c | |
parent | b60df2a0e11fcd24186c312b0307ab8494031e27 (diff) |
tools: bpftool: allow users to specify program type for prog load
Sometimes program section names don't match with libbpf's expectation.
In particular XDP's default section names differ between libbpf and
iproute2. Allow users to pass program type on command line. Name
the types like the libbpf expected section names.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/string.c')
0 files changed, 0 insertions, 0 deletions