/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | getnameinfo_verified.c | 55 struct addrinfo hints; local 72 memset (&hints, 0, sizeof(hints)); 73 hints.ai_socktype = SOCK_STREAM; 74 ret = getaddrinfo (host, serv, &hints, &ai);
|
H A D | mini_inetd.c | 179 struct addrinfo *ai, hints; local 182 memset (&hints, 0, sizeof(hints)); 183 hints.ai_flags = AI_PASSIVE; 184 hints.ai_socktype = SOCK_STREAM; 185 hints.ai_family = PF_UNSPEC; 189 error = getaddrinfo (NULL, portstr, &hints, &ai);
|
/freebsd-10.0-release/usr.sbin/lpr/common_source/ |
H A D | net.c | 91 struct addrinfo hints, *res, *ai; local 100 memset(&hints, 0, sizeof(hints)); 101 hints.ai_family = family; 102 hints.ai_socktype = SOCK_STREAM; 103 hints.ai_protocol = 0; 105 &hints, &res); 185 struct addrinfo hints, *local_res, *remote_res, *lr, *rr; local 203 memset(&hints, 0, sizeof(hints)); [all...] |
/freebsd-10.0-release/contrib/ntp/sntp/ |
H A D | internet.c | 72 struct addrinfo hints; local 87 memset(&hints, 0, sizeof(hints)); 88 hints.ai_socktype = SOCK_DGRAM; 89 hints.ai_family = pref_family; 90 rval = getaddrinfo(hostname, "ntp", &hints, &res); 106 hints.ai_family = AF_INET; 107 hints.ai_flags = AI_PASSIVE; 108 rval = getaddrinfo(NULL, "ntp", &hints, &res); 116 hints [all...] |
/freebsd-10.0-release/sys/mips/conf/ |
H A D | AP121 | 17 # Override hints with board values 18 hints "AP121.hints"
|
H A D | AP91 | 17 hints "AP91.hints"
|
H A D | CARAMBOLA2 | 19 # Override hints with board values 20 hints "CARAMBOLA2.hints"
|
H A D | DB120 | 12 # Override hints with board values 13 hints "DB120.hints"
|
H A D | PICOSTATION_M2HP | 17 hints "PICOSTATION_M2HP.hints"
|
H A D | ROUTERSTATION | 9 hints "ROUTERSTATION.hints"
|
H A D | RSPRO | 9 hints "RSPRO.hints"
|
H A D | WZR-300HP | 17 hints "WZR-300HP.hints"
|
H A D | GXEMUL32 | 18 hints "GXEMUL.hints" #Default places to look for devices.
|
H A D | TP-WN1043ND | 12 # Override hints with board values 13 hints "TP-WN1043ND.hints"
|
/freebsd-10.0-release/lib/libc/net/ |
H A D | rcmdsh.c | 67 struct addrinfo hints, *res; local 86 memset(&hints, 0, sizeof(hints)); 87 hints.ai_flags = AI_CANONNAME; 88 hints.ai_family = PF_UNSPEC; 89 hints.ai_socktype = SOCK_STREAM; 92 error = getaddrinfo(*ahost, num, &hints, &res);
|
/freebsd-10.0-release/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 498 struct addrinfo hints, *res = NULL; local 524 memset(&hints, 0, sizeof hints); 525 hints.ai_flags = AI_PASSIVE; 526 hints.ai_family = si.si_af; 527 hints.ai_socktype = si.si_socktype; 528 hints.ai_protocol = si.si_proto; 551 switch (hints.ai_family) { 555 hints.ai_flags |= AI_NUMERICHOST; 570 hints 697 struct addrinfo hints, *res = NULL; local 818 struct addrinfo hints, *res = NULL; local [all...] |
/freebsd-10.0-release/contrib/tcp_wrappers/ |
H A D | scaffold.c | 89 struct addrinfo hints, *res; local 91 memset(&hints, 0, sizeof(hints)); 92 hints.ai_family = PF_UNSPEC; 93 hints.ai_socktype = SOCK_STREAM; 94 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; 95 if (getaddrinfo(host, NULL, &hints, &res) == 0) 98 memset(&hints, 0, sizeof(hints)); 99 hints [all...] |
H A D | socket.c | 175 struct addrinfo hints, *res, *res0 = NULL; local 217 memset(&hints, 0, sizeof(hints)); 218 hints.ai_family = sin->sa_family; 219 hints.ai_socktype = SOCK_STREAM; 220 hints.ai_flags = AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST; 221 if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) { 246 memset(&hints, 0, sizeof(hints)); 247 hints [all...] |
/freebsd-10.0-release/usr.sbin/rpc.statd/ |
H A D | statd.c | 319 struct addrinfo hints, *res = NULL; local 345 memset(&hints, 0, sizeof hints); 346 hints.ai_flags = AI_PASSIVE; 347 hints.ai_family = si.si_af; 348 hints.ai_socktype = si.si_socktype; 349 hints.ai_protocol = si.si_proto; 371 switch (hints.ai_family) { 375 hints.ai_flags |= AI_NUMERICHOST; 390 hints 515 struct addrinfo hints, *res = NULL; local [all...] |
/freebsd-10.0-release/etc/ |
H A D | freebsd-update.conf | 38 MergeChanges /etc/ /boot/device.hints
|
/freebsd-10.0-release/crypto/heimdal/lib/wind/ |
H A D | idn-lookup.c | 68 struct addrinfo hints; local 110 memset(&hints, 0, sizeof(hints)); 111 hints.ai_flags = AI_CANONNAME; 112 ret = getaddrinfo(encoded, NULL, &hints, &ai);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | canohost.c | 53 struct addrinfo hints, *ai, *aitop; local 92 memset(&hints, 0, sizeof(hints)); 93 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 94 hints.ai_flags = AI_NUMERICHOST; 95 if (getaddrinfo(name, NULL, &hints, &ai) == 0) { 118 memset(&hints, 0, sizeof(hints)); 119 hints.ai_family = from.ss_family; 120 hints [all...] |
/freebsd-10.0-release/contrib/bsnmp/lib/ |
H A D | support.c | 129 getaddrinfo(const char *host, const char *port, const struct addrinfo *hints, argument 138 if (hent->h_addrtype != hints->ai_family) 146 (*res)->ai_flags = hints->ai_flags; 147 (*res)->ai_family = hints->ai_family; 148 (*res)->ai_socktype = hints->ai_socktype; 149 (*res)->ai_protocol = hints->ai_protocol; 158 s->sin_family = hints->ai_family;
|
/freebsd-10.0-release/contrib/traceroute/ |
H A D | as.c | 62 struct addrinfo hints, *res0, *res; local 72 memset(&hints, 0, sizeof(hints)); 73 hints.ai_family = PF_UNSPEC; 74 hints.ai_socktype = SOCK_STREAM; 75 error = getaddrinfo(server, "whois", &hints, &res0); 78 error = getaddrinfo(server, "43", &hints, &res0);
|
/freebsd-10.0-release/contrib/unbound/services/ |
H A D | listen_dnsport.c | 497 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd) 501 hints->ai_socktype = stype; 503 if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) { 505 if(r == EAI_NONAME && hints->ai_family == AF_INET6){ 527 } else if(s == -1 && noproto && hints->ai_family == AF_INET6){ 532 if(s == -1 && noproto && hints->ai_family == AF_INET6){ 543 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd) 564 return make_sock(stype, newif, p, hints, v6only, noip6, 567 return make_sock(stype, ifname, port, hints, v6only, noip6, rcv, snd); 653 * @param hints 496 make_sock(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd) argument 542 make_sock_port(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd) argument 662 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) argument 841 struct addrinfo hints; local [all...] |