Searched refs:nat_ip (Results 1 – 1 of 1) sorted by relevance
/NetX-Duo-v6.3.0/samples/ |
D | demo_netx_nat.c | 29 NX_IP nat_ip; variable 120 … status = nx_ip_create(&nat_ip, "NAT IP Instance", NX_NAT_EXTERNAL_IPADR, NX_NAT_EXTERNAL_NETMASK, in tx_application_define() 135 …status += nx_ip_interface_attach(&nat_ip, "Private Interface", NX_NAT_LOCAL_IPADR, NX_NAT_LOCAL_NE… in tx_application_define() 175 status = nx_ip_gateway_address_set(&nat_ip, NX_NAT_EXTERNAL_GATEWAY); in tx_application_define() 206 status = nx_arp_enable(&nat_ip, (void **) pointer, in tx_application_define() 248 nx_icmp_enable(&nat_ip); in tx_application_define() 253 status = nx_nat_create(&nat_server, &nat_ip, 0, pointer, NX_NAT_ENTRY_CACHE_SIZE); in tx_application_define()
|