brintos

brintos / linux-shallow public Read only

0
0
Text · 499 B · 6eb0c15 Raw
21 lines · c
1/* SPDX-License-Identifier: LGPL-2.1 */2/*3 *   DNS Resolver upcall management for CIFS DFS4 *   Handles host name to IP address resolution5 *6 *   Copyright (c) International Business Machines  Corp., 20087 *   Author(s): Steve French (sfrench@us.ibm.com)8 *9 */10 11#ifndef _DNS_RESOLVE_H12#define _DNS_RESOLVE_H13 14#include <linux/net.h>15 16#ifdef __KERNEL__17int dns_resolve_server_name_to_ip(const char *unc, struct sockaddr *ip_addr, time64_t *expiry);18#endif /* KERNEL */19 20#endif /* _DNS_RESOLVE_H */21