summaryrefslogtreecommitdiff
path: root/source/include/nameserv.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/nameserv.h
parent06390e792cd8aa57a91c3a3d1d267fd1bcdc17a1 (diff)
downloadsamba-d923bc8da2cf996408194d98381409191dd81a16.tar.gz
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/nameserv.h')
-rw-r--r--source/include/nameserv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h
index ad251314817..0de00f36368 100644
--- a/source/include/nameserv.h
+++ b/source/include/nameserv.h
@@ -142,7 +142,7 @@ enum netbios_reply_type_code { NMB_QUERY, NMB_STATUS, NMB_REG, NMB_REG_REFRESH,
enum name_source {LMHOSTS_NAME, REGISTER_NAME, SELF_NAME, DNS_NAME,
DNSFAIL_NAME, PERMANENT_NAME, WINS_PROXY_NAME};
enum node_type {B_NODE=0, P_NODE=1, M_NODE=2, NBDD_NODE=3};
-enum packet_type {NMB_PACKET, DGRAM_PACKET};
+enum packet_type {NMB_PACKET, DGRAM_PACKET, NMB_SOCK_PACKET, DGRAM_SOCK_PACKET };
enum master_state
{