Searched refs:hints (Results 126 - 150 of 247) sorted by relevance

12345678910

/freebsd-11-stable/crypto/openssh/
H A Dssh.c242 struct addrinfo hints, *res; local
249 memset(&hints, 0, sizeof(hints));
250 hints.ai_family = options.address_family == -1 ?
252 hints.ai_socktype = SOCK_STREAM;
254 hints.ai_flags = AI_CANONNAME;
255 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) {
283 struct addrinfo hints, *res; local
289 memset(&hints, 0, sizeof(hints));
1186 struct addrinfo hints; local
[all...]
/freebsd-11-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c362 struct addrinfo hints, *res; local
609 memset(&hints, 0, sizeof(hints));
610 hints.ai_family = PF_INET6;
611 hints.ai_socktype = SOCK_RAW;
612 hints.ai_protocol = IPPROTO_ICMPV6;
613 hints.ai_flags = AI_CANONNAME;
614 error = getaddrinfo(*argv, NULL, &hints, &res);
823 struct addrinfo hints, *res; local
826 memset(&hints,
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Drcopy.c182 struct addrinfo hints, *res; local
185 memset(&hints, 0, sizeof hints);
186 hints.ai_flags = RAI_PASSIVE;
187 ret = getaddrinfo(NULL, port, &hints, &res);
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c54 static struct addrinfo hints; variable in typeref:struct:addrinfo
390 rv = getaddrinfo(line, NULL, &hints, &result);
426 memset(&hints, 0, sizeof(struct addrinfo));
427 hints.ai_family = ai_family;
428 hints.ai_flags = AI_CANONNAME;
/freebsd-11-stable/lib/libc/rpc/
H A Dclnt_bcast.c132 struct addrinfo hints, *res; local
137 memset(&hints, 0, sizeof hints);
139 hints.ai_family = af;
140 hints.ai_protocol = proto;
141 hints.ai_socktype = socktype;
143 if (getaddrinfo(NULL, "sunrpc", &hints, &res) != 0) {
/freebsd-11-stable/contrib/tnftp/src/
H A Dmain.c431 struct addrinfo hints; local
434 memset(&hints, 0, sizeof(hints));
435 hints.ai_family = family;
436 hints.ai_socktype = SOCK_STREAM;
437 hints.ai_flags = AI_PASSIVE;
438 error = getaddrinfo(src_addr, NULL, &hints, &bindai);
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.c917 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd,
923 hints->ai_socktype = stype;
925 if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) {
927 if(r == EAI_NONAME && hints->ai_family == AF_INET6){
950 } else if(s == -1 && noproto && hints->ai_family == AF_INET6){
957 if(s == -1 && noproto && hints->ai_family == AF_INET6){
968 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd,
991 return make_sock(stype, newif, p, hints, v6only, noip6, rcv,
995 return make_sock(stype, ifname, port, hints, v6only, noip6, rcv, snd,
1115 * @param hints
916 make_sock(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp) argument
967 make_sock_port(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp) argument
1135 ports_create_if(const char* ifname, int do_auto, int do_udp, int do_tcp, struct addrinfo *hints, const char* port, struct listen_port** list, size_t rcv, size_t snd, int ssl_port, struct config_strlist* tls_additional_port, int https_port, int* reuseport, int transparent, int tcp_mss, int freebind, int http2_nodelay, int use_systemd, int dnscrypt_port, int dscp) argument
1569 struct addrinfo hints; local
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_config.c2538 struct addrinfo hints; local
2819 ZERO(hints);
2820 hints.ai_protocol = IPPROTO_UDP;
2821 hints.ai_socktype = SOCK_DGRAM;
2822 hints.ai_family = my_node->addr->type;
2824 "ntp", &hints,
3662 struct addrinfo hints; local
3730 ZERO(hints);
3731 hints.ai_protocol = IPPROTO_UDP;
3732 hints
3784 trap_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
4232 struct addrinfo hints; local
4387 peer_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
4485 struct addrinfo hints; local
4564 unpeer_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
4864 struct addrinfo hints; local
[all...]
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1580 struct addrinfo hints, *ai, *a;
1582 memset (&hints, 0, sizeof(hints));
1583 hints.ai_flags = AI_CANONNAME;
1585 error = getaddrinfo (hbuf, NULL, &hints, &ai);
2165 struct addrinfo *ai, *a, hints;
2169 memset (&hints, 0, sizeof(hints));
2170 hints.ai_socktype = SOCK_STREAM;
2171 hints
1572 struct addrinfo hints, *ai, *a; local
2157 struct addrinfo *ai, *a, hints; local
2516 struct addrinfo hints, *res; local
[all...]
/freebsd-11-stable/release/picobsd/tinyware/login/
H A Dpico-login.c218 struct addrinfo hints, *res; local
221 memset(&hints, 0, sizeof(hints));
222 hints.ai_family = AF_UNSPEC;
223 ga_err = getaddrinfo(optarg, NULL, &hints,
465 struct addrinfo hints, *res; local
468 memset(&hints, 0, sizeof(hints));
469 hints.ai_family = AF_UNSPEC;
470 ga_err = getaddrinfo(full_hostname, NULL, &hints,
[all...]
/freebsd-11-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1353 /* Address infos structure to store hints for getaddrinfo */
1354 struct addrinfo hints; local
1364 ZERO(hints);
1365 hints.ai_family = ai_fam_templ;
1366 hints.ai_socktype = SOCK_DGRAM;
1373 error = getaddrinfo(serv, service, &hints, &addrResult);
1376 error = getaddrinfo(serv, service, &hints, &addrResult);
1688 struct addrinfo hints; local
1707 * Init hints addrinfo structure
1709 ZERO(hints);
[all...]
/freebsd-11-stable/crypto/heimdal/appl/push/
H A Dpush.c98 struct addrinfo hints; local
103 memset (&hints, 0, sizeof(hints));
104 hints.ai_socktype = SOCK_STREAM;
105 hints.ai_protocol = IPPROTO_TCP;
109 error = getaddrinfo (hostname, portstr, &hints, &ai);
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dinit_c.c413 struct addrinfo hints; local
420 memset (&hints, 0, sizeof(hints));
421 hints.ai_socktype = SOCK_STREAM;
422 hints.ai_protocol = IPPROTO_TCP;
431 error = getaddrinfo (hostname, portstr, &hints, &ai);
H A Dlog.c1017 struct addrinfo hints; local
1022 memset(&hints, 0, sizeof(hints));
1024 hints.ai_flags = AI_NUMERICHOST;
1026 hints.ai_flags |= AI_PASSIVE;
1027 hints.ai_family = AF_INET;
1028 hints.ai_socktype = SOCK_STREAM;
1029 hints.ai_protocol = IPPROTO_TCP;
1033 &hints, &addrs);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dsend_to_kdc.c266 struct addrinfo hints; local
280 memset (&hints, 0, sizeof(hints));
281 hints.ai_family = PF_UNSPEC;
282 hints.ai_socktype = SOCK_STREAM;
285 ret = getaddrinfo (proxy, portstr, &hints, &ai);
/freebsd-11-stable/sbin/iscontrol/
H A Dfsm.c79 struct addrinfo *res, *res0, hints; local
126 memset(&hints, 0, sizeof(hints));
127 hints.ai_family = PF_UNSPEC;
128 hints.ai_socktype = SOCK_STREAM;
130 if((val = getaddrinfo(op->targetAddress, pbuf, &hints, &res0)) != 0) {
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dutil-internal.h303 /* Evaluates to the same boolean value as 'p', and hints to the compiler that
364 ev_socklen_t socklen, const struct evutil_addrinfo *hints);
367 void evutil_adjust_hints_for_addrconfig_(struct evutil_addrinfo *hints);
369 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum);
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c245 struct addrinfo hints, *res, *res0; local
249 memset(&hints, 0, sizeof(hints));
250 hints.ai_family = AF_INET;
251 hints.ai_socktype = SOCK_DGRAM;
253 error = getaddrinfo(ntp_host, ntp_port, &hints, &res0);
728 struct addrinfo hints, *res0; local
738 memset(&hints, 0, sizeof(hints));
739 hints
[all...]
/freebsd-11-stable/usr.sbin/tcpdrop/
H A Dtcpdrop.c251 static const struct addrinfo hints = { local
262 error = getaddrinfo(lhost, lport, &hints, &local);
267 error = getaddrinfo(fhost, fport, &hints, &foreign);
/freebsd-11-stable/contrib/libpcap/
H A Dscanner.l401 struct addrinfo hints, *res;
402 memset(&hints, 0, sizeof(hints));
403 hints.ai_family = AF_INET6;
404 hints.ai_flags = AI_NUMERICHOST;
405 if (getaddrinfo(yytext, NULL, &hints, &res)) {
/freebsd-11-stable/tools/tools/tinybsd/
H A Dtinybsd344 install -o 0 -g 0 -m 444 /sys/${TINYARCH}/conf/GENERIC.hints ${WORKDIR}/boot/device.hints
462 rm ${IMGMNT}/boot/device.hints
466 sed -e '/^#/ d' -e 's/^/set /' < ${WORKDIR}/boot/device.hints ; \
/freebsd-11-stable/share/man/man5/
H A DMakefile18 device.hints.5 \
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_utils.h319 * @param hints: the hints.
324 int iter_get_next_root(struct iter_hints* hints, struct iter_forwards* fwd,
381 * @param qstate: query state with env with hints and fwds.
/freebsd-11-stable/usr.sbin/config/
H A Dconfig.h155 extern STAILQ_HEAD(hint_head, hint) hints;
/freebsd-11-stable/usr.sbin/dconschat/
H A Ddconschat.c626 struct addrinfo hints, *res; local
659 memset(&hints, 0, sizeof(hints));
660 hints.ai_flags = AI_PASSIVE;
662 hints.ai_family = PF_INET;
664 hints.ai_family = PF_UNSPEC;
666 hints.ai_socktype = SOCK_STREAM;
667 hints.ai_protocol = 0;
673 error = getaddrinfo(host, service, &hints, &res);

Completed in 257 milliseconds

12345678910