• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*	$NetBSD: res_private.h,v 1.1.1.1 2004/05/20 17:18:54 christos Exp $	*/
2 
3 #ifndef NETD_RES_STATE_EXT_H
4 #define NETD_RES_STATE_EXT_H
5 
6 #include "resolv_private.h"
7 
8 // TODO: consider inlining into res_state
9 struct res_state_ext {
10     sockaddr_union nsaddrs[MAXNS];
11     struct sort_list {
12         int af;
13         union {
14             struct in_addr ina;
15             struct in6_addr in6a;
16         } addr, mask;
17     } sort_list[MAXRESOLVSORT];
18     char nsuffix[64];
19     char nsuffix2[64];
20 };
21 
22 #endif  // NETD_RES_STATE_EXT_H
23