git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b73b6f
)
libcli/smb: add NBSS message types
author
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 06:42:30 +0000
(08:42 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 12 Jul 2011 07:44:04 +0000
(09:44 +0200)
metze
libcli/smb/smb_constants.h
patch
|
blob
|
history
diff --git
a/libcli/smb/smb_constants.h
b/libcli/smb/smb_constants.h
index 0dd79e88d72922d39a2dcaafe320fabb4fc3336d..f833b254a5186673399d6c1e755e5b929a4af978 100644
(file)
--- a/
libcli/smb/smb_constants.h
+++ b/
libcli/smb/smb_constants.h
@@
-22,6
+22,16
@@
#ifndef _SMB_CONSTANTS_H
#define _SMB_CONSTANTS_H
#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 {
/* protocol types. It assumes that higher protocols include lower protocols
as subsets. */
enum protocol_types {