diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-06 08:25:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:34 -0500 |
commit | a75e9a3ee91b83af9c0fa25e407bf63cd67cd343 (patch) | |
tree | 21fde192c87ce7cab8ade46b57134cf43a037181 /source4/nbt_server/nodestatus.c | |
parent | e0caea68f5ac9f9fee1006b472bb49c2f81b21ac (diff) | |
download | samba-a75e9a3ee91b83af9c0fa25e407bf63cd67cd343.tar.gz samba-a75e9a3ee91b83af9c0fa25e407bf63cd67cd343.tar.bz2 samba-a75e9a3ee91b83af9c0fa25e407bf63cd67cd343.zip |
r5251: - renamed the nbtd server side structures to have a nbtd_ prefix, to
be consistent with the function names
- added WINS client support to the NBT server. It will do initial WINS
registration, and WINS refresh, automatically failing over to
secondary WINS servers and handling multi-homed servers where we need
to register multiple IPs.
- added support for multi-homed name query replies, which are
essential for multi-homed registration as the WINS server will query
us to ensure we have the names when doing the secondary IPs in
multi-homed registration
(This used to be commit a1553fa8054dc7d33f5d77f8f95d3ffd90392b2a)
Diffstat (limited to 'source4/nbt_server/nodestatus.c')
-rw-r--r-- | source4/nbt_server/nodestatus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/nbt_server/nodestatus.c b/source4/nbt_server/nodestatus.c index 0d0fbb8086..ba6c3ea77b 100644 --- a/source4/nbt_server/nodestatus.c +++ b/source4/nbt_server/nodestatus.c @@ -32,11 +32,11 @@ static void nbtd_node_status_reply(struct nbt_name_socket *nbtsock, struct nbt_name_packet *request_packet, const char *src_address, int src_port, struct nbt_name *name, - struct nbt_interface *iface) + struct nbtd_interface *iface) { struct nbt_name_packet *packet; uint32_t name_count; - struct nbt_iface_name *iname; + struct nbtd_iface_name *iname; /* work out how many names to send */ name_count = 0; @@ -100,9 +100,9 @@ void nbtd_query_status(struct nbt_name_socket *nbtsock, const char *src_address, int src_port) { struct nbt_name *name; - struct nbt_iface_name *iname; - struct nbt_interface *iface = talloc_get_type(nbtsock->incoming.private, - struct nbt_interface); + struct nbtd_iface_name *iname; + struct nbtd_interface *iface = talloc_get_type(nbtsock->incoming.private, + struct nbtd_interface); NBT_ASSERT_PACKET(packet, src_address, packet->qdcount == 1); NBT_ASSERT_PACKET(packet, src_address, packet->questions[0].question_type == NBT_QTYPE_STATUS); |