hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
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 */