summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-12 08:42:30 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-12 09:44:04 +0200
commit86fb61a4aaefc088fa70931bf04304ba6b882161 (patch)
tree35c84808d4ea2dabd01b5207f95e18e02bf44c52 /libcli
parent7b73b6f964471b613c27aabea6550a1d51c75e96 (diff)
downloadsamba-86fb61a4aaefc088fa70931bf04304ba6b882161.tar.gz
samba-86fb61a4aaefc088fa70931bf04304ba6b882161.tar.bz2
samba-86fb61a4aaefc088fa70931bf04304ba6b882161.zip
libcli/smb: add NBSS message types
metze
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb_constants.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h
index 0dd79e88d7..f833b254a5 100644
--- a/libcli/smb/smb_constants.h
+++ b/libcli/smb/smb_constants.h
@@ -22,6 +22,16 @@
#ifndef _SMB_CONSTANTS_H
#define _SMB_CONSTANTS_H
+/*
+ * Netbios over TCP (rfc 1002)
+ */
+#define NBSSmessage 0x00 /* session message */
+#define NBSSrequest 0x81 /* session request */
+#define NBSSpositive 0x82 /* positiv session response */
+#define NBSSnegative 0x83 /* negativ session response */
+#define NBSSretarget 0x84 /* retarget session response */
+#define NBSSkeepalive 0x85 /* keepalive */
+
/* protocol types. It assumes that higher protocols include lower protocols
as subsets. */
enum protocol_types {