summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/gtp.h
diff options
context:
space:
mode:
authorJonas Bonn2017-03-24 23:23:20 +0100
committerDavid S. Miller2017-03-26 05:11:19 +0200
commitae6336b57ede8cdf801b04e6d943617bb945e3f9 (patch)
treeba0bf0f6d88c0464f0fdd9557388e07b919663b4 /include/uapi/linux/gtp.h
parentMerge branch 'qmap-mux' (diff)
downloadkernel-qcow2-linux-ae6336b57ede8cdf801b04e6d943617bb945e3f9.tar.gz
kernel-qcow2-linux-ae6336b57ede8cdf801b04e6d943617bb945e3f9.tar.xz
kernel-qcow2-linux-ae6336b57ede8cdf801b04e6d943617bb945e3f9.zip
gtp: rename SGSN netlink attribute
This is a mostly cosmetic rename of the SGSN netlink attribute to the GTP link. The justification for this is that we will be making the module support decapsulation of "downstream" SGSN packets, in which case the netlink parameter actually refers to the upstream GGSN peer. Renaming the parameter makes the relationship clearer. The legacy name is maintained as a define in the header file in order to not break existing code. Signed-off-by: Jonas Bonn <jonas@southpole.se> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/gtp.h')
-rw-r--r--include/uapi/linux/gtp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/gtp.h b/include/uapi/linux/gtp.h
index 72a04a0e8cce..57d1edb8efd9 100644
--- a/include/uapi/linux/gtp.h
+++ b/include/uapi/linux/gtp.h
@@ -19,7 +19,8 @@ enum gtp_attrs {
GTPA_LINK,
GTPA_VERSION,
GTPA_TID, /* for GTPv0 only */
- GTPA_SGSN_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,