nuttx-mirror/Documentation/components
Zhe Weng a1a09f271f net/nat: Support Symmetric NAT
The symmetric NAT limits one external port to be used with only one peer ip:port.

Note:
1. To avoid using too much #ifdef, we're always passing peer_ip and peer_port as arguments, but won't use them under full cone NAT, let the compiler optimize them.
2. We need to find port binding without peer ip:port, so don't add peer ip:port into hash key.
3. Symmetric NAT needs to *select another external port if a port is used by any other NAT entry*, this behavior is exactly same as Full Cone NAT, so we don't need to change anything related to `ipv4_nat_port_inuse`.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-04-07 23:57:55 +08:00
..
arch Documentation: update organization.rst 2023-10-30 20:29:54 +08:00
audio Documentation: add dummy pages for missing top directories 2023-10-27 13:21:40 -03:00
drivers drivers/analog/hx711.c: Add driver for hx711 adc 2024-02-26 19:16:51 -03:00
filesystem docs/comments: add simple document and fix typo 2024-03-03 01:55:07 +08:00
libs semaphore/_SEM_XX: Remove the _SEM redirection macros as unnecessary 2023-11-27 04:52:54 -08:00
mm Documentation: remove readme references 2023-10-27 13:21:40 -03:00
net net/nat: Support Symmetric NAT 2024-04-07 23:57:55 +08:00
nxgraphics Documentation: Fix various typos 2023-11-23 16:38:19 -08:00
tools Documentation: remove readme references 2023-10-27 13:21:40 -03:00
binfmt.rst Typo fixes. 2023-02-17 11:17:11 -03:00
boards.rst Documentation: update organization.rst 2023-10-30 20:29:54 +08:00
cmake.rst Documentation: initialize cmake doc 2023-10-27 13:21:40 -03:00
crypto.rst Documentation: add dummy pages for missing top directories 2023-10-27 13:21:40 -03:00
index.rst Documentation: move nxwidgets to applications as it is apps-side lib 2023-10-27 13:21:40 -03:00
nxflat.rst Documentation: cosmetics changes 2023-10-26 20:01:21 +08:00
openamp.rst Documentation: add dummy pages for missing top directories 2023-10-27 13:21:40 -03:00
paging.rst documentation: implement on-demand paging for RISC-V devices 2024-03-05 09:45:49 +08:00
syscall.rst docs/comments: fix some typos 2024-01-15 13:22:13 +08:00
video.rst Documentation: add dummy pages for missing top directories 2023-10-27 13:21:40 -03:00
wireless.rst Documentation: add dummy pages for missing top directories 2023-10-27 13:21:40 -03:00