Lines Matching refs:port
76 u_short np_mountd; /* Mount daemon port number */
197 u_long port = 0; /* XXX - should be short but protocol is naff */
198 int error = done ? pickup_rpc_reply(pkt, len, (voidp) &port, (XDRPROC_T_TYPE) xdr_u_long) : -1;
201 if (!error && port) {
202 dlog("got port (%d) for mountd on %s", (int) port, fs->fs_host);
204 * Grab the port number. Portmap sends back
209 np->np_mountd = htons((u_short) port);
213 dlog("Error fetching port for mountd on %s", fs->fs_host);
214 dlog("\t error=%d, port=%d", error, (int) port);
224 dlog("Got portmap for old port request");
311 get_mountd_port(fserver *fs, u_short *port, wchan_t wchan)
320 *port = np->np_mountd;
326 * Now go get the port mapping again in case it changed.
899 * Determine the NFS port.
901 * A valid "port" mount option overrides anything else.
902 * If the port has been determined from the portmapper, use that.
911 dlog("find_nfs_srvr: using port %d for nfs on %s",