Merge tag 'sfi-removal-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / include / uapi / linux / gtp.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_GTP_H_
3 #define _UAPI_LINUX_GTP_H_
4
5 #define GTP_GENL_MCGRP_NAME     "gtp"
6
7 enum gtp_genl_cmds {
8         GTP_CMD_NEWPDP,
9         GTP_CMD_DELPDP,
10         GTP_CMD_GETPDP,
11
12         GTP_CMD_MAX,
13 };
14
15 enum gtp_version {
16         GTP_V0 = 0,
17         GTP_V1,
18 };
19
20 enum gtp_attrs {
21         GTPA_UNSPEC = 0,
22         GTPA_LINK,
23         GTPA_VERSION,
24         GTPA_TID,       /* for GTPv0 only */
25         GTPA_PEER_ADDRESS,      /* Remote GSN peer, either SGSN or GGSN */
26 #define GTPA_SGSN_ADDRESS GTPA_PEER_ADDRESS /* maintain legacy attr name */
27         GTPA_MS_ADDRESS,
28         GTPA_FLOW,
29         GTPA_NET_NS_FD,
30         GTPA_I_TEI,     /* for GTPv1 only */
31         GTPA_O_TEI,     /* for GTPv1 only */
32         GTPA_PAD,
33         __GTPA_MAX,
34 };
35 #define GTPA_MAX (__GTPA_MAX + 1)
36
37 #endif /* _UAPI_LINUX_GTP_H_ */