1 #ifndef _UAPI_LINUX_GTP_H_ 2 #define _UAPI_LINUX_GTP_H_ 3 4 enum gtp_genl_cmds { 5 GTP_CMD_NEWPDP, 6 GTP_CMD_DELPDP, 7 GTP_CMD_GETPDP, 8 9 GTP_CMD_MAX, 10 }; 11 12 enum gtp_version { 13 GTP_V0 = 0, 14 GTP_V1, 15 }; 16 17 enum gtp_attrs { 18 GTPA_UNSPEC = 0, 19 GTPA_LINK, 20 GTPA_VERSION, 21 GTPA_TID, /* for GTPv0 only */ 22 GTPA_PEER_ADDRESS, /* Remote GSN peer, either SGSN or GGSN */ 23 #define GTPA_SGSN_ADDRESS GTPA_PEER_ADDRESS /* maintain legacy attr name */ 24 GTPA_MS_ADDRESS, 25 GTPA_FLOW, 26 GTPA_NET_NS_FD, 27 GTPA_I_TEI, /* for GTPv1 only */ 28 GTPA_O_TEI, /* for GTPv1 only */ 29 GTPA_PAD, 30 __GTPA_MAX, 31 }; 32 #define GTPA_MAX (__GTPA_MAX + 1) 33 34 #endif /* _UAPI_LINUX_GTP_H_ */ 35