summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.h
diff options
context:
space:
mode:
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 ae2a7c9..c810e4a 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;