1 /* SPDX-License-Identifier: LGPL-2.1 */
3 * DNS Resolver upcall management for CIFS DFS
4 * Handles host name to IP address resolution
6 * Copyright (c) International Business Machines Corp., 2008
7 * Author(s): Steve French (sfrench@us.ibm.com)
11 #ifndef _DNS_RESOLVE_H
12 #define _DNS_RESOLVE_H
14 #include <linux/net.h>
17 int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
20 #endif /* _DNS_RESOLVE_H */