aboutsummaryrefslogtreecommitdiffstats
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r--include/rpc/svc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index dc0f9ca8c477..e62c84d6ac21 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -70,7 +70,14 @@
*/
#define SVCGET_VERSQUIET 1
#define SVCSET_VERSQUIET 2
+#define SVCGET_CONNMAXREC 3
+#define SVCSET_CONNMAXREC 4
+/*
+ * Operations for rpc_control().
+ */
+#define RPC_SVC_CONNMAXREC_SET 0 /* set max rec size, enable nonblock */
+#define RPC_SVC_CONNMAXREC_GET 1
enum xprt_stat {
XPRT_DIED,