summaryrefslogtreecommitdiff
path: root/source4/nbt_server/nbt_server.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-04-03 04:32:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:24 -0500
commita47cb58c2f6d34dd98e3dc2dd023a259ff501643 (patch)
tree7ce71f8ac40452570f110ec1895d3e5a65fafbd2 /source4/nbt_server/nbt_server.h
parentb9df3f5fe80087a55a45474a5a860aec2788a26d (diff)
downloadsamba-a47cb58c2f6d34dd98e3dc2dd023a259ff501643.tar.gz
samba-a47cb58c2f6d34dd98e3dc2dd023a259ff501643.tar.bz2
samba-a47cb58c2f6d34dd98e3dc2dd023a259ff501643.zip
r6184: the beginnings of the libcli/dgram/ library, and the dgram
server. Currently just listens on port 138 and parses the packets (using IDL like the rest of NBT). This allows me to develop the structures and test with real packets (This used to be commit 10d64a525349ff96695ad961a3cfeb5bc7c8844f)
Diffstat (limited to 'source4/nbt_server/nbt_server.h')
-rw-r--r--source4/nbt_server/nbt_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/nbt_server/nbt_server.h b/source4/nbt_server/nbt_server.h
index 6a7b14a546..e2b8584f5a 100644
--- a/source4/nbt_server/nbt_server.h
+++ b/source4/nbt_server/nbt_server.h
@@ -21,6 +21,7 @@
*/
#include "libcli/nbt/libnbt.h"
+#include "libcli/dgram/libdgram.h"
/*
a list of our registered names on each interface
@@ -47,6 +48,7 @@ struct nbtd_interface {
const char *bcast_address;
const char *netmask;
struct nbt_name_socket *nbtsock;
+ struct nbt_dgram_socket *dgmsock;
struct nbtd_iface_name *names;
};