Home
last modified time | relevance | path

Searched refs:_res (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/net/
H A Dtoeplitz2.h50 uint32_t _res; in toeplitz_rawhash_addrport() local
52 _res = toeplitz_cache[0][_faddr & 0xff]; in toeplitz_rawhash_addrport()
54 _res ^= toeplitz_cache[0][_laddr & 0xff]; in toeplitz_rawhash_addrport()
56 _res ^= toeplitz_cache[0][_fport & 0xff]; in toeplitz_rawhash_addrport()
66 return _res; in toeplitz_rawhash_addrport()
72 uint32_t _res; in toeplitz_rawhash_addr() local
84 return _res; in toeplitz_rawhash_addr()
96 uint32_t _res; in toeplitz_piecemeal_addr() local
102 return _res; in toeplitz_piecemeal_addr()
108 uint32_t _res; in toeplitz_piecemeal_port() local
[all …]
/dragonfly/lib/libc/resolv/
H A Dres_data.c42 #undef _res
74 #undef _res
77 struct __res_state _res variable
115 if (!_res.retrans) in res_init()
117 if (!_res.retry) in res_init()
119 _res.retry = 4; in res_init()
130 if (!_res.id) in res_init()
199 _res.qhook = hook; in res_send_setqhook()
204 _res.rhook = hook; in res_send_setrhook()
239 res_nclose(&_res); in res_close()
[all …]
H A Dres_state.c38 #undef _res
40 struct __res_state _res; variable
68 return (&_res); in __res_state()
72 return (&_res); in __res_state()
79 return (&_res); in __res_state()
86 return (&_res); in __res_state()
/dragonfly/usr.sbin/ypserv/
H A Dyp_dnslookup.c131 if (!(_res.options & RES_INIT) && res_init() == -1) { in yp_init_resolver()
186 for (ns = 0; ns < _res.nscount; ns++) { in yp_send_dns_query()
188 (struct sockaddr *)&_res.nsaddr_list[ns], in yp_send_dns_query()
444 q->domain = _res.dnsrch; in yp_async_lookup_name()
/dragonfly/usr.bin/w/
H A Dw.c183 if (!(_res.options & RES_INIT)) in main()
185 _res.retrans = 2; /* resolver timeout to 2 seconds per try */ in main()
186 _res.retry = 1; /* only try once.. */ in main()
/dragonfly/include/
H A Dresolv.h268 #define _res (*__res_state()) macro
/dragonfly/lib/libc/net/
H A Dhesiod.c360 if ((_res.options & RES_INIT) == 0 && res_init() == -1) in get_txt_records()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dctrl_iface.c2066 int _res = wpa_drv_get_ssid(wpa_s, ssid_buf); in wpa_supplicant_ctrl_iface_status() local
2067 if (_res < 0) in wpa_supplicant_ctrl_iface_status()
2070 ssid_len = _res; in wpa_supplicant_ctrl_iface_status()