summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorFrançois Cachereul <f.cachereul@alphalink.fr>2014-10-29 09:30:29 +0100
committerDmitry Kozlov <xeb@mail.ru>2014-10-29 12:10:43 +0300
commitbf6d839b7bda89c30b3c2058b6424f4079a14ade (patch)
treeb043fe7c55d66ce8a48de59399414d3ecb4ce648 /accel-pppd/ppp
parent5ea15c8f7be55992cb874d38d8c7c17280448d82 (diff)
downloadaccel-ppp-bf6d839b7bda89c30b3c2058b6424f4079a14ade.tar.gz
accel-ppp-bf6d839b7bda89c30b3c2058b6424f4079a14ade.zip
ppp: cleanning of ppp.h
removes no longer used structures and prototypes. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ppp.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/accel-pppd/ppp/ppp.h b/accel-pppd/ppp/ppp.h
index e4030877..73fe4229 100644
--- a/accel-pppd/ppp/ppp.h
+++ b/accel-pppd/ppp/ppp.h
@@ -39,11 +39,6 @@
#define PPP_CBCP 0xc029 /* Callback Control Protocol */
#define PPP_EAP 0xc227 /* Extensible Authentication Protocol */
-struct ppp_t;
-
-struct ipv4db_item_t;
-struct ipv6db_item_t;
-
struct ppp_t
{
struct ap_session ses;
@@ -63,8 +58,6 @@ struct ppp_t
struct list_head unit_handlers;
struct list_head layers;
-
- struct ppp_lcp_t *lcp;
};
struct ppp_layer_t;
@@ -98,7 +91,6 @@ struct ppp_handler_t
void (*recv_proto_rej)(struct ppp_handler_t *h);
};
-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);
@@ -106,10 +98,6 @@ 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);
-void ppp_ifup(struct ppp_t *ppp);
-void ppp_ifdown(struct ppp_t *ppp);
-
-struct ppp_fsm_t* ppp_lcp_init(struct ppp_t *ppp);
void ppp_layer_started(struct ppp_t *ppp,struct ppp_layer_data_t*);
void ppp_layer_finished(struct ppp_t *ppp,struct ppp_layer_data_t*);
void ppp_layer_passive(struct ppp_t *ppp,struct ppp_layer_data_t*);
@@ -124,8 +112,6 @@ int ppp_register_layer(const char *name, struct ppp_layer_t *);
void ppp_unregister_layer(struct ppp_layer_t *);
struct ppp_layer_data_t *ppp_find_layer_data(struct ppp_t *, struct ppp_layer_t *);
-int ppp_ipv6_nd_start(struct ppp_t *ppp, uint64_t intf_id);
-
extern int conf_ppp_verbose;
#endif