diff options
| author | Wenhui Xie <[email protected]> | 2023-11-29 07:36:10 +0000 |
|---|---|---|
| committer | Wenhui Xie <[email protected]> | 2023-11-29 07:36:10 +0000 |
| commit | f066c4bf4e109775aa530954116a5372c3f774df (patch) | |
| tree | 14659b146d7df074e53d1d90d47ae9ffd1897162 | |
| parent | 4fc7650fcedd5b1e90fa4f2d7aa144f8795122ed (diff) | |
Optimize comments.
5 files changed, 18 insertions, 18 deletions
diff --git a/test/regression/pppoe_test/netx_pppoe_ac_name_test.c b/test/regression/pppoe_test/netx_pppoe_ac_name_test.c index 0f3873d5..a1b2752a 100644 --- a/test/regression/pppoe_test/netx_pppoe_ac_name_test.c +++ b/test/regression/pppoe_test/netx_pppoe_ac_name_test.c @@ -10,7 +10,7 @@ extern void test_control_return(UINT); #if !defined(NX_DISABLE_IPV4) && defined(NX_PPP_PPPOE_ENABLE) && defined(NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE) && defined(NX_PPPOE_CLIENT_INITIALIZE_DRIVER_ENABLE) && (NX_PHYSICAL_HEADER >= 24) && !defined(NX_PPPOE_SERVER_SESSION_CONTROL_ENABLE) -/* Defined NX_PPP_PPPOE_ENABLE if use Express Logic's PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ +/* Defined NX_PPP_PPPOE_ENABLE if use PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ /* If the driver is not initialized in other module, define NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE to initialize the driver in PPPoE module . In this demo, the driver has been initialized in IP module. */ @@ -61,11 +61,11 @@ extern void _nx_ram_network_driver(NX_IP_DRIVER *driver_req_ptr); /* Define the callback functions. */ static void pppoe_server_packet_receive(UINT interfaceHandle, ULONG length, UCHAR *data, UINT packet_id); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_server_packet_send(NX_PACKET *packet_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_client_packet_send(NX_PACKET *packet_ptr); static void pppoe_client_packet_receive(NX_PACKET *packet_ptr); @@ -449,7 +449,7 @@ NX_PACKET *packet_ptr; static void ppp_server_packet_send(NX_PACKET *packet_ptr) { -/* For Express Logic's PPP test, the session should be the first session, so set interfaceHandle as 0. */ +/* For PPP test, the session should be the first session, so set interfaceHandle as 0. */ UINT interfaceHandle = 0; /* Directly Call PPPoE send function to send out the data through PPPoE module. */ diff --git a/test/regression/pppoe_test/netx_pppoe_api_extended_test.c b/test/regression/pppoe_test/netx_pppoe_api_extended_test.c index 6467696c..07b027da 100644 --- a/test/regression/pppoe_test/netx_pppoe_api_extended_test.c +++ b/test/regression/pppoe_test/netx_pppoe_api_extended_test.c @@ -52,11 +52,11 @@ extern void _nx_ram_network_driver(NX_IP_DRIVER *driver_req_ptr); /* Define the callback functions. */ static void pppoe_server_packet_receive(UINT interfaceHandle, ULONG length, UCHAR *data, UINT packet_id); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_server_packet_send(NX_PACKET *packet_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_client_packet_send(NX_PACKET *packet_ptr); static void pppoe_client_packet_receive(NX_PACKET *packet_ptr); @@ -446,7 +446,7 @@ NX_PACKET *packet_ptr; static void ppp_server_packet_send(NX_PACKET *packet_ptr) { -/* For Express Logic's PPP test, the session should be the first session, so set interfaceHandle as 0. */ +/* For PPP test, the session should be the first session, so set interfaceHandle as 0. */ UINT interfaceHandle = 0; /* Directly Call PPPoE send function to send out the data through PPPoE module. */ diff --git a/test/regression/pppoe_test/netx_pppoe_api_test.c b/test/regression/pppoe_test/netx_pppoe_api_test.c index b32553ba..41286234 100644 --- a/test/regression/pppoe_test/netx_pppoe_api_test.c +++ b/test/regression/pppoe_test/netx_pppoe_api_test.c @@ -52,11 +52,11 @@ extern void _nx_ram_network_driver(NX_IP_DRIVER *driver_req_ptr); /* Define the callback functions. */ static void pppoe_server_packet_receive(UINT interfaceHandle, ULONG length, UCHAR *data, UINT packet_id); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_server_packet_send(NX_PACKET *packet_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_client_packet_send(NX_PACKET *packet_ptr); static void pppoe_client_packet_receive(NX_PACKET *packet_ptr); @@ -439,7 +439,7 @@ NX_PACKET *packet_ptr; static void ppp_server_packet_send(NX_PACKET *packet_ptr) { -/* For Express Logic's PPP test, the session should be the first session, so set interfaceHandle as 0. */ +/* For PPP test, the session should be the first session, so set interfaceHandle as 0. */ UINT interfaceHandle = 0; /* Directly Call PPPoE send function to send out the data through PPPoE module. */ diff --git a/test/regression/pppoe_test/netx_pppoe_basic_test.c b/test/regression/pppoe_test/netx_pppoe_basic_test.c index 59d2c211..ec6fae88 100644 --- a/test/regression/pppoe_test/netx_pppoe_basic_test.c +++ b/test/regression/pppoe_test/netx_pppoe_basic_test.c @@ -10,7 +10,7 @@ extern void test_control_return(UINT); #if !defined(NX_DISABLE_IPV4) && defined(NX_PPP_PPPOE_ENABLE) && defined(NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE) && defined(NX_PPPOE_CLIENT_INITIALIZE_DRIVER_ENABLE) && (NX_PHYSICAL_HEADER >= 24) && !defined(NX_PPPOE_SERVER_SESSION_CONTROL_ENABLE) -/* Defined NX_PPP_PPPOE_ENABLE if use Express Logic's PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ +/* Defined NX_PPP_PPPOE_ENABLE if use PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ /* If the driver is not initialized in other module, define NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE to initialize the driver in PPPoE module . In this demo, the driver has been initialized in IP module. */ @@ -61,11 +61,11 @@ extern void _nx_ram_network_driver(NX_IP_DRIVER *driver_req_ptr); /* Define the callback functions. */ static void pppoe_server_packet_receive(UINT interfaceHandle, ULONG length, UCHAR *data, UINT packet_id); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_server_packet_send(NX_PACKET *packet_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_client_packet_send(NX_PACKET *packet_ptr); static void pppoe_client_packet_receive(NX_PACKET *packet_ptr); @@ -433,7 +433,7 @@ NX_PACKET *packet_ptr; static void ppp_server_packet_send(NX_PACKET *packet_ptr) { -/* For Express Logic's PPP test, the session should be the first session, so set interfaceHandle as 0. */ +/* For test, the session should be the first session, so set interfaceHandle as 0. */ UINT interfaceHandle = 0; /* Directly Call PPPoE send function to send out the data through PPPoE module. */ diff --git a/test/regression/pppoe_test/netx_pppoe_session_control_test.c b/test/regression/pppoe_test/netx_pppoe_session_control_test.c index fbe55af9..d782c03d 100644 --- a/test/regression/pppoe_test/netx_pppoe_session_control_test.c +++ b/test/regression/pppoe_test/netx_pppoe_session_control_test.c @@ -10,7 +10,7 @@ extern void test_control_return(UINT); #if !defined(NX_DISABLE_IPV4) && defined(NX_PPP_PPPOE_ENABLE) && defined(NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE) && defined(NX_PPPOE_CLIENT_INITIALIZE_DRIVER_ENABLE) && (NX_PHYSICAL_HEADER >= 24) -/* Defined NX_PPP_PPPOE_ENABLE if use Express Logic's PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ +/* Defined NX_PPP_PPPOE_ENABLE if use PPP, since PPP module has been modified to match PPPoE moduler under this definition. */ /* If the driver is not initialized in other module, define NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE to initialize the driver in PPPoE module . In this demo, the driver has been initialized in IP module. */ @@ -58,11 +58,11 @@ extern void _nx_ppp_driver(NX_IP_DRIVER *driver_req_ptr); /***** Substitute your Ethernet driver entry function here *********/ extern void _nx_ram_network_driver(NX_IP_DRIVER *driver_req_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_server_packet_send(NX_PACKET *packet_ptr); -/* Define the porting layer function for Express Logic's PPP. +/* Define the porting layer function for PPP. Functions to be provided by PPP for calling by the PPPoE Stack. */ static void ppp_client_packet_send(NX_PACKET *packet_ptr); static void pppoe_client_packet_receive(NX_PACKET *packet_ptr); @@ -501,7 +501,7 @@ NX_PACKET *packet_ptr; static void ppp_server_packet_send(NX_PACKET *packet_ptr) { -/* For Express Logic's PPP test, the session should be the first session, so set interfaceHandle as 0. */ +/* For PPP test, the session should be the first session, so set interfaceHandle as 0. */ UINT interfaceHandle = 0; #ifdef NX_PPPOE_SERVER_SESSION_CONTROL_ENABLE |
