]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: xdp_monitor, accept short options
authorPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Mon, 14 May 2018 08:29:15 +0000 (17:29 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 14 May 2018 21:41:59 +0000 (23:41 +0200)
commite574803053f91b13cb06b975d624bf6df44772be
tree07298680244a2c50bf57d51f58bf3c303dc4276b
parent341f92562e5e0fe66aef64e5767a140dc65642a8
samples/bpf: xdp_monitor, accept short options

Updated optstring parameter for getopt_long() to accept short options.
Also updated usage() function.

Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/xdp_monitor_user.c