From 2e953b967ae181be10fcdff2595daf36d903c3b0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 31 Jan 2005 06:55:25 +0000 Subject: r5121: added periodic name refresh requests for all our registered names, reporting any name conflicts (This used to be commit 69e6a1cd4bac665debb10601d1a3ddc0ae86e779) --- source4/libcli/nbt/libnbt.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'source4/libcli/nbt/libnbt.h') diff --git a/source4/libcli/nbt/libnbt.h b/source4/libcli/nbt/libnbt.h index 35eff9961c..114d6d3b92 100644 --- a/source4/libcli/nbt/libnbt.h +++ b/source4/libcli/nbt/libnbt.h @@ -169,3 +169,23 @@ struct nbt_name_register_bcast { uint32_t ttl; } in; }; + + +/* a name refresh request */ +struct nbt_name_refresh { + struct { + struct nbt_name name; + const char *dest_addr; + const char *address; + uint16_t nb_flags; + BOOL broadcast; + uint32_t ttl; + int timeout; /* in seconds */ + } in; + struct { + const char *reply_from; + struct nbt_name name; + const char *reply_addr; + uint8_t rcode; + } out; +}; -- cgit