blob: 5a8cdde5bf021a87382da17b3e299648f7ab01ff [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 Ferris106b3a82016-08-24 12:15:38 -07007#ifndef _UAPI_LINUX_GTP_H_
8#define _UAPI_LINUX_GTP_H_
Christopher Ferris32ff3f82020-12-14 13:10:04 -08009#define GTP_GENL_MCGRP_NAME "gtp"
Christopher Ferris106b3a82016-08-24 12:15:38 -070010enum gtp_genl_cmds {
11 GTP_CMD_NEWPDP,
Christopher Ferris106b3a82016-08-24 12:15:38 -070012 GTP_CMD_DELPDP,
13 GTP_CMD_GETPDP,
Christopher Ferris10a76e62022-06-08 13:31:52 -070014 GTP_CMD_ECHOREQ,
Christopher Ferris106b3a82016-08-24 12:15:38 -070015 GTP_CMD_MAX,
Elliott Hughes8cb52b02013-11-21 13:43:23 -080016};
Christopher Ferris106b3a82016-08-24 12:15:38 -070017enum gtp_version {
18 GTP_V0 = 0,
19 GTP_V1,
Elliott Hughes8cb52b02013-11-21 13:43:23 -080020};
Christopher Ferris106b3a82016-08-24 12:15:38 -070021enum gtp_attrs {
22 GTPA_UNSPEC = 0,
23 GTPA_LINK,
24 GTPA_VERSION,
Christopher Ferris106b3a82016-08-24 12:15:38 -070025 GTPA_TID,
Christopher Ferris525ce912017-07-26 13:12:53 -070026 GTPA_PEER_ADDRESS,
27#define GTPA_SGSN_ADDRESS GTPA_PEER_ADDRESS
Christopher Ferris106b3a82016-08-24 12:15:38 -070028 GTPA_MS_ADDRESS,
29 GTPA_FLOW,
Christopher Ferris106b3a82016-08-24 12:15:38 -070030 GTPA_NET_NS_FD,
31 GTPA_I_TEI,
32 GTPA_O_TEI,
33 GTPA_PAD,
Christopher Ferris7ac54f52024-08-07 21:07:12 +000034 GTPA_PEER_ADDR6,
35 GTPA_MS_ADDR6,
36 GTPA_FAMILY,
Christopher Ferris106b3a82016-08-24 12:15:38 -070037 __GTPA_MAX,
Elliott Hughes8cb52b02013-11-21 13:43:23 -080038};
Christopher Ferris67d1e5e2023-10-31 13:36:37 -070039#define GTPA_MAX (__GTPA_MAX - 1)
Elliott Hughes8cb52b02013-11-21 13:43:23 -080040#endif