Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ppp_debug.c File Reference
Data logging functions for debugging purpose (PPP) More...
Go to the source code of this file.
Functions | |
| error_t | pppDumpPacket (const PppPacket *packet, size_t length, PppProtocol protocol) |
| Dump LCP/NCP packet for debugging purpose. | |
| error_t | lcpDumpPacket (const PppPacket *packet, size_t length) |
| Dump LCP packet for debugging purpose. | |
| error_t | ncpDumpPacket (const PppPacket *packet, size_t length, PppProtocol protocol) |
| Dump NCP packet for debugging purpose. | |
| error_t | papDumpPacket (const PppPacket *packet, size_t length) |
| Dump PAP packet for debugging purpose. | |
| error_t | chapDumpPacket (const PppPacket *packet, size_t length) |
| Dump CHAP packet for debugging purpose. | |
| error_t | lcpDumpOptions (const PppOption *option, size_t length) |
| Dump LCP options for debugging purpose. | |
| error_t | ipcpDumpOptions (const PppOption *option, size_t length) |
| Dump IPCP options for debugging purpose. | |
| error_t | ipv6cpDumpOptions (const PppOption *option, size_t length) |
| Dump IPV6CP options for debugging purpose. | |
Detailed Description
Data logging functions for debugging purpose (PPP)
License
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version:
- 1.7.6
Definition in file ppp_debug.c.
Function Documentation
| error_t chapDumpPacket | ( | const PppPacket * | packet, |
| size_t | length | ||
| ) |
Dump CHAP packet for debugging purpose.
- Parameters:
-
[in] packet Pointer to the PAP packet [in] length Length of the packet, in bytes
- Returns:
- Error code
Definition at line 591 of file ppp_debug.c.
| error_t ipcpDumpOptions | ( | const PppOption * | option, |
| size_t | length | ||
| ) |
Dump IPCP options for debugging purpose.
- Parameters:
-
[in] option Pointer to the option list [in] length Length of the option list, in bytes
- Returns:
- Error code
Definition at line 773 of file ppp_debug.c.
| error_t ipv6cpDumpOptions | ( | const PppOption * | option, |
| size_t | length | ||
| ) |
Dump IPV6CP options for debugging purpose.
- Parameters:
-
[in] option Pointer to the option list [in] length Length of the option list, in bytes
- Returns:
- Error code
Definition at line 844 of file ppp_debug.c.
| error_t lcpDumpOptions | ( | const PppOption * | option, |
| size_t | length | ||
| ) |
Dump LCP options for debugging purpose.
- Parameters:
-
[in] option Pointer to the option list [in] length Length of the option list, in bytes
- Returns:
- Error code
Definition at line 700 of file ppp_debug.c.
| error_t lcpDumpPacket | ( | const PppPacket * | packet, |
| size_t | length | ||
| ) |
Dump LCP packet for debugging purpose.
- Parameters:
-
[in] packet Pointer to the LCP packet [in] length Length of the packet, in bytes
- Returns:
- Error code
Definition at line 183 of file ppp_debug.c.
| error_t ncpDumpPacket | ( | const PppPacket * | packet, |
| size_t | length, | ||
| PppProtocol | protocol | ||
| ) |
Dump NCP packet for debugging purpose.
- Parameters:
-
[in] packet Pointer to the NCP packet [in] length Length of the packet, in bytes [in] protocol Protocol field
- Returns:
- Error code
Definition at line 341 of file ppp_debug.c.
| error_t papDumpPacket | ( | const PppPacket * | packet, |
| size_t | length | ||
| ) |
Dump PAP packet for debugging purpose.
- Parameters:
-
[in] packet Pointer to the PAP packet [in] length Length of the packet, in bytes
- Returns:
- Error code
Definition at line 471 of file ppp_debug.c.
| error_t pppDumpPacket | ( | const PppPacket * | packet, |
| size_t | length, | ||
| PppProtocol | protocol | ||
| ) |
Dump LCP/NCP packet for debugging purpose.
- Parameters:
-
[in] packet Pointer to the LCP packet [in] length Length of the packet, in bytes [in] protocol Protocol field
- Returns:
- Error code
Definition at line 141 of file ppp_debug.c.
Generated on Tue Jul 12 2022 17:10:21 by
1.7.2