r12804: This patch reworks the Samba4 sockets layer to use a socket_address
[garming/samba-autobuild/.git] / source4 / nbt_server / dgram / ntlogon.c
index 191bac8a54a8cc332e7602fbe2b58bcf16cb6cc8..dad80fbe7d7e838b1b984df5176de783ae883348 100644 (file)
 
 #include "includes.h"
 #include "nbt_server/nbt_server.h"
-
+#include "lib/socket/socket.h"
 
 /*
   reply to a SAM LOGON request
  */
 static void nbtd_ntlogon_sam_logon(struct dgram_mailslot_handler *dgmslot, 
                                   struct nbt_dgram_packet *packet,
-                                  const struct nbt_peer_socket *src,
+                                  const struct socket_address *src,
                                   struct nbt_ntlogon_packet *ntlogon)
 {
        struct nbt_name *name = &packet->data.msg.dest_name;
@@ -66,7 +66,7 @@ static void nbtd_ntlogon_sam_logon(struct dgram_mailslot_handler *dgmslot,
 */
 void nbtd_mailslot_ntlogon_handler(struct dgram_mailslot_handler *dgmslot, 
                                   struct nbt_dgram_packet *packet, 
-                                  const struct nbt_peer_socket *src)
+                                  struct socket_address *src)
 {
        NTSTATUS status = NT_STATUS_NO_MEMORY;
        struct nbtd_interface *iface =