hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
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 */