summaryrefslogtreecommitdiff
path: root/source4/libcli/nbt/libnbt.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-31 06:55:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:24 -0500
commit2e953b967ae181be10fcdff2595daf36d903c3b0 (patch)
treea93afe8c86ef2722b90414e0cd6d8b3709f08fd1 /source4/libcli/nbt/libnbt.h
parent0700676da69a68066e0a2f7541ffa0d3bf956616 (diff)
downloadsamba-2e953b967ae181be10fcdff2595daf36d903c3b0.tar.gz
samba-2e953b967ae181be10fcdff2595daf36d903c3b0.tar.bz2
samba-2e953b967ae181be10fcdff2595daf36d903c3b0.zip
r5121: added periodic name refresh requests for all our registered names, reporting any
name conflicts (This used to be commit 69e6a1cd4bac665debb10601d1a3ddc0ae86e779)
Diffstat (limited to 'source4/libcli/nbt/libnbt.h')
-rw-r--r--source4/libcli/nbt/libnbt.h20
1 files changed, 20 insertions, 0 deletions
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;
+};