| /src/usr.sbin/ypserv/common/ |
| localhostname.c | 51 struct addrinfo *res, hints; local 73 memset(&hints, 0, sizeof(hints)); 74 hints.ai_flags = AI_CANONNAME; 75 hints.ai_family = PF_UNSPEC; 77 error = getaddrinfo(hostname, NULL, &hints, &res);
|
| /src/external/bsd/ipf/dist/lib/ |
| gethost.c | 60 struct addrinfo hints, *res; local 63 memset(&hints, 0, sizeof(hints)); 64 hints.ai_family = PF_INET6; 66 getaddrinfo(name, NULL, &hints, &res);
|
| /src/external/gpl3/gcc/dist/gcc/cp/ |
| gen-cxxapi-file.py | 92 def hints(script, content): function 156 'hints': hints
|
| /src/lib/libform/ |
| type_ipv6.c | 57 struct addrinfo hints, *res; local 63 memset(&hints, 0, sizeof(hints)); 64 hints.ai_family = AF_INET6; 65 hints.ai_socktype = SOCK_DGRAM; /* dummy */ 66 hints.ai_flags = AI_NUMERICHOST; 68 if (getaddrinfo(args, "0", &hints, &res) != 0) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| expand_hostname.c | 70 struct addrinfo *ai, *a, hints; local 76 memset (&hints, 0, sizeof(hints)); 77 hints.ai_flags = AI_CANONNAME; 79 error = getaddrinfo (orig_hostname, NULL, &hints, &ai); 145 struct addrinfo *ai, *a, hints; local 153 memset (&hints, 0, sizeof(hints)); 154 hints.ai_flags = AI_CANONNAME; 156 error = getaddrinfo (orig_hostname, NULL, &hints, &ai) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getnameinfo_verified.c | 57 struct addrinfo hints; local 74 memset (&hints, 0, sizeof(hints)); 75 hints.ai_socktype = SOCK_STREAM; 76 ret = getaddrinfo (host, serv, &hints, &ai);
|
| getaddrinfo_hostspec.c | 51 struct addrinfo hints; local 67 memset(&hints, 0, sizeof(hints)); 69 hints.ai_socktype = socktype; 73 hints.ai_socktype = hstp->socktype; 74 hints.ai_protocol = hstp->protocol; 94 return getaddrinfo (host, portstr, &hints, ai);
|
| /src/external/bsd/less/dist/ |
| scrsize.c | 57 XSizeHints hints; local 62 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk)) 64 if (!(hints.flags & PResizeInc)) 66 if (hints.width_inc == 0 || hints.height_inc == 0) 68 if (!(hints.flags & (PBaseSize|PMinSize))) 70 if (hints.flags & PBaseSize) 72 win_attributes.width -= hints.base_width; 73 win_attributes.height -= hints.base_height; 76 win_attributes.width -= hints.min_width [all...] |
| /src/external/bsd/ntp/dist/libntp/ |
| is_ip_address.c | 36 struct addrinfo hints; local 74 ZERO(hints); 75 hints.ai_family = AF_INET6; 76 hints.ai_flags |= AI_NUMERICHOST; 77 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
|
| socktohost.c | 34 struct addrinfo hints; local 59 ZERO(hints); 60 hints.ai_family = AF(sock); 61 hints.ai_protocol = IPPROTO_UDP; 62 hints.ai_socktype = SOCK_DGRAM; 63 hints.ai_flags = 0; 66 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 72 hints.ai_flags = AI_CANONNAME; 74 hints.ai_flags |= AI_ADDRCONFIG; 76 a_info = getaddrinfo(pbuf, svc, &hints, &alist); [all...] |
| /src/external/gpl2/xcvs/dist/lib/ |
| canon-host.c | 69 static struct addrinfo hints; local 73 hints.ai_flags = AI_CANONNAME; 74 status = getaddrinfo (host, NULL, &hints, &res);
|
| /src/sbin/mount_portal/ |
| pt_tcp.c | 73 struct addrinfo hints, *res, *lres; local 102 memset(&hints, 0, sizeof(hints)); 103 hints.ai_family = PF_UNSPEC; 104 hints.ai_socktype = SOCK_STREAM; 105 hints.ai_protocol = 0; 106 if (getaddrinfo(host, port, &hints, &res) != 0)
|
| /src/tests/net/ipsec/ |
| natt_terminator.c | 55 struct addrinfo hints; local 86 memset(&hints, 0, sizeof(hints)); 87 hints.ai_family = family; 88 hints.ai_socktype = SOCK_DGRAM; 89 hints.ai_protocol = IPPROTO_UDP; 90 hints.ai_flags = 0; 92 e = getaddrinfo(addr, port, &hints, &res);
|
| /src/tests/net/net/ |
| t_udp.c | 19 struct addrinfo hints; local 25 memset(&hints, 0, sizeof(hints)); 26 hints.ai_family = family; 27 hints.ai_socktype = SOCK_DGRAM; 28 hints.ai_protocol = IPPROTO_UDP; 29 hints.ai_flags = 0; 31 e = getaddrinfo("localhost", "9999", &hints, &res);
|
| /src/tests/net/sys/ |
| t_rfc6056.c | 56 struct addrinfo hints, *res; local 58 memset(&hints, 0, sizeof(hints)); 59 hints.ai_family = family; 60 hints.ai_socktype = SOCK_DGRAM; 75 error = getaddrinfo(hostname, service, &hints, &res);
|
| /src/usr.bin/finger/ |
| net.c | 73 struct addrinfo hints, *res, *res0; local 81 memset(&hints, 0, sizeof(hints)); 82 hints.ai_family = PF_UNSPEC; 83 hints.ai_socktype = SOCK_STREAM; 84 hints.ai_flags = AI_CANONNAME; 85 error = getaddrinfo(host, "finger", &hints, &res0);
|
| /src/usr.bin/getaddrinfo/ |
| getaddrinfo.c | 61 struct addrinfo hints = zero_addrinfo; local 70 hints.ai_family = AF_UNSPEC; 71 hints.ai_socktype = 0; 72 hints.ai_protocol = 0; 73 hints.ai_flags = 0; 78 hints.ai_flags |= AI_CANONNAME; 81 if (!parse_af(optarg, &hints.ai_family)) { 87 hints.ai_flags |= AI_NUMERICHOST; 90 hints.ai_flags |= AI_NUMERICSERV; 96 if (!parse_protocol(optarg, &hints.ai_protocol)) [all...] |
| /src/usr.sbin/ypserv/stdhosts/ |
| stdhosts.c | 62 struct addrinfo hints, *res; local 106 memset(&hints, 0, sizeof(hints)); 107 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 108 hints.ai_flags = AI_NUMERICHOST; 115 getaddrinfo(k, "0", &hints, &res) == 0) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/ipc/ |
| ts-http.c | 79 struct addrinfo hints, *res, *res0; local 83 memset(&hints, 0, sizeof(hints)); 84 hints.ai_family = PF_UNSPEC; 85 hints.ai_socktype = SOCK_STREAM; 86 hints.ai_flags = AI_PASSIVE; 87 ret = getaddrinfo(NULL, "8080", &hints, &res0);
|
| /src/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
| hkpc.c | 47 struct addrinfo hints; local 53 (void) memset(&hints, 0, sizeof(hints)); 54 hints.ai_family = (fam == 4) ? PF_INET : PF_INET6; 55 hints.ai_socktype = SOCK_STREAM; 57 if ((rc = getaddrinfo(hostname, portstr, &hints, &res)) != 0) { 58 hints.ai_flags = 0; 59 if ((rc = getaddrinfo(hostname, "hkp", &hints, &res)) != 0) {
|
| /src/external/gpl3/gcc/dist/gcc/ |
| ipa-inline.h | 31 ipa_hints hints; member in class:edge_growth_cache_entry 34 : size (0), hints (0) {} 37 int size, ipa_hints hints) 39 hints (hints) {} 129 || entry->hints == 0) 131 return entry->hints - 1;
|
| /src/external/gpl3/gcc/dist/libcody/ |
| netclient.cc | 95 addrinfo hints; local 96 hints.ai_flags = 0; 97 hints.ai_family = AF_INET6; 98 hints.ai_socktype = SOCK_STREAM; 99 hints.ai_protocol = 0; 100 hints.ai_addrlen = 0; 101 hints.ai_addr = nullptr; 102 hints.ai_canonname = nullptr; 103 hints.ai_next = nullptr; 105 if (int err = getaddrinfo (name, nullptr, &hints, &addrs) [all...] |
| netserver.cc | 102 addrinfo hints; local 103 hints.ai_flags = AI_NUMERICSERV; 104 hints.ai_family = AF_INET6; 105 hints.ai_socktype = SOCK_STREAM; 106 hints.ai_protocol = 0; 107 hints.ai_addrlen = 0; 108 hints.ai_addr = nullptr; 109 hints.ai_canonname = nullptr; 110 hints.ai_next = nullptr; 114 if (int err = getaddrinfo (name, "0", &hints, &addrs) [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| ipa-inline.h | 31 ipa_hints hints; member in class:edge_growth_cache_entry 34 : size (0), hints (0) {} 37 int size, ipa_hints hints) 39 hints (hints) {} 129 || entry->hints == 0) 131 return entry->hints - 1;
|
| /src/external/gpl3/gcc.old/dist/libcody/ |
| netclient.cc | 95 addrinfo hints; local 96 hints.ai_flags = 0; 97 hints.ai_family = AF_INET6; 98 hints.ai_socktype = SOCK_STREAM; 99 hints.ai_protocol = 0; 100 hints.ai_addrlen = 0; 101 hints.ai_addr = nullptr; 102 hints.ai_canonname = nullptr; 103 hints.ai_next = nullptr; 105 if (int err = getaddrinfo (name, nullptr, &hints, &addrs) [all...] |