PPP, add PPPoS CB for PPPoS private data
Created a new PPPoS CB going to have PPPoS private data, so allocating a PPPoE or a PPPoL2TP interface does not allocate as well PPPoS variables.
This commit is contained in:
@@ -39,6 +39,14 @@
|
||||
|
||||
#include "ppp.h"
|
||||
|
||||
/*
|
||||
* PPPoS interface control block.
|
||||
*/
|
||||
typedef struct pppos_pcb_s pppos_pcb;
|
||||
struct pppos_pcb_s {
|
||||
ppp_pcb *ppp; /* PPP PCB */
|
||||
};
|
||||
|
||||
/* Create a new PPPoS session. */
|
||||
ppp_pcb *ppp_over_serial_create(struct netif *pppif, sio_fd_t fd,
|
||||
ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
|
||||
|
||||
Reference in New Issue
Block a user