From 2513ac33de03e4c92f6d4a10595db44700971bb8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Feb 2005 01:05:41 +0000 Subject: r5275: - added support for NBT_OPCODE_MULTI_HOME_REG (opcode 0xf) for WINS name registrations - fixed a bug in the send queue handling on timeouts - added support for handling unexpected replies (replies to the wrong port) at the nbtsocket layer - added separate layer 2 code for wins refresh and wins registration (This used to be commit 2502b02898407e3262c09a5a4aa573c5f87b8f5f) --- source4/librpc/idl/nbt.idl | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index 08dde1f018..859cecd593 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -26,11 +26,15 @@ interface nbt /* the opcodes are in the operation field, masked with NBT_OPCODE */ - const int NBT_OPCODE_QUERY = (0<<11); - const int NBT_OPCODE_REGISTER = (5<<11); - const int NBT_OPCODE_RELEASE = (6<<11); - const int NBT_OPCODE_WACK = (7<<11); - const int NBT_OPCODE_REFRESH = (8<<11); + typedef enum { + NBT_OPCODE_QUERY = (0x0<<11), + NBT_OPCODE_REGISTER = (0x5<<11), + NBT_OPCODE_RELEASE = (0x6<<11), + NBT_OPCODE_WACK = (0x7<<11), + NBT_OPCODE_REFRESH = (0x8<<11), + NBT_OPCODE_REFRESH2 = (0x9<<11), + NBT_OPCODE_MULTI_HOME_REG = (0xf<<11) + } nbt_opcode; /* rcode values */ typedef enum { -- cgit