diff options
Diffstat (limited to 'accel-pptpd/ppp/ppp.h')
-rw-r--r-- | accel-pptpd/ppp/ppp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp.h b/accel-pptpd/ppp/ppp.h index fb6b20f6..372520de 100644 --- a/accel-pptpd/ppp/ppp.h +++ b/accel-pptpd/ppp/ppp.h @@ -130,6 +130,7 @@ struct ppp_handler_t struct list_head entry; int proto; void (*recv)(struct ppp_handler_t*); + void (*recv_proto_rej)(struct ppp_handler_t *h); }; struct ppp_t *alloc_ppp(void); @@ -138,6 +139,7 @@ int establish_ppp(struct ppp_t *ppp); int ppp_chan_send(struct ppp_t *ppp, void *data, int size); int ppp_unit_send(struct ppp_t *ppp, void *data, int size); void lcp_send_proto_rej(struct ppp_t *ppp, uint16_t proto); +void ppp_recv_proto_rej(struct ppp_t *ppp, uint16_t proto); struct ppp_fsm_t* ppp_lcp_init(struct ppp_t *ppp); void ppp_layer_started(struct ppp_t *ppp,struct ppp_layer_data_t*); |