summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-08-22 12:33:21 +0400
committerKozlov Dmitry <dima@server>2011-08-22 12:33:21 +0400
commit6815ca31e970c2a8bd1a7b630293dd8313782df8 (patch)
treeac8881b68f56c25883e9db7fb3d94f60496cc215 /accel-pppd/ppp/ppp.h
parenta93e43804c9a37b3cc2141d5ada3158653a7a221 (diff)
downloadaccel-ppp-6815ca31e970c2a8bd1a7b630293dd8313782df8.tar.gz
accel-ppp-6815ca31e970c2a8bd1a7b630293dd8313782df8.zip
futher ipv6 work
Diffstat (limited to 'accel-pppd/ppp/ppp.h')
-rw-r--r--accel-pppd/ppp/ppp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp.h b/accel-pppd/ppp/ppp.h
index ae2a7c99..c810e4a3 100644
--- a/accel-pppd/ppp/ppp.h
+++ b/accel-pppd/ppp/ppp.h
@@ -4,6 +4,7 @@
#include <sys/types.h>
#include <time.h>
#include <pthread.h>
+#include <netinet/in.h>
#include "triton.h"
#include "list.h"
@@ -98,8 +99,10 @@ struct ppp_t
time_t start_time;
time_t stop_time;
char *username;
- uint32_t ipaddr;
- uint32_t peer_ipaddr;
+ in_addr_t ipaddr;
+ in_addr_t peer_ipaddr;
+ struct in6_addr ipv6_addr;
+ int ipv6_prefix_len;
struct ppp_ctrl_t *ctrl;