Add support for offload/hardware mode.

This commit is contained in:
gamemann
2020-12-18 01:51:35 +00:00
parent 499a3e665a
commit f30f992468
2 changed files with 51 additions and 32 deletions

View File

@@ -8,6 +8,7 @@ Additionally, if the host's NIC doesn't support XDP-native, the program will att
The following command line arguments are supported:
* `--config -c` => Location to config file. Default => **/etc/xdpfw/xdpfw.conf**.
* `--offload -o` => Tries to load the XDP program in hardware/offload mode.
* `--list -l` => List all filtering rules scanned from config file.
* `--help -h` => Print help menu for command line options.