PPP, SERVER: added PPPoS server support

New function: ppp_listen(), listen for an incoming PPP connection.
This commit is contained in:
Sylvain Rochet
2015-02-28 22:41:18 +01:00
parent 89771de6d0
commit 371bc91d73
9 changed files with 166 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ static err_t pppol2tp_xmit(pppol2tp_pcb *l2tp, struct pbuf *pb);
/* Callbacks structure for PPP core */
static const struct link_callbacks pppol2tp_callbacks = {
pppol2tp_connect,
#if PPP_SERVER
NULL,
#endif /* PPP_SERVER */
pppol2tp_disconnect,
pppol2tp_destroy,
pppol2tp_write,