diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-07-15 02:21:07 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-07-15 02:21:07 +0400 |
commit | e687bb04784040fb26c231540e3c7b3ad9fd73d9 (patch) | |
tree | f0fce402e40b2043add9d59c8b9b811aa212b112 /accel-pppd/ctrl/ipoe/ipoe.h | |
parent | 177d7a666c96c66cadc44917654a7892dbad9150 (diff) | |
download | accel-ppp-e687bb04784040fb26c231540e3c7b3ad9fd73d9.tar.gz accel-ppp-e687bb04784040fb26c231540e3c7b3ad9fd73d9.zip |
ipoe: better support for ip unnumbered
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.h')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.h b/accel-pppd/ctrl/ipoe/ipoe.h index d18db698..edf97540 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.h +++ b/accel-pppd/ctrl/ipoe/ipoe.h @@ -16,12 +16,14 @@ struct ipoe_serv int ifindex; int active; struct list_head sessions; + struct list_head addr_list; struct dhcpv4_serv *dhcpv4; pthread_mutex_t lock; int opt_mode; int opt_shared:1; int opt_dhcpv4:1; int opt_up:1; + int opt_ifcfg:1; int need_close:1; }; @@ -51,6 +53,8 @@ struct ipoe_session uint8_t *data; struct dhcpv4_packet *dhcpv4_request; int ifindex; + int ifcfg:1; + int dhcp_addr:1; }; struct ipoe_session_info |