Florian Westphal
c92c271710
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>
2022-09-07 16:46:04 +02:00
..
2022-09-07 16:46:04 +02:00
2022-08-25 10:33:21 +02:00
2022-07-12 12:58:53 +02:00
2022-08-22 17:59:37 -07:00
2022-07-21 20:59:42 -07:00
2022-07-08 12:10:33 +01:00
2022-08-31 19:51:06 -07:00
2022-08-24 13:46:58 +01:00
2022-03-07 13:14:04 +01:00
2022-07-21 13:03:39 -07:00
2022-08-31 19:50:36 -07:00
2022-02-17 11:44:20 -08:00
2021-09-28 17:32:56 -07:00
2022-04-30 15:12:58 +01:00
2022-07-21 13:03:39 -07:00
2022-07-25 12:42:10 +01:00
2022-08-29 12:47:15 +01:00
2021-05-17 15:29:35 -07:00
2022-08-25 10:33:21 +02:00
2022-07-15 11:49:55 +01:00
2022-09-02 20:34:31 -07:00
2022-08-24 19:30:07 -07:00
2022-05-12 16:52:18 -07:00
2022-04-30 15:12:58 +01:00
2022-08-24 19:30:07 -07:00
2022-07-13 12:56:49 +01:00
2022-07-08 12:10:33 +01:00
2022-07-15 11:49:55 +01:00
2022-03-03 14:38:48 +00:00
2022-08-18 21:18:28 +02:00
2022-07-15 18:50:35 -07:00
2022-01-29 17:53:07 +00:00
2022-08-30 12:02:55 +02:00
2022-09-06 23:21:18 +02:00
2022-06-27 11:50:30 +01:00
2022-08-18 21:18:28 +02:00
2021-10-13 09:41:37 -07:00
2021-06-30 15:51:09 -07:00
2022-08-04 11:31:20 -07:00
2021-10-13 09:41:37 -07:00
2022-06-24 11:34:38 +01:00
2022-09-02 20:34:31 -07:00
2022-04-12 14:56:33 -07:00
2021-02-26 12:28:03 -08:00
2022-05-16 13:03:29 +02:00
2022-07-13 12:56:50 +01:00
2022-06-23 12:33:24 -07:00
2022-07-15 11:49:55 +01:00
2021-05-17 15:29:35 -07:00
2022-06-21 11:38:29 +02:00
2022-06-24 22:48:33 -07:00
2022-07-25 13:25:39 +01:00
2022-07-20 10:14:49 +01:00
2022-07-20 10:14:49 +01:00
2022-07-21 20:59:42 -07:00
2022-04-06 12:05:41 -07:00
2022-06-23 12:33:24 -07:00
2022-04-06 12:05:41 -07:00
2022-04-07 20:33:15 -07:00
2022-07-21 20:59:42 -07:00
2022-07-21 20:59:42 -07:00
2022-08-17 10:19:22 +01:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-08-31 19:56:48 -07:00
2022-09-01 12:58:02 -07:00
2022-04-06 12:05:41 -07:00
2022-08-29 12:47:15 +01:00
2022-07-20 10:14:50 +01:00
2022-04-06 12:05:41 -07:00
2022-08-25 10:33:21 +02:00
2022-08-24 13:46:57 +01:00
2022-04-28 13:02:01 -07:00
2022-07-20 10:14:50 +01:00
2022-04-06 12:05:41 -07:00
2022-08-17 10:19:22 +01:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-09-06 23:21:18 +02:00
2021-05-17 15:29:35 -07:00
2022-04-12 15:00:25 +02:00
2021-07-13 09:28:29 -07:00
2022-04-12 15:00:25 +02:00
2021-11-24 17:21:42 -08:00
2021-09-21 10:17:20 +01:00
2022-02-23 12:35:00 +00:00
2022-08-01 12:07:53 +01:00
2022-06-10 16:21:26 -07:00
2022-06-09 21:52:55 -07:00
2022-06-08 10:10:13 -07:00
2021-09-23 10:10:00 +02:00