aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/act_api.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-09-06 17:20:35 +0200
committerFlorian Westphal <fw@strlen.de>2022-09-07 16:46:04 +0200
commitc92c27171040554cfda7a3fc925e9dbcb5b4a698 (patch)
tree59d7fc3e6dbecbee86cb99add3454a1f999f5047 /include/net/act_api.h
parentnetfilter: move from strlcpy with unused retval to strscpy (diff)
downloadwireguard-linux-c92c27171040554cfda7a3fc925e9dbcb5b4a698.tar.xz
wireguard-linux-c92c27171040554cfda7a3fc925e9dbcb5b4a698.zip
netfilter: nat: move repetitive nat port reserve loop to a helper
Almost all nat helpers reserve an expecation port the same way: Try the port inidcated by the peer, then move to next port if that port is already in use. We can squash this into a helper. Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/net/act_api.h')
0 files changed, 0 insertions, 0 deletions