path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2019-08-28gtp-kernel.c: Fix wrong use of in46a_from_eua, print IPv6 euasPau Espin Pedrol1-4/+13
2019-08-28Move pdp_get_peer_ipv() to lib/util.*Pau Espin Pedrol3-2/+55
2019-08-28in46_addr: Improve in46a_ntop documentationPau Espin Pedrol1-1/+5
2019-08-28Introduce in46a_is_v{4,6}() helpersPau Espin Pedrol1-0/+8
2018-11-22properly store IPv6 addresses in struct tun_tStefan Sperling2-10/+16
2018-11-22fix format string error in ippool_printaddr()Stefan Sperling1-1/+1
2018-11-22initialize local variable addr in ippool_new()Stefan Sperling1-1/+1
2018-11-22replace bogus memcpy() call in ippool_newip()Stefan Sperling1-1/+9
2018-11-22fix allocation of ippool's hash tableStefan Sperling1-3/+2
2018-11-21check ioctl() call return value in tun_new()Stefan Sperling1-1/+4
2018-10-21ippool.c: Use "%td" format string for ptrdiff_tHarald Welte1-6/+6
2018-04-25Move kernel GTP support from ggsn/ to lib/Harald Welte5-26/+255
2018-04-25lib/tun: Remove tun_setaddr() API, as everyone is using tun_addaddr() nowHarald Welte2-17/+0
2018-04-25lib/netdev.c: Cosmetic changes (coding style / cleanups)Harald Welte1-49/+10
2018-04-25lib/tun: split generic network device related stuff to lib/netdevHarald Welte5-755/+842
2018-04-25lib/tun.c: Generalize tun_{set,add}addr*() functionsHarald Welte1-51/+98
2018-04-25lib/tun.c: generalize tun_*route() to netdev_*route()Harald Welte2-15/+8
2018-04-25lib/tun.c: Generalize tun_sifflags() to netdev_sifflagsHarald Welte1-7/+7
2017-12-14Set tun_addaddr ipv agnostic and add support for ipv6Pau Espin Pedrol2-3/+182
2017-12-14tun.c: tun_addaddr: Fix segfault and wrong usage of tun_nlattrPau Espin Pedrol1-2/+3
2017-12-11Add support for IPv4v6 End User AddressesPau Espin Pedrol2-27/+84
2017-12-01cosmetic: Reorder tun_addaddr to get rid of decl of tun_setaddr4Pau Espin Pedrol1-172/+169
2017-12-01tun_setaddr6: Fix log typoPau Espin Pedrol1-1/+1
2017-11-13factor out netdev_ip_local_get() from tun_ip_local_get()Harald Welte2-4/+25
2017-11-06ippool: Correctly compute size of static poolHarald Welte1-1/+1
2017-11-06tun: Don't copy 16byte IPv6 address to 'struct in_addr'Harald Welte1-1/+0
2017-10-17ippool: Implement and use blacklist instead of blindly using IPPOOL_NOGATEWAYPau Espin Pedrol2-14/+26
2017-10-16tun: Convert tun_ipv6_linklocal_get to be more genericPau Espin Pedrol2-14/+64
2017-10-16lib/in46a: Introduce in46a_netmasklen APIPau Espin Pedrol2-0/+59
2017-10-16lib/ippool: Fix listsize calculated 1 elem too smallPau Espin Pedrol1-1/+1
2017-10-13in46a_to_sas(): Return AF_INET6 in case of IPv6 addressHarald Welte1-1/+1
2017-10-13Remove trailing whitespacePau Espin Pedrol5-13/+13
2017-10-12lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()Pau Espin Pedrol1-0/+2
2017-10-01Replace EUA magic numbers for IETF, IPv4 and IPv6 with #definesHarald Welte1-6/+7
2017-09-24ICMPv6: Send router advertisement from own link-local addressHarald Welte2-0/+34
2017-09-06Introduce a VTY, factually turning OpenGGSN into an Osmocom programHarald Welte2-2/+4
2017-09-05lib/tun: Mark internal helper functions 'static'Harald Welte1-3/+3
2017-09-05Remove __sun__ code that is unmaintainedHarald Welte1-259/+0
2017-09-05lib/tun.c: Proper cleanup during tun_new() error pathsHarald Welte1-13/+32
2017-09-05lib/ippool: Move ippool_aton() out of ippool_new()Harald Welte2-19/+13
2017-09-05lib/ippool: Add back-pointer from pool member to poolHarald Welte2-0/+3
2017-09-05lib/in46_addr: Avoid ASSERT() when in46a_ntop() is called on uninitialized ad...Harald Welte1-1/+8
2017-09-05lib/in46_addr: Add 'struct in46_prefix' to represent addr + prefixHarald Welte2-0/+13
2017-09-05lib/in46_addr: Add in46a_ntoa() function, similar to inet_ntoa()Harald Welte2-0/+11
2017-09-05lib/tun: Add 'void *priv' pointer to tun_tHarald Welte1-0/+2
2017-09-05lib/tun: Add missing #include to net/if.h for IFNAMSIZHarald Welte1-0/+2
2017-08-11tun_new(): Fix array overflow in FreeBSD related codeHarald Welte1-1/+1
2017-08-11replace hand-coded tun_gifindex() with standard POSIX if_nametoindex()Harald Welte1-25/+3
2017-08-11Support setting TUN device IPv6 address + prefixHarald Welte2-11/+119
2017-08-11IPv6: in46_addr: OSMO_ASSERT() in case of unsupported callsHarald Welte1-0/+6