diff options
author | Jonas Bonn <jonas@southpole.se> | 2017-03-25 01:23:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-26 06:11:19 +0300 |
commit | ae6336b57ede8cdf801b04e6d943617bb945e3f9 (patch) | |
tree | ba0bf0f6d88c0464f0fdd9557388e07b919663b4 /include/uapi/linux/gtp.h | |
parent | 8c7314c65a1e413de3fb409f28e3ba55429d6996 (diff) | |
download | linux-ae6336b57ede8cdf801b04e6d943617bb945e3f9.tar.xz |
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.h | 3 |
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, |