about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/gnu/netinet/udp.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 63673cfd32..d34d672860 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
+	(UDP_ENCAP_GTP1U): Likewise.
+
 	* sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
 	(PF_MAX): Update value.
 	(AF_QIPCRTR): New macro.
diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h
index bcc3213dc2..e3d4492c8a 100644
--- a/sysdeps/gnu/netinet/udp.h
+++ b/sysdeps/gnu/netinet/udp.h
@@ -87,6 +87,8 @@ 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 */
 
 #define SOL_UDP            17      /* sockopt level for UDP */