![]() |
Contiki-NG
|
Standalone native NAT64 translator: lets a single node reach IPv4 hosts through NAT64 without a border router or tun device. More...
#include "contiki.h"#include "net/ipv6/uip.h"#include "nat64.h"#include "nat64-platform.h"#include "nat64-standalone.h"#include "sys/log.h"Go to the source code of this file.
Variables | |
| const struct uip_fallback_interface | nat64_standalone_interface = { init, output } |
| uIP fallback interface that translates the node's own NAT64-prefix traffic over host IPv4 sockets. | |
Standalone native NAT64 translator: lets a single node reach IPv4 hosts through NAT64 without a border router or tun device.
NAT64 normally lives in a border router, which provides the uIP fallback interface and initializes the translator. This module is a native-platform stand-in: a fallback interface that hands the node's own 64:ff9b::/96 datagrams to the NAT64 service, which translates them over host IPv4 sockets. Its module-macros.h wires UIP_FALLBACK_INTERFACE to this interface, so building the module is all an application has to do.
Definition in file nat64-standalone.c.
| const struct uip_fallback_interface nat64_standalone_interface = { init, output } |
uIP fallback interface that translates the node's own NAT64-prefix traffic over host IPv4 sockets.
The module's module-macros.h points UIP_FALLBACK_INTERFACE at it automatically when the module is built.
Definition at line 93 of file nat64-standalone.c.