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.
Fork of OmniWheels by
lwip_pppapi.c File Reference
Point To Point Protocol Sequential API module. More...
Go to the source code of this file.
Functions | |
| LWIP_MEMPOOL_DECLARE (PPPAPI_MSG, MEMP_NUM_PPP_API_MSG, sizeof(struct pppapi_msg),"PPPAPI_MSG") | |
| Call ppp_set_default() inside the tcpip_thread context. | |
| err_t | pppapi_set_default (ppp_pcb *pcb) |
| Call ppp_set_default() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_set_notify_phase_callback (struct tcpip_api_call_data *m) |
| Call ppp_set_notify_phase_callback() inside the tcpip_thread context. | |
| err_t | pppapi_set_notify_phase_callback (ppp_pcb *pcb, ppp_notify_phase_cb_fn notify_phase_cb) |
| Call ppp_set_notify_phase_callback() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_pppos_create (struct tcpip_api_call_data *m) |
| Call pppos_create() inside the tcpip_thread context. | |
| ppp_pcb * | pppapi_pppos_create (struct netif *pppif, pppos_output_cb_fn output_cb, ppp_link_status_cb_fn link_status_cb, void *ctx_cb) |
| Call pppos_create() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_pppoe_create (struct tcpip_api_call_data *m) |
| Call pppoe_create() inside the tcpip_thread context. | |
| ppp_pcb * | pppapi_pppoe_create (struct netif *pppif, struct netif *ethif, const char *service_name, const char *concentrator_name, ppp_link_status_cb_fn link_status_cb, void *ctx_cb) |
| Call pppoe_create() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_pppol2tp_create (struct tcpip_api_call_data *m) |
| Call pppol2tp_create() inside the tcpip_thread context. | |
| ppp_pcb * | pppapi_pppol2tp_create (struct netif *pppif, struct netif *netif, ip_addr_t *ipaddr, u16_t port, const u8_t *secret, u8_t secret_len, ppp_link_status_cb_fn link_status_cb, void *ctx_cb) |
| Call pppol2tp_create() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_connect (struct tcpip_api_call_data *m) |
| Call ppp_connect() inside the tcpip_thread context. | |
| err_t | pppapi_connect (ppp_pcb *pcb, u16_t holdoff) |
| Call ppp_connect() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_listen (struct tcpip_api_call_data *m) |
| Call ppp_listen() inside the tcpip_thread context. | |
| err_t | pppapi_listen (ppp_pcb *pcb) |
| Call ppp_listen() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_close (struct tcpip_api_call_data *m) |
| Call ppp_close() inside the tcpip_thread context. | |
| err_t | pppapi_close (ppp_pcb *pcb, u8_t nocarrier) |
| Call ppp_close() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_free (struct tcpip_api_call_data *m) |
| Call ppp_free() inside the tcpip_thread context. | |
| err_t | pppapi_free (ppp_pcb *pcb) |
| Call ppp_free() in a thread-safe way by running that function inside the tcpip_thread context. | |
| static err_t | pppapi_do_ppp_ioctl (struct tcpip_api_call_data *m) |
| Call ppp_ioctl() inside the tcpip_thread context. | |
| err_t | pppapi_ioctl (ppp_pcb *pcb, u8_t cmd, void *arg) |
| Call ppp_ioctl() in a thread-safe way by running that function inside the tcpip_thread context. | |
Detailed Description
Point To Point Protocol Sequential API module.
Definition in file lwip_pppapi.c.
Function Documentation
| LWIP_MEMPOOL_DECLARE | ( | PPPAPI_MSG | , |
| MEMP_NUM_PPP_API_MSG | , | ||
| sizeof(struct pppapi_msg) | , | ||
| "PPPAPI_MSG" | |||
| ) |
Call ppp_set_default() inside the tcpip_thread context.
Definition at line 45 of file lwip_pppapi.c.
| err_t pppapi_close | ( | ppp_pcb * | pcb, |
| u8_t | nocarrier | ||
| ) |
Call ppp_close() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 350 of file lwip_pppapi.c.
| err_t pppapi_connect | ( | ppp_pcb * | pcb, |
| u16_t | holdoff | ||
| ) |
Call ppp_connect() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 285 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_close | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_close() inside the tcpip_thread context.
Definition at line 336 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_connect | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_connect() inside the tcpip_thread context.
Definition at line 271 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_free | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_free() inside the tcpip_thread context.
Definition at line 368 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_ioctl | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_ioctl() inside the tcpip_thread context.
Definition at line 399 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_listen | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_listen() inside the tcpip_thread context.
Definition at line 304 of file lwip_pppapi.c.
| static err_t pppapi_do_ppp_set_notify_phase_callback | ( | struct tcpip_api_call_data * | m ) | [static] |
Call ppp_set_notify_phase_callback() inside the tcpip_thread context.
Definition at line 91 of file lwip_pppapi.c.
| static err_t pppapi_do_pppoe_create | ( | struct tcpip_api_call_data * | m ) | [static] |
Call pppoe_create() inside the tcpip_thread context.
Definition at line 167 of file lwip_pppapi.c.
| static err_t pppapi_do_pppol2tp_create | ( | struct tcpip_api_call_data * | m ) | [static] |
Call pppol2tp_create() inside the tcpip_thread context.
Definition at line 212 of file lwip_pppapi.c.
| static err_t pppapi_do_pppos_create | ( | struct tcpip_api_call_data * | m ) | [static] |
Call pppos_create() inside the tcpip_thread context.
Definition at line 126 of file lwip_pppapi.c.
| err_t pppapi_free | ( | ppp_pcb * | pcb ) |
Call ppp_free() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 382 of file lwip_pppapi.c.
| err_t pppapi_ioctl | ( | ppp_pcb * | pcb, |
| u8_t | cmd, | ||
| void * | arg | ||
| ) |
Call ppp_ioctl() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 413 of file lwip_pppapi.c.
| err_t pppapi_listen | ( | ppp_pcb * | pcb ) |
Call ppp_listen() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 318 of file lwip_pppapi.c.
| ppp_pcb* pppapi_pppoe_create | ( | struct netif * | pppif, |
| struct netif * | ethif, | ||
| const char * | service_name, | ||
| const char * | concentrator_name, | ||
| ppp_link_status_cb_fn | link_status_cb, | ||
| void * | ctx_cb | ||
| ) |
Call pppoe_create() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 184 of file lwip_pppapi.c.
| ppp_pcb* pppapi_pppol2tp_create | ( | struct netif * | pppif, |
| struct netif * | netif, | ||
| ip_addr_t * | ipaddr, | ||
| u16_t | port, | ||
| const u8_t * | secret, | ||
| u8_t | secret_len, | ||
| ppp_link_status_cb_fn | link_status_cb, | ||
| void * | ctx_cb | ||
| ) |
Call pppol2tp_create() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 236 of file lwip_pppapi.c.
| ppp_pcb* pppapi_pppos_create | ( | struct netif * | pppif, |
| pppos_output_cb_fn | output_cb, | ||
| ppp_link_status_cb_fn | link_status_cb, | ||
| void * | ctx_cb | ||
| ) |
Call pppos_create() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 142 of file lwip_pppapi.c.
| err_t pppapi_set_default | ( | ppp_pcb * | pcb ) |
Call ppp_set_default() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 73 of file lwip_pppapi.c.
| err_t pppapi_set_notify_phase_callback | ( | ppp_pcb * | pcb, |
| ppp_notify_phase_cb_fn | notify_phase_cb | ||
| ) |
Call ppp_set_notify_phase_callback() in a thread-safe way by running that function inside the tcpip_thread context.
Definition at line 106 of file lwip_pppapi.c.
Generated on Fri Jul 22 2022 04:54:07 by
1.7.2
