diff options
Diffstat (limited to 'include/uapi/linux/ip_vs.h')
| -rw-r--r-- | include/uapi/linux/ip_vs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h index 1c916b2f89dc..e34f436fc79d 100644 --- a/include/uapi/linux/ip_vs.h +++ b/include/uapi/linux/ip_vs.h | |||
| @@ -124,6 +124,13 @@ | |||
| 124 | 124 | ||
| 125 | #define IP_VS_PEDATA_MAXLEN 255 | 125 | #define IP_VS_PEDATA_MAXLEN 255 |
| 126 | 126 | ||
| 127 | /* Tunnel types */ | ||
| 128 | enum { | ||
| 129 | IP_VS_CONN_F_TUNNEL_TYPE_IPIP = 0, /* IPIP */ | ||
| 130 | IP_VS_CONN_F_TUNNEL_TYPE_GUE, /* GUE */ | ||
| 131 | IP_VS_CONN_F_TUNNEL_TYPE_MAX, | ||
| 132 | }; | ||
| 133 | |||
| 127 | /* | 134 | /* |
| 128 | * The struct ip_vs_service_user and struct ip_vs_dest_user are | 135 | * The struct ip_vs_service_user and struct ip_vs_dest_user are |
| 129 | * used to set IPVS rules through setsockopt. | 136 | * used to set IPVS rules through setsockopt. |
| @@ -392,6 +399,10 @@ enum { | |||
| 392 | 399 | ||
| 393 | IPVS_DEST_ATTR_STATS64, /* nested attribute for dest stats */ | 400 | IPVS_DEST_ATTR_STATS64, /* nested attribute for dest stats */ |
| 394 | 401 | ||
| 402 | IPVS_DEST_ATTR_TUN_TYPE, /* tunnel type */ | ||
| 403 | |||
| 404 | IPVS_DEST_ATTR_TUN_PORT, /* tunnel port */ | ||
| 405 | |||
| 395 | __IPVS_DEST_ATTR_MAX, | 406 | __IPVS_DEST_ATTR_MAX, |
| 396 | }; | 407 | }; |
| 397 | 408 | ||
