chain: add ChainHookEgress

NETDEV tables can have egress hooks. Add the definition to enable that case.
This commit is contained in:
Daniel Mack 2024-03-12 15:13:11 +01:00 committed by Michael Stapelberg
parent 0b98a7af91
commit 4dbe06f125
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ var (
ChainHookOutput *ChainHook = ChainHookRef(unix.NF_INET_LOCAL_OUT)
ChainHookPostrouting *ChainHook = ChainHookRef(unix.NF_INET_POST_ROUTING)
ChainHookIngress *ChainHook = ChainHookRef(unix.NF_NETDEV_INGRESS)
ChainHookEgress *ChainHook = ChainHookRef(unix.NF_NETDEV_EGRESS)
)
// ChainHookRef returns a pointer to a ChainHookRef value.