Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/test/regression/ppp_test/
Dnetx_ppp_IPCP_timeout.c41 static NX_PPP ppp_1; variable
138 …status = nx_ppp_create(&ppp_1, "PPP1", &ip_1, pointer, 2048, 1, &pool_1, invalid_packet_handler, … in test_application_define()
146 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
162 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
163 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
204 if (ppp_1.nx_ppp_lcp_state >= 2) in thread_0_entry()
213 ppp_1.nx_ppp_timeout = NX_PPP_PROTOCOL_TIMEOUT; in thread_0_entry()
214 ppp_1.nx_ppp_lcp_state = NX_PPP_LCP_COMPLETED_STATE; in thread_0_entry()
215 ppp_1.nx_ppp_ipcp_state = NX_PPP_IPCP_START_STATE; in thread_0_entry()
281 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_pap_null_name_password_test.c27 static NX_PPP ppp_1; variable
134 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
142 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
149 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
150 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
157 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in test_application_define()
163 status = nx_ppp_nak_authentication_notify(&ppp_1, nak_authentication_notify); in test_application_define()
210 (ppp_0.nx_ppp_authenticated != 1) || (ppp_1.nx_ppp_authenticated != 1) || in thread_0_entry()
221 nx_ppp_delete(&ppp_1); in thread_0_entry()
254 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_request_dns_server_test.c25 static NX_PPP ppp_1; variable
116 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
126 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
156 status += nx_ppp_dns_address_set(&ppp_1, IP_ADDRESS(1,2,3,79)); in test_application_define()
228 status = nx_ppp_dns_address_get(&ppp_1, &dns_address); in thread_1_entry()
234 status = nx_ppp_secondary_dns_address_get(&ppp_1, &secondary_dns_address); in thread_1_entry()
254 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_PAP_bad_password_test.c29 static NX_PPP ppp_1; variable
137 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
145 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
152 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
153 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
160 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in test_application_define()
166 status = nx_ppp_nak_authentication_notify(&ppp_1, nak_authentication_notify); in test_application_define()
209 if ((status) || (ppp_0.nx_ppp_authenticated == 0) || (ppp_1.nx_ppp_authenticated == 0) || in thread_0_entry()
260 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_chap_bad_secret_passed_on_retry_test.c34 static NX_PPP ppp_1; variable
151 …status = nx_ppp_create(&ppp_1, "PPP1", &ip_1, pointer, 2048, 1, &pool_1, invalid_packet_handler, … in test_application_define()
160 status = nx_ppp_chap_enable(&ppp_1, NX_NULL, get_responder_values_ppp1, NX_NULL); in test_application_define()
162 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
164 status += nx_ppp_nak_authentication_notify(&ppp_1, nak_authentication_notify); in test_application_define()
167 status += nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
214 if ((status) || (!ppp_0.nx_ppp_authenticated) || (!ppp_1.nx_ppp_authenticated) || in thread_0_entry()
218 (ppp_1_retry_counter != 1) || nak_authentication_failed || (!ppp_1.nx_ppp_authenticated) || in thread_0_entry()
253 nx_ppp_delete(&ppp_1); in thread_1_entry()
388 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_PAP_bad_username_test.c31 static NX_PPP ppp_1; variable
142 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
150 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
157 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
158 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
165 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in test_application_define()
171 status = nx_ppp_nak_authentication_notify(&ppp_1, nak_authentication_notify); in test_application_define()
264 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_IPCP_retransmit_test.c28 static NX_PPP ppp_1; variable
125 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
133 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
140 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
141 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
357 nx_ppp_byte_receive(&ppp_1, temp_data[i]); in ppp_0_serial_byte_output()
366 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_acfc_option_test.c25 static NX_PPP ppp_1; variable
146 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
156 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
165 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
166 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
363 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
370 nx_ppp_byte_receive(&ppp_1, udp_data[i]); in ppp_0_serial_byte_output()
Dnetx_ppp_check_boundary_test.c30 static NX_PPP ppp_1; variable
132 …status = nx_ppp_create(&ppp_1, "PPP1", &ip_1, pointer, 2048, 1, &pool_1, invalid_packet_handler, … in test_application_define()
140 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
156 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
157 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
352 nx_ppp_delete(&ppp_1); in thread_1_entry()
366 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_pfc_option_test.c25 static NX_PPP ppp_1; variable
146 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
156 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
165 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
166 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
363 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
370 nx_ppp_byte_receive(&ppp_1, udp_data[i]); in ppp_0_serial_byte_output()
Dnetx_ppp_chap_bad_secret_failed_retry_test.c35 static NX_PPP ppp_1; variable
150 …status = nx_ppp_create(&ppp_1, "PPP1", &ip_1, pointer, 2048, 1, &pool_1, invalid_packet_handler, p… in test_application_define()
158 status = nx_ppp_chap_enable(&ppp_1, NX_NULL, get_responder_values_ppp1, NX_NULL); in test_application_define()
160 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
162 status += nx_ppp_nak_authentication_notify(&ppp_1, nak_authentication_notify); in test_application_define()
165 status += nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
212 …if ((status != NX_NOT_SUCCESSFUL) || (ppp_0.nx_ppp_authenticated == 1) || (ppp_1.nx_ppp_authentic… in thread_0_entry()
347 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_IPCP_nak_test.c28 static NX_PPP ppp_1; variable
134 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
142 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
149 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
150 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
157 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in test_application_define()
335 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_pap_basic_test.c25 static NX_PPP ppp_1; variable
142 …status = nx_ppp_create(&ppp_1, "PPP 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_packet_handler,… in test_application_define()
152 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in test_application_define()
161 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in test_application_define()
162 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in test_application_define()
171 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in test_application_define()
401 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_LCP_timeout.c32 static NX_PPP ppp_1; variable
173 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_LCP_invalid_packet_test.c24 static NX_PPP ppp_1; variable
193 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
Dnetx_ppp_IPCP_abnormal_packet_test.c25 static NX_PPP ppp_1; variable
234 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()
/NetX-Duo-v6.2.1/samples/
Ddemo_netx_ppp.c29 NX_PPP ppp_1; variable
140 …status = nx_ppp_create(&ppp_1, "NetX PPP Instance 1", &ip_1, pointer, 2048, 1, &pool_0, invalid_p… in tx_application_define()
148 status = nx_ppp_ip_address_assign(&ppp_1, IP_ADDRESS(0, 0, 0, 0), IP_ADDRESS(0, 0, 0, 0)); in tx_application_define()
155 status = nx_ppp_link_up_notify(&ppp_1, link_up_callback); in tx_application_define()
156 status += nx_ppp_link_down_notify(&ppp_1, link_down_callback); in tx_application_define()
163 status = nx_ppp_pap_enable(&ppp_1, generate_login, NX_NULL); in tx_application_define()
328 nx_ppp_byte_receive(&ppp_1, byte); in ppp_0_serial_byte_output()