diff options
Diffstat (limited to 'apps/netutils/pppd/pap.c')
-rw-r--r-- | apps/netutils/pppd/pap.c | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/apps/netutils/pppd/pap.c b/apps/netutils/pppd/pap.c index 7e732f2b1..1e5363aa4 100644 --- a/apps/netutils/pppd/pap.c +++ b/apps/netutils/pppd/pap.c @@ -62,7 +62,13 @@ * Private Functions ****************************************************************************/ -/*---------------------------------------------------------------------------*/ +/**************************************************************************** + * Public Functions + ****************************************************************************/ + +/**************************************************************************** + * Name: pap_init + ****************************************************************************/ void pap_init(struct ppp_context_s *ctx) { @@ -71,9 +77,10 @@ void pap_init(struct ppp_context_s *ctx) ctx->pap_prev_seconds = 0; } -/*---------------------------------------------------------------------------*/ -/* pap_rx() - PAP RX protocol Handler */ -/*---------------------------------------------------------------------------*/ +/**************************************************************************** + * pap_rx() - PAP RX protocol Handler + * + ****************************************************************************/ void pap_rx(struct ppp_context_s *ctx, u8_t *buffer, u16_t count) { @@ -109,11 +116,12 @@ void pap_rx(struct ppp_context_s *ctx, u8_t *buffer, u16_t count) break; } } -/*---------------------------------------------------------------------------*/ -/* pap_task() - This task needs to be called every so often during the PAP + +/**************************************************************************** + * pap_task() - This task needs to be called every so often during the PAP * negotiation phase. This task sends PAP REQ packets. - */ -/*---------------------------------------------------------------------------*/ + * + ****************************************************************************/ void pap_task(struct ppp_context_s *ctx, u8_t *buffer) { @@ -185,5 +193,3 @@ void pap_task(struct ppp_context_s *ctx, u8_t *buffer) } } } - -/*---------------------------------------------------------------------------*/ |