summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2017-10-12 20:42:21 -0700
committerSteven <sluong@cisco.com>2017-10-12 20:44:15 -0700
commitbccd339a59788435d67e37845cd2446626466e98 (patch)
treea6f53668bed8e1d8168d162f473478dd5cc5c01d
parent2096063b0856808326cbd2c1c8a3a786c98ea896 (diff)
VCL: Add SET_KEEPALIVE, SET_TCP_KEEPIDLE, and SET_TCP_KEEPINTVL
Add the subject enums to unblock LDPRELOAD. Just the enums, no real implementation yet. Change-Id: Ia3ec576c2779ee20956a37f0adebc06f16d1fe7f Signed-off-by: Steven <sluong@cisco.com>
-rw-r--r--src/uri/vppcom.c9
-rw-r--r--src/uri/vppcom.h3
2 files changed, 12 insertions, 0 deletions
diff --git a/src/uri/vppcom.c b/src/uri/vppcom.c
index 76acc471c1f..7c06451abc4 100644
--- a/src/uri/vppcom.c
+++ b/src/uri/vppcom.c
@@ -3115,6 +3115,15 @@ vppcom_session_attr (uint32_t session_index, uint32_t op,
case VPPCOM_ATTR_SET_V6ONLY:
break;
+
+ case VPPCOM_ATTR_SET_KEEPALIVE:
+ break;
+
+ case VPPCOM_ATTR_SET_TCP_KEEPIDLE:
+ break;
+
+ case VPPCOM_ATTR_SET_TCP_KEEPINTVL:
+ break;
}
done:
diff --git a/src/uri/vppcom.h b/src/uri/vppcom.h
index a8adda78282..0b2a2dc447a 100644
--- a/src/uri/vppcom.h
+++ b/src/uri/vppcom.h
@@ -72,6 +72,9 @@ typedef enum
VPPCOM_ATTR_SET_REUSEADDR,
VPPCOM_ATTR_SET_BROADCAST,
VPPCOM_ATTR_SET_V6ONLY,
+ VPPCOM_ATTR_SET_KEEPALIVE,
+ VPPCOM_ATTR_SET_TCP_KEEPIDLE,
+ VPPCOM_ATTR_SET_TCP_KEEPINTVL,
} vppcom_attr_op_t;
/*