Pablo Neira | 459aa66 | 2016-05-09 00:55:48 +0200 | [diff] [blame] | 1 | #ifndef _UAPI_LINUX_GTP_H_ |
Colin Ian King | 7b01b8e | 2016-06-06 16:08:41 +0100 | [diff] [blame] | 2 | #define _UAPI_LINUX_GTP_H_ |
Pablo Neira | 459aa66 | 2016-05-09 00:55:48 +0200 | [diff] [blame] | 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_SGSN_ADDRESS, |
| 23 | GTPA_MS_ADDRESS, |
| 24 | GTPA_FLOW, |
| 25 | GTPA_NET_NS_FD, |
| 26 | GTPA_I_TEI, /* for GTPv1 only */ |
| 27 | GTPA_O_TEI, /* for GTPv1 only */ |
| 28 | GTPA_PAD, |
| 29 | __GTPA_MAX, |
| 30 | }; |
| 31 | #define GTPA_MAX (__GTPA_MAX + 1) |
| 32 | |
| 33 | #endif /* _UAPI_LINUX_GTP_H_ */ |