Lines Matching defs:port
219 { Opt_port, "port=%s" },
809 * on some if we ever connected to port 139 (the NACK
1406 unsigned short port = 0;
1419 * port 445 and it can be overridden at mount time
1839 cifs_dbg(VFS, "%s: Invalid port value\n",
1843 port = (unsigned short)option;
2263 /* set the port that we got earlier */
2264 cifs_set_port(dstaddr, port);
2317 * If no port is specified in addr structure, we try to match with 445 port
2324 __be16 port, *sport;
2333 port = ((struct sockaddr_in *) addr)->sin_port;
2337 port = ((struct sockaddr_in6 *) addr)->sin6_port;
2344 if (!port) {
2345 port = htons(CIFS_PORT);
2346 if (port == *sport)
2349 port = htons(RFC1001_PORT);
2352 return port == *sport;
3804 /* try with 445 port at first */
3811 /* if it failed, try with 139 port */