Dependents:
TYBLE16_simple_data_logger
TYBLE16_MP3_Air
« Back to documentation index
pppapi.c File Reference
Point To Point Protocol Sequential API module.
More...
Go to the source code of this file.
Functions
PPP_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 pppapi.c .
Function Documentation
PPP_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 44 of file 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 349 of file 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 284 of file 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 335 of file 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 270 of file 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 367 of file 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 398 of file 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 303 of file 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 90 of file 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 166 of file 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 211 of file 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 125 of file 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 381 of file 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 412 of file 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 317 of file 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 183 of file 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 235 of file 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 141 of file 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 72 of file 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 105 of file pppapi.c .