diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-08 01:05:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:36 -0500 |
commit | 2513ac33de03e4c92f6d4a10595db44700971bb8 (patch) | |
tree | 8dac19b4696b558017cd509f5f2f775eb6b02b82 /source4/librpc | |
parent | f6f70999ca355072aa582545f0b72ca7c91df0a6 (diff) | |
download | samba-2513ac33de03e4c92f6d4a10595db44700971bb8.tar.gz samba-2513ac33de03e4c92f6d4a10595db44700971bb8.tar.bz2 samba-2513ac33de03e4c92f6d4a10595db44700971bb8.zip |
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/nbt.idl | 14 |
1 files changed, 9 insertions, 5 deletions
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 { |