]> git.baikalelectronics.ru Git - kernel.git/commit
gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)
authorPablo Neira <pablo@netfilter.org>
Sun, 8 May 2016 22:55:48 +0000 (00:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 16:25:04 +0000 (12:25 -0400)
commit72e354c774b16c3e3a1b70f2b18beb1902ce46a3
tree4c109121a7894781048385e104036fb6cd6820ff
parentb125249016491a58f15eb9ce55ecb3201bf665c8
gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)

This is an initial implementation of a netdev driver for GTP datapath
(GTP-U) v0 and v1, according to the GSM TS 09.60 and 3GPP TS 29.060
standards. This tunneling protocol is used to prevent subscribers from
accessing mobile carrier core network infrastructure.

This implementation requires a GGSN userspace daemon that implements the
signaling protocol (GTP-C), such as OpenGGSN [1]. This userspace daemon
updates the PDP context database that represents active subscriber
sessions through a genetlink interface.

For more context on this tunneling protocol, you can check the slides
that were presented during the NetDev 1.1 [2].

Only IPv4 is supported at this time.

[1] http://git.osmocom.org/openggsn/
[2] http://www.netdevconf.org/1.1/proceedings/slides/schultz-welte-osmocom-gtp.pdf

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/gtp.c [new file with mode: 0644]
include/net/gtp.h [new file with mode: 0644]
include/uapi/linux/Kbuild
include/uapi/linux/gtp.h [new file with mode: 0644]
include/uapi/linux/if_link.h
include/uapi/linux/udp.h