summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/netbios.h
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2005-10-02 08:32:49 +0000
committerbp <bp@FreeBSD.org>2005-10-02 08:32:49 +0000
commit0d80e85872c1b891d25d1e3681b1d40f02959b22 (patch)
tree0b9bbf8d7863d1bf2dc5b60082d7c5e3ef85746a /sys/netsmb/netbios.h
parent1becc1ee390faaa609b04a998f1538c4f6723d02 (diff)
downloadFreeBSD-src-0d80e85872c1b891d25d1e3681b1d40f02959b22.zip
FreeBSD-src-0d80e85872c1b891d25d1e3681b1d40f02959b22.tar.gz
Allow user to override default port numbers used by communication
protocols. This is very useful for tunneled SMB connections. MFC after: 4 weeks
Diffstat (limited to 'sys/netsmb/netbios.h')
-rw-r--r--sys/netsmb/netbios.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netsmb/netbios.h b/sys/netsmb/netbios.h
index 8353fcd..9ee78d8 100644
--- a/sys/netsmb/netbios.h
+++ b/sys/netsmb/netbios.h
@@ -45,6 +45,8 @@
#include <netipx/ipx.h>
#endif
+#define NMB_TCP_PORT 137
+
#define NBPROTO_TCPSSN 1 /* NETBIOS session over TCP */
#define NBPROTO_IPXSSN 11 /* NETBIOS over IPX */
OpenPOWER on IntegriCloud