Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_GTP_H_ |
| 8 | #define _UAPI_LINUX_GTP_H_ |
Christopher Ferris | 32ff3f8 | 2020-12-14 13:10:04 -0800 | [diff] [blame] | 9 | #define GTP_GENL_MCGRP_NAME "gtp" |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 10 | enum gtp_genl_cmds { |
| 11 | GTP_CMD_NEWPDP, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 12 | GTP_CMD_DELPDP, |
| 13 | GTP_CMD_GETPDP, |
Christopher Ferris | 10a76e6 | 2022-06-08 13:31:52 -0700 | [diff] [blame] | 14 | GTP_CMD_ECHOREQ, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 15 | GTP_CMD_MAX, |
Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 16 | }; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 17 | enum gtp_version { |
| 18 | GTP_V0 = 0, |
| 19 | GTP_V1, |
Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 20 | }; |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 21 | enum gtp_attrs { |
| 22 | GTPA_UNSPEC = 0, |
| 23 | GTPA_LINK, |
| 24 | GTPA_VERSION, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 25 | GTPA_TID, |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 26 | GTPA_PEER_ADDRESS, |
| 27 | #define GTPA_SGSN_ADDRESS GTPA_PEER_ADDRESS |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 28 | GTPA_MS_ADDRESS, |
| 29 | GTPA_FLOW, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 30 | GTPA_NET_NS_FD, |
| 31 | GTPA_I_TEI, |
| 32 | GTPA_O_TEI, |
| 33 | GTPA_PAD, |
Christopher Ferris | 7ac54f5 | 2024-08-07 21:07:12 +0000 | [diff] [blame] | 34 | GTPA_PEER_ADDR6, |
| 35 | GTPA_MS_ADDR6, |
| 36 | GTPA_FAMILY, |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 37 | __GTPA_MAX, |
Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 38 | }; |
Christopher Ferris | 67d1e5e | 2023-10-31 13:36:37 -0700 | [diff] [blame] | 39 | #define GTPA_MAX (__GTPA_MAX - 1) |
Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 40 | #endif |