Richard Fuchs
e39f2ee64e
MT#57371 split up rtpe_target function
... so that the core functionality can be re-used
Change-Id: Ie567110dc3c407ee38dcf6710d090828206db619
2 years ago
Richard Fuchs
b263abad85
MT#57371 split out function to add UDP filter
Change-Id: I4ff6af17f82571b1470eed818a33269d2656f5c9
2 years ago
Richard Fuchs
4be28b8909
MT#57371 remove leftover test code
Change-Id: I64e71b191572ca752580bd04a93b1fbdd61b89d7
2 years ago
Richard Fuchs
3823507815
MT#57371 fix rule deletion
We need to reset the condition flag for each rule, otherwise we may end
up deleting everything
Change-Id: Ic7f827149d18cce9e7b5d8ae5f0145bd52bee12d
2 years ago
Richard Fuchs
804df63f74
MT#57371 use non-local storage for nft target info
Setting the target info of an `expr` object doesn't result on the data
being copied by libnftnl (unlike other objects). Use static storage to
fix invalid pointer usage.
Reported in #984
Closes #1731
Change-Id: Ic5c156a83504a24fb618d770ba53cd1ec4fb2435
2 years ago
Richard Fuchs
794f8e3c01
MT#57371 nftables support
closes #984
Change-Id: I6b63165bcd5b2ab8c60391cc1d2c9fdc18a40121
2 years ago