summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-04 19:14:37 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-04 19:14:37 +0000
commitd923bc8da2cf996408194d98381409191dd81a16 (patch)
tree916b7cf8cd4b997136b801a4da10c616e0f1b3d2 /source/include/smb.h
parent06390e792cd8aa57a91c3a3d1d267fd1bcdc17a1 (diff)
downloadsamba-d923bc8da2cf996408194d98381409191dd81a16.tar.gz
samba-d923bc8da2cf996408194d98381409191dd81a16.tar.xz
samba-d923bc8da2cf996408194d98381409191dd81a16.zip
jeremy is going to hate me for this.
created an "nmb-agent" utility that, yes: it connects to the 137 socket and accepts unix socket connections which it redirects onto port 137. it uses the name_trn_id field to filter requests to the correct location. name_query() and name_status() are the first victims to use this feature (by specifying a file descriptor of -1).
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 5e6731e167b..8adfa5e6908 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -1745,6 +1745,12 @@ struct field_info
#define MAX_MAX_MUX_LIMIT 16
+struct nmb_state
+{
+ struct in_addr ip;
+ int port;
+};
+
#endif /* _SMB_H */
/* _SMB_H */