Print this page
7569 statd support to run on a fixed port
Portions contributed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
7577 mountd support to run on a fixed port
Portions contributed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2016 Nexenta Systems, Inc.
+ * Copyright (c) 2014, 2016 by Delphix. All rights reserved.
*/
/*
* NFS specific functions
*/
*** 2560,2569 ****
--- 2561,2578 ----
OPT_TYPE_NUMBER, 64, SVC_NFSD|SVC_MOUNTD, 1, INT32_MAX},
#define PROTO_OPT_MOUNTD_MAX_THREADS 16
{"mountd_max_threads",
"mountd_max_threads", PROTO_OPT_MOUNTD_MAX_THREADS,
OPT_TYPE_NUMBER, 16, SVC_NFSD|SVC_MOUNTD, 1, INT32_MAX},
+ #define PROTO_OPT_MOUNTD_PORT 17
+ {"mountd_port",
+ "mountd_port", PROTO_OPT_MOUNTD_PORT,
+ OPT_TYPE_NUMBER, 0, SVC_MOUNTD, 1, UINT16_MAX},
+ #define PROTO_OPT_STATD_PORT 18
+ {"statd_port",
+ "statd_port", PROTO_OPT_STATD_PORT,
+ OPT_TYPE_NUMBER, 0, SVC_STATD, 1, UINT16_MAX},
{NULL}
};
/*
* the protoset holds the defined options so we don't have to read