Linux Kernel GTP-U code for GTPv0/v1. Part of mainline Linux for several years.
Go to file
Pablo Neira Ayuso 5747406dbb gtp: create socket from userspace and pass them as configuration
openggsn already sets up the UDP sockets that we need for the control
and user planes of GTP. Since we cannot bind two UDP sockets (one from
userspace and another from the kernel) to the same port, change the
current code to pass the socket descriptors that has been allocated
by openggsn (or whatever daemon which uses the GTP kernel
infrastructure).

Two new attributes are added to set up the tunnel device: IFLA_GTP_FD0
(for GTP0) and IFLA_GTP_FD1 (for GTP1u), which specify the UDP socket
created from userspace. Thus, the GTP kernel code only takes care of
enabling the kernel UDP encapsulation routine.
2014-02-23 23:09:59 +01:00
libgtnl gtp: create socket from userspace and pass them as configuration 2014-02-23 23:09:59 +01:00
Makefile add libgtpnl 2014-02-20 19:41:29 +01:00
genl.h genl: ix crash due to missing wrong prototype 2014-01-21 18:09:17 +01:00
gtp.c gtp: create socket from userspace and pass them as configuration 2014-02-23 23:09:59 +01:00
gtp.h gtp: use lookup table to calculate gtp1u header length 2014-02-18 16:27:01 +01:00
gtp_nl.h gtp: create socket from userspace and pass them as configuration 2014-02-23 23:09:59 +01:00