summaryrefslogtreecommitdiff
path: root/tools/lib/string.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-07-10 14:43:00 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-11 22:13:33 +0200
commit49f2cba3e57a4d71e3e7001cc2934b563ee495f4 (patch)
treec226a462ea9fab37433185f530a664431b4a4340 /tools/lib/string.c
parentb60df2a0e11fcd24186c312b0307ab8494031e27 (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