-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples/bpf: tc_bench01_redirect add option for listing
Add option for listing tc ingress filters, as I constantly forget the exact tc command for viewing it. Cmdline option --list with optional_argument. Listing uses ingress ifname if argument not specified for --list=dev. Notice, getopts is annoying, and need an equal-sign "=" for assigning an optional_argument. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
- Loading branch information
1 parent
9d4a5ee
commit 152b488
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters