summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-08 15:51:29 +0400
committerKozlov Dmitry <dima@server>2010-09-08 15:51:29 +0400
commit4c6469a9fd820db713251a645ac2499782f796ed (patch)
treefd7c4926eb2a3e2aa047bd14da429f3d6a5f8e6f /accel-pptpd/ppp/ppp.h
parentec759f72fcf7d517fdfe8d043c75d0218363bc78 (diff)
downloadaccel-ppp-xebd-4c6469a9fd820db713251a645ac2499782f796ed.tar.gz
accel-ppp-xebd-4c6469a9fd820db713251a645ac2499782f796ed.zip
radius: implemented packet exchange
radius: implemented PAP authorization radius: implemented IP assigning triton: implemented userspace context switching and other stuff
Diffstat (limited to 'accel-pptpd/ppp/ppp.h')
-rw-r--r--accel-pptpd/ppp/ppp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pptpd/ppp/ppp.h b/accel-pptpd/ppp/ppp.h
index da2fb97..e287b7b 100644
--- a/accel-pptpd/ppp/ppp.h
+++ b/accel-pptpd/ppp/ppp.h
@@ -45,7 +45,7 @@ struct ppp_t;
struct ppp_ctrl_t
{
- struct triton_ctx_t *ctx;
+ struct triton_context_t *ctx;
void (*started)(struct ppp_t*);
void (*finished)(struct ppp_t*);
};
@@ -111,7 +111,7 @@ struct ppp_layer_t
{
struct list_head entry;
struct ppp_layer_data_t *(*init)(struct ppp_t *);
- void (*start)(struct ppp_layer_data_t*);
+ int (*start)(struct ppp_layer_data_t*);
void (*finish)(struct ppp_layer_data_t*);
void (*free)(struct ppp_layer_data_t *);
};
@@ -146,5 +146,7 @@ void ppp_unregister_notified(struct ppp_notified_t *);
void ppp_notify_started(struct ppp_t *ppp);
void ppp_notify_finished(struct ppp_t *ppp);
+extern int conf_ppp_verbose;
+
extern int sock_fd; // internet socket for ioctls
#endif