From d12eab9c4e375e1669637dd34674c8b8208cf867 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 2 Aug 2017 19:49:47 +0200 Subject: ippool: Add IPv6 support to IP pool implementation Extend the IP pool implementation to be able to manage both pools of 32bit addresses (IPv4) as well as pools of 128bit addresses (IPv6) Change-Id: Ib98cc4bf634d6be9a7bf8c03a24e629455fcafc8 --- ggsn/gtp-kernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ggsn/gtp-kernel.h') diff --git a/ggsn/gtp-kernel.h b/ggsn/gtp-kernel.h index 83280a0..b3b29e3 100644 --- a/ggsn/gtp-kernel.h +++ b/ggsn/gtp-kernel.h @@ -8,7 +8,7 @@ extern char *ipup; #ifdef GTP_KERNEL int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net, - struct in_addr *mask, + size_t prefixlen, struct gengetopt_args_info *args_info); void gtp_kernel_stop(void); @@ -19,7 +19,7 @@ int gtp_kernel_enabled(void); #else static inline int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net, - struct in_addr *mask, + size_t prefixlen, struct gengetopt_args_info *args_info) { if (args_info->gtp_linux_given) { -- cgit v1.2.3