osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libgtpnl/+/34829?usp=email )


Change subject: include/linux/gtp.h: sync with kernel header
......................................................................

include/linux/gtp.h: sync with kernel header

Make the file exactly the same as include/uapi/linux/gtp.h in
linux.git. GTPA_SGSN_ADDRESS is not used, but we decided to rather add
it and not have a diff.

Related: 
https://gerrit.osmocom.org/c/libgtpnl/+/34735/comment/909c69a6_2fe7781a/
Change-Id: Icf7b78e6655b6573c09c2eaa71d22ef6742b2594
---
M include/linux/gtp.h
1 file changed, 21 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libgtpnl refs/changes/29/34829/1

diff --git a/include/linux/gtp.h b/include/linux/gtp.h
index 5d37b1c..3dcdb9e 100644
--- a/include/linux/gtp.h
+++ b/include/linux/gtp.h
@@ -1,10 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 #ifndef _UAPI_LINUX_GTP_H_
-#define _UAPI_LINUX_GTP_H__
+#define _UAPI_LINUX_GTP_H_
+
+#define GTP_GENL_MCGRP_NAME    "gtp"

 enum gtp_genl_cmds {
        GTP_CMD_NEWPDP,
        GTP_CMD_DELPDP,
        GTP_CMD_GETPDP,
+       GTP_CMD_ECHOREQ,

        GTP_CMD_MAX,
 };
@@ -19,7 +23,8 @@
        GTPA_LINK,
        GTPA_VERSION,
        GTPA_TID,       /* for GTPv0 only */
-       GTPA_PEER_ADDRESS,
+       GTPA_PEER_ADDRESS,      /* Remote GSN peer, either SGSN or GGSN */
+#define GTPA_SGSN_ADDRESS GTPA_PEER_ADDRESS /* maintain legacy attr name */
        GTPA_MS_ADDRESS,
        GTPA_FLOW,
        GTPA_NET_NS_FD,

--
To view, visit https://gerrit.osmocom.org/c/libgtpnl/+/34829?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libgtpnl
Gerrit-Branch: master
Gerrit-Change-Id: Icf7b78e6655b6573c09c2eaa71d22ef6742b2594
Gerrit-Change-Number: 34829
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to