|
void | pppGetDefaultSettings (PppSettings *settings) |
| Initialize settings with default values. More...
|
|
error_t | pppInit (PppContext *context, const PppSettings *settings) |
| PPP initialization. More...
|
|
error_t | pppSetTimeout (NetInterface *interface, systime_t timeout) |
| Set timeout value for blocking operations. More...
|
|
error_t | pppSetAuthInfo (NetInterface *interface, const char_t *username, const char_t *password) |
| Set PPP authentication information. More...
|
|
bool_t | pppCheckPassword (NetInterface *interface, const char_t *password) |
| Password verification. More...
|
|
error_t | pppSendAtCommand (NetInterface *interface, const char_t *data) |
| Send AT command. More...
|
|
error_t | pppReceiveAtCommand (NetInterface *interface, char_t *data, size_t size) |
| Wait for an incoming AT command. More...
|
|
error_t | pppConnect (NetInterface *interface) |
| Establish a PPP connection. More...
|
|
error_t | pppClose (NetInterface *interface) |
| Close a PPP connection. More...
|
|
void | pppTick (NetInterface *interface) |
| PPP timer handler. More...
|
|
void | pppProcessFrame (NetInterface *interface, uint8_t *frame, size_t length, NetRxAncillary *ancillary) |
| Process an incoming PPP frame. More...
|
|
error_t | pppSendFrame (NetInterface *interface, NetBuffer *buffer, size_t offset, uint16_t protocol) |
| Send a PPP frame. More...
|
|
size_t | pppParseFrameHeader (const uint8_t *frame, size_t length, uint16_t *protocol) |
| Parse PPP frame header. More...
|
|
uint16_t | pppCalcFcs (const uint8_t *data, size_t length) |
| FCS calculation. More...
|
|
uint16_t | pppCalcFcsEx (const NetBuffer *buffer, size_t offset, size_t length) |
| Calculate FCS over a multi-part buffer. More...
|
|
NetBuffer * | pppAllocBuffer (size_t length, size_t *offset) |
| Allocate a buffer to hold a PPP frame. More...
|
|
PPP (Point-to-Point Protocol)
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 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.
- Author
- Oryx Embedded SARL (www.oryx-embedded.com)
- Version
- 2.4.4
Definition in file ppp.c.