summaryrefslogtreecommitdiff
path: root/source4/libcli/nbt/libnbt.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-31 03:14:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:24 -0500
commit5e6082b4b0e8d47d8634cf1b0c5bb460d0b6dbd1 (patch)
tree9d9e7ff4684f3ba69a32621e0e5f4418e570490c /source4/libcli/nbt/libnbt.h
parent5269fb13a92850b5f22bf9f7640568d5946a43d5 (diff)
downloadsamba-5e6082b4b0e8d47d8634cf1b0c5bb460d0b6dbd1.tar.gz
samba-5e6082b4b0e8d47d8634cf1b0c5bb460d0b6dbd1.tar.bz2
samba-5e6082b4b0e8d47d8634cf1b0c5bb460d0b6dbd1.zip
r5117: used a composite function to add 4 stage name registration. We send 3
broadcast name registration demands per name per interface at 1 second intervals, then send a name overwrite request and demand. Any name conflict replies are reported. (This used to be commit d656fba6f1a2e9d8c03893741327e5fb59c5271e)
Diffstat (limited to 'source4/libcli/nbt/libnbt.h')
-rw-r--r--source4/libcli/nbt/libnbt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/libcli/nbt/libnbt.h b/source4/libcli/nbt/libnbt.h
index 3bfffa25d0..a3630e2a12 100644
--- a/source4/libcli/nbt/libnbt.h
+++ b/source4/libcli/nbt/libnbt.h
@@ -151,3 +151,14 @@ struct nbt_name_register {
uint8_t rcode;
} out;
};
+
+/* a send 3 times then demand name broadcast name registration */
+struct nbt_name_register_bcast {
+ struct {
+ struct nbt_name name;
+ const char *dest_addr;
+ const char *address;
+ uint16_t nb_flags;
+ uint32_t ttl;
+ } in;
+};