From 9bc3fa4216fb2ad043232584b5a5e134e64830ed Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 23 Aug 2011 18:02:22 +0400 Subject: ppp: ipv6: multiple prefixes, route option, rdnss option implementation --- accel-pppd/ipdb.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'accel-pppd/ipdb.h') diff --git a/accel-pppd/ipdb.h b/accel-pppd/ipdb.h index 3a717a15..69d54792 100644 --- a/accel-pppd/ipdb.h +++ b/accel-pppd/ipdb.h @@ -13,13 +13,21 @@ struct ipv4db_item_t in_addr_t peer_addr; }; -struct ipv6db_item_t +struct ipv6db_addr_t { - struct ipdb_t *owner; + struct list_head entry; struct in6_addr addr; int prefix_len; }; +struct ipv6db_item_t +{ + struct ipdb_t *owner; + uint64_t intf_id; + struct list_head addr_list; + struct list_head route_list; +}; + struct ipdb_t { -- cgit v1.2.3