Usage: xdp-filter COMMAND [options]
COMMAND can be one of:
load - load xdp-filter on an interface
unload - unload xdp-filter from an interface
port - add a port to the filter list
ip - add an IP address to the filter list
ether - add an Ethernet MAC address to the filter list
status - show current xdp-filter status
poll - poll statistics output
help - show this help message
Use 'xdp-filter COMMAND --help' to see options for each command
Examples (3) from the manual page, untested
xdp-filter load eth0 -f tcp,udp
To filter all packets arriving on port 80 on eth0, issue the following commands:xdp-filter load eth0 -f ipv6 -p deny
To filter all packets except those from IP address fc00:dead:cafe::1 issue the following commands (careful, this can lock you out of remote access!):xdp-filter load eth0 -f ipv6,tcp -p deny
To allow packets from either IP fc00:dead:cafe::1 or arriving on port 22, issue the following (careful, this can lock you out of remote access!):
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.