Home
last modified time | relevance | path

Searched refs:nat_server (Results 1 – 1 of 1) sorted by relevance

/NetX-Duo-v6.3.0/samples/
Ddemo_netx_nat.c28 NX_NAT_DEVICE nat_server; variable
253 status = nx_nat_create(&nat_server, &nat_ip, 0, pointer, NX_NAT_ENTRY_CACHE_SIZE); in tx_application_define()
291 …if ((nat_server.forwarded_packets_received != 0) || (nat_server.forwarded_packets_sent != 0) ||(na… in ntest_0_entry()
310 …if ((nat_server.forwarded_packets_received != 0) || (nat_server.forwarded_packets_sent != 0) ||(na… in ntest_0_entry()
322 nx_nat_enable(&nat_server); in ntest_0_entry()
335 …if ((nat_server.forwarded_packets_received != 2) || (nat_server.forwarded_packets_sent != 2) ||(na… in ntest_0_entry()
353 …if ((nat_server.forwarded_packets_received != 3) || (nat_server.forwarded_packets_sent != 2) ||(na… in ntest_0_entry()
365 …status = nx_nat_inbound_entry_create(&nat_server, &server_inbound_entry_icmp, NX_NAT_LOCAL_HOST1, … in ntest_0_entry()
384 …if ((nat_server.forwarded_packets_received != 5) || (nat_server.forwarded_packets_sent != 4) ||(na… in ntest_0_entry()