Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/utility/iperf/
Ddemo_iperf.c33 NX_IP ip_0; variable
85 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(192, 168, 100, 18), 0xFFFFFF00UL, &p… in tx_application_define()
94 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
102 status = nx_icmp_enable(&ip_0); in tx_application_define()
109 status = nx_udp_enable(&ip_0); in tx_application_define()
116 status = nx_tcp_enable(&ip_0); in tx_application_define()
137 status = nxd_icmp_enable(&ip_0); in tx_application_define()
142 status = nxd_ipv6_enable(&ip_0); in tx_application_define()
146 status = nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 10, NX_NULL); in tx_application_define()
166 nx_iperf_entry(&pool_0, &ip_0, http_stack, HTTP_STACK_SIZE, iperf_stack, IPERF_STACK_SIZE); in thread_0_entry()
/NetX-Duo-v6.3.0/samples/
Ddemo_netx_pppoe_client.c71 NX_IP ip_0; variable
156 …status = nx_ip_create(&ip_0, "NetX IP Instance", IP_ADDRESS(192, 168, 100, 44), 0xFFFFFF00UL, &poo… in tx_application_define()
165 …status = nx_ppp_create(&ppp_client, "PPP Instance", &ip_0, pointer, 2048, 1, &pool_0, NX_NULL, NX_… in tx_application_define()
194 …status = nx_ip_interface_attach(&ip_0, "Second Interface For PPP", IP_ADDRESS(0, 0, 0, 0), 0, nx_p… in tx_application_define()
201 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
209 status = nx_icmp_enable(&ip_0); in tx_application_define()
214 status = nx_udp_enable(&ip_0); in tx_application_define()
219 status = nx_tcp_enable(&ip_0); in tx_application_define()
239 …status = nx_pppoe_client_create(&pppoe_client, (UCHAR *)"PPPoE Client", &ip_0, 0, &pool_0, poin… in thread_0_entry()
256 …status = nx_ip_interface_status_check(&ip_0, 1, NX_IP_ADDRESS_RESOLVED, &ip_status, NX_WAIT_FOREVE… in thread_0_entry()
Ddemo_netx_duo_ptp_client.c21 static NX_IP ip_0; variable
114 status = nx_ip_create(&ip_0, in tx_application_define()
129 status = nx_arp_enable(&ip_0, (void *)arp_space_area, sizeof(arp_space_area)); in tx_application_define()
136 status = nx_tcp_enable(&ip_0); in tx_application_define()
143 status = nx_udp_enable(&ip_0); in tx_application_define()
150 status = nx_icmp_enable(&ip_0); in tx_application_define()
175 nx_ptp_client_create(&ptp_client, &ip_0, 0, &pool_0, in thread_0_entry()
244 nx_dhcp_create(&dhcp_client, &ip_0, "dhcp_client"); in dhcp_wait()
250 nx_ip_status_check(&ip_0, NX_IP_ADDRESS_RESOLVED, &actual_status, NX_WAIT_FOREVER); in dhcp_wait()
253 nx_ip_address_get(&ip_0, &ip_address, &network_mask); in dhcp_wait()
[all …]
Dmain.c140 static NX_IP ip_0; variable
235 status = nx_ip_create(&ip_0, "NetX IP Instance 0", in tx_application_define()
250 status = nx_arp_enable(&ip_0, (VOID *)sample_arp_cache_area, sizeof(sample_arp_cache_area)); in tx_application_define()
260 status = nx_icmp_enable(&ip_0); in tx_application_define()
271 status = nx_tcp_enable(&ip_0); in tx_application_define()
281 status = nx_udp_enable(&ip_0); in tx_application_define()
332 … status = nx_http_proxy_client_enable(&ip_0, &proxy_server_address, SAMPLE_HTTP_PROXY_SERVER_PORT, in sample_helper_thread_entry()
349 SAMPLE_NETWORK_CONFIGURE(&ip_0, &dns_server_address[0]); in sample_helper_thread_entry()
351 nx_ip_gateway_address_set(&ip_0, SAMPLE_GATEWAY_ADDRESS); in sample_helper_thread_entry()
355 nx_ip_address_get(&ip_0, &ip_address, &network_mask); in sample_helper_thread_entry()
[all …]
Ddemo_netx_pppoe_server.c75 NX_IP ip_0; variable
166 …status = nx_ip_create(&ip_0, "NetX IP Instance", IP_ADDRESS(192, 168, 100, 43), 0xFFFFFF00UL, &poo… in tx_application_define()
175 …status = nx_ppp_create(&ppp_server, "PPP Instance", &ip_0, pointer, 2048, 1, &pool_0, NX_NULL, NX_… in tx_application_define()
204 …status = nx_ip_interface_attach(&ip_0, "Second Interface For PPP", IP_ADDRESS(0, 0, 0, 0), 0, nx_p… in tx_application_define()
211 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
219 status = nx_icmp_enable(&ip_0); in tx_application_define()
224 status = nx_udp_enable(&ip_0); in tx_application_define()
229 status = nx_tcp_enable(&ip_0); in tx_application_define()
249 …status = nx_pppoe_server_create(&pppoe_server, (UCHAR *)"PPPoE Server", &ip_0, 0, _nx_ram_networ… in thread_0_entry()
288 …status = nx_ip_interface_status_check(&ip_0, 1, NX_IP_ADDRESS_RESOLVED, &ip_status, NX_WAIT_FOREVE… in thread_0_entry()
Ddemo_netx_duo_udp.c20 NX_IP ip_0; variable
91 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in tx_application_define()
108 status = nx_arp_enable(&ip_0, (void *)pointer, 1024); in tx_application_define()
125 status = nxd_ipv6_enable(&ip_0); in tx_application_define()
139 status = nxd_icmp_enable(&ip_0); in tx_application_define()
152 status = nx_udp_enable(&ip_0); in tx_application_define()
173 status = nxd_ipv6_global_address_set(&ip_0, &ip_address, 64); in tx_application_define()
245 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
268 nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0, 0); in thread_0_entry()
Ddemo_netxduo_snmp.c17 NX_IP ip_0; variable
113 status = nx_ip_create(&ip_0, "SNMP Agent IP Instance", AGENT_PRIMARY_ADDRESS, in tx_application_define()
126 nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
130 nx_icmp_enable(&ip_0); in tx_application_define()
134 nx_udp_enable(&ip_0); in tx_application_define()
137 status = nx_snmp_agent_create(&my_agent, "SNMP Agent", &ip_0, pointer, 4096, &pool_0, in tx_application_define()
180 status = nxd_ipv6_enable(&ip_0); in thread_agent_entry()
190 status = nxd_icmp_enable(&ip_0); in thread_agent_entry()
210 status = nxd_ipv6_address_set(&ip_0, iface_index, NX_NULL, 10, &address_index); in thread_agent_entry()
222 status = nxd_ipv6_address_set(&ip_0, iface_index, &agent_ipv6_address, 64, &address_index); in thread_agent_entry()
[all …]
Ddemo_netx_auto_ip.c18 NX_IP ip_0; variable
93 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(0, 0, 0, 0), 0xFFFFFF00UL, &pool_0, … in tx_application_define()
106 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
118 status = nx_udp_enable(&ip_0); in tx_application_define()
126 status = nx_auto_ip_create(&auto_ip_0, "AutoIP 0", &ip_0, pointer, 4096, 1); in tx_application_define()
144 status = nx_ip_address_change_notify(&ip_0, ip_address_changed, (void *) &auto_ip_0); in tx_application_define()
170 …status = nx_ip_status_check(&ip_0, NX_IP_ADDRESS_RESOLVED, &actual_status, 10 * NX_IP_PERIODIC_RA… in thread_0_entry()
175 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
Ddemo_netx_duo_multihome_tcp.c79 NX_IP ip_0; variable
206 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in tx_application_define()
230 …status = nx_ip_interface_attach(&ip_0, "IP_0 Secondary Interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFF… in tx_application_define()
239 status = nx_arp_enable(&ip_0, (void *)pointer, 1024); in tx_application_define()
255 status = nxd_ipv6_enable(&ip_0); in tx_application_define()
269 status = nxd_icmp_enable(&ip_0); in tx_application_define()
283 status = nx_tcp_enable(&ip_0); in tx_application_define()
342 …status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, NX_NULL, 10, &ip0_primary_linklocal_addres… in thread_0_entry()
364 …status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &ip_address, 64, &ip0_primary_global_addre… in thread_0_entry()
388 …status = nxd_ipv6_address_set(&ip_0, SECONDARY_INTERFACE, NX_NULL, 10, &ip0_secondary_linklocal_ad… in thread_0_entry()
[all …]
Ddemo_netx_duo_multihome_udp.c79 NX_IP ip_0; variable
217 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in tx_application_define()
241 …status = nx_ip_interface_attach(&ip_0, "IP_0 Secondary Interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFF… in tx_application_define()
250 status = nx_arp_enable(&ip_0, (void *)pointer, 1024); in tx_application_define()
266 status = nxd_ipv6_enable(&ip_0); in tx_application_define()
280 status = nxd_icmp_enable(&ip_0); in tx_application_define()
294 status = nx_udp_enable(&ip_0); in tx_application_define()
353 …status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, NX_NULL, 10, &ip0_primary_linklocal_addres… in thread_0_entry()
375 …status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &ip_address, 64, &ip0_primary_global_addre… in thread_0_entry()
399 …status = nxd_ipv6_address_set(&ip_0, SECONDARY_INTERFACE, NX_NULL, 10, &ip0_secondary_linklocal_ad… in thread_0_entry()
[all …]
Ddemo_netx_duo_tcp.c22 NX_IP ip_0; variable
98 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in tx_application_define()
114 status = nx_arp_enable(&ip_0, (void *)pointer, 1024); in tx_application_define()
130 status = nxd_ipv6_enable(&ip_0); in tx_application_define()
144 status = nxd_icmp_enable(&ip_0); in tx_application_define()
158 status = nx_tcp_enable(&ip_0); in tx_application_define()
169 status = nxd_ipv6_global_address_set(&ip_0, &ip_address, 64); in tx_application_define()
247 status = nx_tcp_socket_create(&ip_0, &client_socket, "Client Socket", in thread_0_entry()
Ddemo_netx_ppp.c25 NX_IP ip_0; variable
105 …status = nx_ppp_create(&ppp_0, "NetX PPP Instance 0", &ip_0, pointer, 2048, 1, &pool_0, invalid_p… in tx_application_define()
135 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(0, 0, 0, 0), 0xFFFFF000UL, &pool_0, … in tx_application_define()
175 status = nx_udp_enable(&ip_0); in tx_application_define()
200 … status = nx_ip_status_check(&ip_0, NX_IP_LINK_ENABLED, &ip_status, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
204 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
Ddemo_netx_duo_mdns.c18 static NX_IP ip_0; variable
131 …status = nx_ip_create(&ip_0, "NetX Client IP Instance", IP_ADDRESS(192, 168, 100, 34), 0xFFFFFF00U… in tx_application_define()
144 nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
155 status = nx_icmp_enable(&ip_0); in tx_application_define()
158 status += nx_igmp_enable(&ip_0); in tx_application_define()
169 status = nx_ip_fragment_enable(&ip_0); in tx_application_define()
176 status = nx_udp_enable(&ip_0); in tx_application_define()
589 status = nx_mdns_create(&mdns, &ip_0, &pool_0, MDNS_PRIORITY, mdns_thread_stack, in thread_0_entry()