chain: add ChainHookEgress
NETDEV tables can have egress hooks. Add the definition to enable that case.
This commit is contained in:
parent
0b98a7af91
commit
4dbe06f125
1
chain.go
1
chain.go
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue