hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/dns_resolver.h
....@@ -24,11 +24,11 @@
2424 #ifndef _LINUX_DNS_RESOLVER_H
2525 #define _LINUX_DNS_RESOLVER_H
2626
27
-#ifdef __KERNEL__
27
+#include <uapi/linux/dns_resolver.h>
2828
29
-extern int dns_query(const char *type, const char *name, size_t namelen,
30
- const char *options, char **_result, time64_t *_expiry);
31
-
32
-#endif /* KERNEL */
29
+struct net;
30
+extern int dns_query(struct net *net, const char *type, const char *name, size_t namelen,
31
+ const char *options, char **_result, time64_t *_expiry,
32
+ bool invalidate);
3333
3434 #endif /* _LINUX_DNS_RESOLVER_H */