aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2020-05-12debug: use LOGL_NOTICE instead of LOGL_DEBUGPhilipp Maier1-1/+1
2020-04-21sgsnemu: Implement ping on IPv6 APNsPau Espin Pedrol2-1/+11
2020-04-21sgsnemu: Handle IPv6 SLAAC in tun iface manuallyPau Espin Pedrol4-55/+204
2020-04-15Rename netdev_*route to end in route4Pau Espin Pedrol3-9/+9
2020-04-15icmpv6.c: Move code generating ipv6 hdr to its own functionPau Espin Pedrol1-16/+25
2020-04-15icmpv6.c: Mark internal function as staticPau Espin Pedrol1-1/+1
2020-04-15cosmetic: icmpv6.c: fix typo in commentPau Espin Pedrol1-1/+1
2020-04-14lib/netns: Fix up error pathsHarald Welte1-20/+54
2020-04-14netdev_addaddr6: Use prefixlen argPau Espin Pedrol1-1/+1
2020-04-14lib/netns: OSMO_ASSERT() if user doesn't call init_netns()Harald Welte1-1/+13
2020-04-14lib/netns.c: Add comments to the code, including doxygen API docsHarald Welte1-0/+45
2020-04-14Move icmpv6 and checksum files from ggsn/ dir to lib/Pau Espin Pedrol5-2/+467
2020-04-14sgsnemu: Set its default loglevel category to INFOPau Espin Pedrol1-1/+1
2020-03-03lib/netns: fix open_ns(): return fd from open()Vadim Yanitskiy1-1/+1
2020-03-02netns: Improve error checkingPau Espin Pedrol2-56/+90
2020-02-26add Linux network namespace support for TUN deviceAndreas Schultz3-2/+184
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