mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
pktgen: Remove brute-force printing of flags
Add macro generated pkt_flag_names array, with a little help of which the flags can be printed by using an index. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6f107c7412
commit
99c6d3d20d
1 changed files with 19 additions and 58 deletions
Loading…
Add table
Add a link
Reference in a new issue