diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ip_vs.h | 3 | ||||
-rw-r--r-- | include/net/ip_vs.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ip_vs.h b/include/linux/ip_vs.h index 9708de265bb1..4fe656575073 100644 --- a/include/linux/ip_vs.h +++ b/include/linux/ip_vs.h @@ -87,6 +87,7 @@ #define IP_VS_CONN_F_NO_CPORT 0x0800 /* no client port set yet */ #define IP_VS_CONN_F_TEMPLATE 0x1000 /* template, not connection */ #define IP_VS_CONN_F_ONE_PACKET 0x2000 /* forward only one packet */ +#define IP_VS_CONN_F_BACKLOG 0x4000 /* backlog connection */ #define IP_VS_SCHEDNAME_MAXLEN 16 #define IP_VS_IFNAME_MAXLEN 16 @@ -350,6 +351,8 @@ enum { IPVS_DEST_ATTR_PERSIST_CONNS, /* persistent connections */ IPVS_DEST_ATTR_STATS, /* nested attribute for dest stats */ + + IPVS_DEST_ATTR_BACKLOG_CONNS, /* backlog connections */ __IPVS_DEST_ATTR_MAX, }; diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index a4747a0f7303..c39dee674e35 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -499,6 +499,7 @@ struct ip_vs_dest { /* connection counters and thresholds */ atomic_t activeconns; /* active connections */ atomic_t inactconns; /* inactive connections */ + atomic_t backlogconns; /* backlog connections */ atomic_t persistconns; /* persistent connections */ __u32 u_threshold; /* upper threshold */ __u32 l_threshold; /* lower threshold */ |