summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPProvost <[email protected]>2020-05-15 17:33:20 -0600
committerPProvost <[email protected]>2020-05-15 17:33:20 -0600
commite30d15dbd76a74d79ebcbf5bd5e483c0a433d684 (patch)
treee0cae8de6cf7fa3569dff3a9ed2710a64e750b41
parented5f401cba21c11f09828349422ed2a769cfedb6 (diff)
Updated code for RC5
-rw-r--r--samples/demo_netx_pppoe_client.c5
-rw-r--r--samples/demo_netx_pppoe_server.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/samples/demo_netx_pppoe_client.c b/samples/demo_netx_pppoe_client.c
index d022c4c5..622fc29c 100644
--- a/samples/demo_netx_pppoe_client.c
+++ b/samples/demo_netx_pppoe_client.c
@@ -51,7 +51,7 @@
#ifndef NX_DISABLE_IPV4
-/* 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 using PPP, since PPP module has been modified to match PPPoE module under this definition. */
#ifdef NX_PPP_PPPOE_ENABLE
/* If the driver is not initialized in other module, define NX_PPPOE_CLIENT_INITIALIZE_DRIVER_ENABLE to initialize the driver in PPPoE module .
@@ -89,8 +89,7 @@ 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 to simulate TTP's PPP.
- Functions to be provided by PPP for calling by the PPPoE Stack. */
+/* Define the porting layer function for PPP */
void ppp_client_packet_send(NX_PACKET *packet_ptr);
void pppoe_client_packet_receive(NX_PACKET *packet_ptr);
diff --git a/samples/demo_netx_pppoe_server.c b/samples/demo_netx_pppoe_server.c
index 0cf5cf7b..c7a88075 100644
--- a/samples/demo_netx_pppoe_server.c
+++ b/samples/demo_netx_pppoe_server.c
@@ -51,7 +51,7 @@
#ifndef NX_DISABLE_IPV4
-/* 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 using PPP, since PPP module has been modified to match PPPoE module under this definition. */
#ifdef NX_PPP_PPPOE_ENABLE
/* If the driver is not initialized in other module, define NX_PPPOE_SERVER_INITIALIZE_DRIVER_ENABLE to initialize the driver in PPPoE module .
@@ -101,8 +101,7 @@ void PppCloseReq(UINT interfaceHandle);
void PppTransmitDataReq(UINT interfaceHandle, ULONG length, UCHAR *data, UINT packet_id);
void PppReceiveDataRsp(UINT interfaceHandle, UCHAR *data);
-/* Define the porting layer function for Express Logic's PPP to simulate TTP's PPP.
- Functions to be provided by PPP for calling by the PPPoE Stack. */
+/* Define the porting layer function for PPP. */
void ppp_server_packet_send(NX_PACKET *packet_ptr);
/* Define main entry point. */
@@ -369,7 +368,7 @@ void PppReceiveDataRsp(UINT interfaceHandle, UCHAR *data)
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