2021-06-18 05:31:49 +00:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1 */
|
2008-01-10 17:10:23 +00:00
|
|
|
/*
|
2021-09-13 19:51:10 +00:00
|
|
|
* DNS Resolver upcall management for CIFS DFS
|
|
|
|
* Handles host name to IP address resolution
|
2008-02-07 23:25:02 +00:00
|
|
|
*
|
2008-01-10 17:10:23 +00:00
|
|
|
* Copyright (c) International Business Machines Corp., 2008
|
|
|
|
* Author(s): Steve French (sfrench@us.ibm.com)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DNS_RESOLVE_H
|
|
|
|
#define _DNS_RESOLVE_H
|
|
|
|
|
2022-10-04 21:41:36 +00:00
|
|
|
#include <linux/net.h>
|
|
|
|
|
2008-01-10 17:10:23 +00:00
|
|
|
#ifdef __KERNEL__
|
2022-10-04 21:41:36 +00:00
|
|
|
int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
|
2008-01-10 17:10:23 +00:00
|
|
|
#endif /* KERNEL */
|
|
|
|
|
|
|
|
#endif /* _DNS_RESOLVE_H */
|