aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tun.c
AgeCommit message (Expand)AuthorFilesLines
2018-04-25Move kernel GTP support from ggsn/ to lib/Harald Welte1-24/+49
2018-04-25lib/tun: Remove tun_setaddr() API, as everyone is using tun_addaddr() nowHarald Welte1-14/+0
2018-04-25lib/tun: split generic network device related stuff to lib/netdevHarald Welte1-713/+0
2018-04-25lib/tun.c: Generalize tun_{set,add}addr*() functionsHarald Welte1-51/+97
2018-04-25lib/tun.c: generalize tun_*route() to netdev_*route()Harald Welte1-13/+7
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 Pedrol1-1/+180
2017-12-14tun.c: tun_addaddr: Fix segfault and wrong usage of tun_nlattrPau Espin Pedrol1-2/+3
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 Welte1-4/+22
2017-11-06tun: Don't copy 16byte IPv6 address to 'struct in_addr'Harald Welte1-1/+0
2017-10-16tun: Convert tun_ipv6_linklocal_get to be more genericPau Espin Pedrol1-13/+52
2017-10-13Remove trailing whitespacePau Espin Pedrol1-3/+3
2017-10-12lib/tun.c: tun_ipv6_linklocal_get(): fix memory leak with getifaddrs()Pau Espin Pedrol1-0/+2
2017-09-24ICMPv6: Send router advertisement from own link-local addressHarald Welte1-0/+32
2017-09-06Introduce a VTY, factually turning OpenGGSN into an Osmocom programHarald Welte1-1/+3
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-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 Welte1-9/+114
2015-05-02openggsn: Check return codes and take error paths on failure.Michael McTernan1-3/+16
2014-12-04logging: Switch to using libosmocore logging for all the codeHolger Hans Peter Freyther1-46/+45
2012-11-05Remove out-of-bounds writeTobias Engel1-1/+0
2011-11-02Convert all code to Linux coding styleHarald Welte1-595/+583
2010-10-20IFNAMSIZ includes terminating 0Emmanuel Bretelle1-1/+1
2010-10-20fixed compilation warning against gcc-4.4Emmanuel Bretelle1-10/+19
2010-10-20Move common sgsnemu/ggsn files to directory "lib"Emmanuel Bretelle1-0/+897