diff options
author | Pablo Neira <pablo@netfilter.org> | 2016-05-09 00:55:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-10 12:25:04 -0400 |
commit | 459aa660eb1d8ce67080da1983bb81d716aa5a69 (patch) | |
tree | 4c109121a7894781048385e104036fb6cd6820ff /include/uapi/linux/udp.h | |
parent | c047c3b1af6214b447e353527e394fa3f3e86397 (diff) | |
download | talos-obmc-linux-459aa660eb1d8ce67080da1983bb81d716aa5a69.tar.gz talos-obmc-linux-459aa660eb1d8ce67080da1983bb81d716aa5a69.zip |
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>
Diffstat (limited to 'include/uapi/linux/udp.h')
-rw-r--r-- | include/uapi/linux/udp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/udp.h b/include/uapi/linux/udp.h index 16574ea18f0c..2c8180f9156f 100644 --- a/include/uapi/linux/udp.h +++ b/include/uapi/linux/udp.h @@ -36,6 +36,7 @@ struct udphdr { #define UDP_ENCAP_ESPINUDP_NON_IKE 1 /* draft-ietf-ipsec-nat-t-ike-00/01 */ #define UDP_ENCAP_ESPINUDP 2 /* draft-ietf-ipsec-udp-encaps-06 */ #define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */ - +#define UDP_ENCAP_GTP0 4 /* GSM TS 09.60 */ +#define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */ #endif /* _UAPI_LINUX_UDP_H */ |