2021-06-18 13:31:49 +08:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1 */
|
2008-01-11 01:10:23 +08:00
|
|
|
/*
|
2021-09-14 03:51:10 +08:00
|
|
|
* DNS Resolver upcall management for CIFS DFS
|
|
|
|
* Handles host name to IP address resolution
|
2008-02-08 07:25:02 +08:00
|
|
|
*
|
2008-01-11 01:10:23 +08: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-05 05:41:36 +08:00
|
|
|
#include <linux/net.h>
|
|
|
|
|
2008-01-11 01:10:23 +08:00
|
|
|
#ifdef __KERNEL__
|
2022-10-05 05:41:36 +08:00
|
|
|
int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);
|
2008-01-11 01:10:23 +08:00
|
|
|
#endif /* KERNEL */
|
|
|
|
|
|
|
|
#endif /* _DNS_RESOLVE_H */
|