summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ppp/ppp.h')
-rw-r--r--accel-pptpd/ppp/ppp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp.h b/accel-pptpd/ppp/ppp.h
index ce6854a..76b379f 100644
--- a/accel-pptpd/ppp/ppp.h
+++ b/accel-pptpd/ppp/ppp.h
@@ -43,6 +43,7 @@
#define PPP_LAYER_IPCP 4
#define PPP_SESSIONID_LEN 32
+#define PPP_IFNAME_LEN 10
struct ppp_t;
@@ -71,6 +72,7 @@ struct ppp_t
int unit_idx;
char *chan_name;
+ char ifname[PPP_IFNAME_LEN];
char sessionid[PPP_SESSIONID_LEN+1];
time_t start_time;
char *username;
@@ -122,6 +124,7 @@ struct ppp_handler_t
};
struct ppp_t *alloc_ppp(void);
+void ppp_init(struct ppp_t *ppp);
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);