diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-04-06 11:17:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:27 -0500 |
commit | 7c6c366150022d6a745dcf18ed67bd264bc9c55d (patch) | |
tree | c43db606012e52a129179bef0b489c34a65a8036 /source4/libcli/dgram/libdgram.h | |
parent | 567a74690c9536f464844d647b9fe21ca56b53f3 (diff) | |
download | samba-7c6c366150022d6a745dcf18ed67bd264bc9c55d.tar.gz samba-7c6c366150022d6a745dcf18ed67bd264bc9c55d.tar.bz2 samba-7c6c366150022d6a745dcf18ed67bd264bc9c55d.zip |
r6223: added a bit more datagram infrastructure and the beginnings of a test
suite. The NBT-DGRAM test does a UDP/138 netlogon request, to which a
windows server sends a reply, but the windows server sends the reply
to the wrong port (it always sends to 138), so the test suite doesn't
see it.
(This used to be commit a7634625dbc944dd8256a822be290010f341a571)
Diffstat (limited to 'source4/libcli/dgram/libdgram.h')
-rw-r--r-- | source4/libcli/dgram/libdgram.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/source4/libcli/dgram/libdgram.h b/source4/libcli/dgram/libdgram.h index 866877e341..482fd86980 100644 --- a/source4/libcli/dgram/libdgram.h +++ b/source4/libcli/dgram/libdgram.h @@ -111,8 +111,18 @@ struct dgram_mailslot_handler *dgram_mailslot_temp(struct nbt_dgram_socket *dgms void *private); - - - +NTSTATUS dgram_mailslot_send(struct nbt_dgram_socket *dgmsock, + enum dgram_msg_type msg_type, + const char *mailslot_name, + struct nbt_name *dest_name, + const char *dest_address, + struct nbt_name *src_name, + DATA_BLOB *request); + +NTSTATUS dgram_mailslot_netlogon_send(struct nbt_dgram_socket *dgmsock, + struct nbt_name *dest_name, + const char *dest_address, + struct nbt_name *src_name, + struct nbt_netlogon_packet *request); |