summaryrefslogtreecommitdiff
path: root/accel-pppd/ipdb.h
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-06-19 19:06:06 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-06-19 19:06:06 +0400
commit02b3fb2b24aacd90d535c2136a055f529d722974 (patch)
tree6243dd815869add07be2bad5846e7817b732ac59 /accel-pppd/ipdb.h
parentc553a7bbbc96d36ba4d0999bb172c7a926518eb1 (diff)
downloadaccel-ppp-02b3fb2b24aacd90d535c2136a055f529d722974.tar.gz
accel-ppp-02b3fb2b24aacd90d535c2136a055f529d722974.zip
general preparation for IPoE integration
Diffstat (limited to 'accel-pppd/ipdb.h')
-rw-r--r--accel-pppd/ipdb.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/accel-pppd/ipdb.h b/accel-pppd/ipdb.h
index 2781bd08..0d13b76e 100644
--- a/accel-pppd/ipdb.h
+++ b/accel-pppd/ipdb.h
@@ -40,24 +40,24 @@ struct ipdb_t
{
struct list_head entry;
- struct ipv4db_item_t *(*get_ipv4)(struct ppp_t *ppp);
- void (*put_ipv4)(struct ppp_t *ppp, struct ipv4db_item_t *);
+ struct ipv4db_item_t *(*get_ipv4)(struct ap_session *ses);
+ void (*put_ipv4)(struct ap_session *ses, struct ipv4db_item_t *);
- struct ipv6db_item_t *(*get_ipv6)(struct ppp_t *ppp);
- void (*put_ipv6)(struct ppp_t *ppp, struct ipv6db_item_t *);
+ struct ipv6db_item_t *(*get_ipv6)(struct ap_session *ses);
+ void (*put_ipv6)(struct ap_session *ses, struct ipv6db_item_t *);
- struct ipv6db_prefix_t *(*get_ipv6_prefix)(struct ppp_t *ppp);
- void (*put_ipv6_prefix)(struct ppp_t *ppp, struct ipv6db_prefix_t *);
+ struct ipv6db_prefix_t *(*get_ipv6_prefix)(struct ap_session *ses);
+ void (*put_ipv6_prefix)(struct ap_session *ses, struct ipv6db_prefix_t *);
};
-struct ipv4db_item_t *ipdb_get_ipv4(struct ppp_t *ppp);
-void ipdb_put_ipv4(struct ppp_t *ppp, struct ipv4db_item_t *);
+struct ipv4db_item_t *ipdb_get_ipv4(struct ap_session *ses);
+void ipdb_put_ipv4(struct ap_session *ses, struct ipv4db_item_t *);
-struct ipv6db_item_t *ipdb_get_ipv6(struct ppp_t *ppp);
-void ipdb_put_ipv6(struct ppp_t *ppp, struct ipv6db_item_t *);
+struct ipv6db_item_t *ipdb_get_ipv6(struct ap_session *ses);
+void ipdb_put_ipv6(struct ap_session *ses, struct ipv6db_item_t *);
-struct ipv6db_prefix_t __export *ipdb_get_ipv6_prefix(struct ppp_t *ppp);
-void __export ipdb_put_ipv6_prefix(struct ppp_t *ppp, struct ipv6db_prefix_t *it);
+struct ipv6db_prefix_t __export *ipdb_get_ipv6_prefix(struct ap_session *ses);
+void __export ipdb_put_ipv6_prefix(struct ap_session *ses, struct ipv6db_prefix_t *it);
void ipdb_register(struct ipdb_t *);