From 5e6082b4b0e8d47d8634cf1b0c5bb460d0b6dbd1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 31 Jan 2005 03:14:15 +0000 Subject: 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) --- source4/libcli/nbt/libnbt.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source4/libcli/nbt/libnbt.h') 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; +}; -- cgit