47struct pppapi_msg_msg {
52 ppp_notify_phase_cb_fn notify_phase_cb;
58 pppos_output_cb_fn output_cb;
59 ppp_link_status_cb_fn link_status_cb;
68 const char *concentrator_name;
69 ppp_link_status_cb_fn link_status_cb;
79#if PPPOL2TP_AUTH_SUPPORT
83 ppp_link_status_cb_fn link_status_cb;
102 struct pppapi_msg_msg
msg;
106err_t pppapi_set_default(ppp_pcb *pcb);
108err_t pppapi_set_notify_phase_callback(ppp_pcb *pcb, ppp_notify_phase_cb_fn notify_phase_cb);
111ppp_pcb *pppapi_pppos_create(
struct netif *pppif, pppos_output_cb_fn output_cb, ppp_link_status_cb_fn link_status_cb,
void *ctx_cb);
115 const char *concentrator_name, ppp_link_status_cb_fn link_status_cb,
121 ppp_link_status_cb_fn link_status_cb,
void *ctx_cb);
123err_t pppapi_connect(ppp_pcb *pcb,
u16_t holdoff);
125err_t pppapi_listen(ppp_pcb *pcb);
127err_t pppapi_close(ppp_pcb *pcb,
u8_t nocarrier);
128err_t pppapi_free(ppp_pcb *pcb);
static char service_name[100]
static DATA_BLOB CRYPTPROTECT_PROMPTSTRUCT DATA_BLOB *static LPWSTR DATA_BLOB CRYPTPROTECT_PROMPTSTRUCT DATA_BLOB *static char secret[]
#define API_MSG_M_DEF_C(t, m)