mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 21:35:20 +07:00
7b01b8e847
Fix clang build warning: ./include/uapi/linux/gtp.h:1:9: warning: '_UAPI_LINUX_GTP_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] fix by defining _UAPI_LINUX_GTP_H_ and not _UAPI_LINUX_GTP_H__ Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
34 lines
514 B
C
34 lines
514 B
C
#ifndef _UAPI_LINUX_GTP_H_
|
|
#define _UAPI_LINUX_GTP_H_
|
|
|
|
enum gtp_genl_cmds {
|
|
GTP_CMD_NEWPDP,
|
|
GTP_CMD_DELPDP,
|
|
GTP_CMD_GETPDP,
|
|
|
|
GTP_CMD_MAX,
|
|
};
|
|
|
|
enum gtp_version {
|
|
GTP_V0 = 0,
|
|
GTP_V1,
|
|
};
|
|
|
|
enum gtp_attrs {
|
|
GTPA_UNSPEC = 0,
|
|
GTPA_LINK,
|
|
GTPA_VERSION,
|
|
GTPA_TID, /* for GTPv0 only */
|
|
GTPA_SGSN_ADDRESS,
|
|
GTPA_MS_ADDRESS,
|
|
GTPA_FLOW,
|
|
GTPA_NET_NS_FD,
|
|
GTPA_I_TEI, /* for GTPv1 only */
|
|
GTPA_O_TEI, /* for GTPv1 only */
|
|
GTPA_PAD,
|
|
__GTPA_MAX,
|
|
};
|
|
#define GTPA_MAX (__GTPA_MAX + 1)
|
|
|
|
#endif /* _UAPI_LINUX_GTP_H_ */
|