/freebsd-9.3-release/contrib/less/ |
H A D | scrsize.c | 55 XSizeHints hints; local 60 if (!XGetWMNormalHints(dpy, window, &hints, &longjunk)) 62 if (!(hints.flags & PResizeInc)) 64 if (hints.width_inc == 0 || hints.height_inc == 0) 66 if (!(hints.flags & (PBaseSize|PMinSize))) 68 if (hints.flags & PBaseSize) 70 win_attributes.width -= hints.base_width; 71 win_attributes.height -= hints.base_height; 74 win_attributes.width -= hints [all...] |
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | socktohost.c | 33 struct addrinfo hints; local 58 ZERO(hints); 59 hints.ai_family = AF(sock); 60 hints.ai_protocol = IPPROTO_UDP; 61 hints.ai_socktype = SOCK_DGRAM; 62 hints.ai_flags = 0; 65 a_info = getaddrinfo(pbuf, svc, &hints, &alist); 71 hints.ai_flags = AI_CANONNAME; 73 hints.ai_flags |= AI_ADDRCONFIG; 75 a_info = getaddrinfo(pbuf, svc, &hints, [all...] |
H A D | is_ip_address.c | 34 struct addrinfo hints; local 72 ZERO(hints); 73 hints.ai_family = AF_INET6; 74 hints.ai_flags |= AI_NUMERICHOST; 75 if (getaddrinfo(tmpbuf, NULL, &hints, &result) == 0) {
|
H A D | decodenetnum.c | 29 struct addrinfo hints, *ai = NULL; local 73 ZERO(hints); 74 hints.ai_flags = Z_AI_NUMERICHOST; 75 err = getaddrinfo(cp, "ntp", &hints, &ai);
|
H A D | ntp_rfc2553.c | 246 "Invalid value for hints", /* EAI_BADHINTS */ 278 const struct addrinfo *hints); 282 const struct addrinfo *hints, struct addrinfo **res) 303 * Copy default values from hints, if available 305 if (hints != NULL) { 306 ai->ai_flags = hints->ai_flags; 307 ai->ai_family = hints->ai_family; 308 ai->ai_socktype = hints->ai_socktype; 309 ai->ai_protocol = hints->ai_protocol; 311 family = hints 281 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 464 do_nodename( const char *nodename, struct addrinfo *ai, const struct addrinfo *hints) argument [all...] |
/freebsd-9.3-release/tools/tools/nanobsd/gateworks/ |
H A D | G2348 | 14 hints "AVILA.hints"
|
H A D | G2358 | 14 hints "CAMBRIA.hints"
|
/freebsd-9.3-release/contrib/bind9/lib/export/samples/ |
H A D | sample-gai.c | 32 struct addrinfo hints, *res, *res0; local 36 memset(&hints, 0, sizeof(hints)); 37 hints.ai_family = family; 38 hints.ai_socktype = SOCK_STREAM; 39 hints.ai_flags = AI_CANONNAME; 40 error = getaddrinfo(hostname, "http", &hints, &res0);
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 52 struct addrinfo hints; local 68 memset(&hints, 0, sizeof(hints)); 70 hints.ai_socktype = socktype; 74 hints.ai_socktype = hstp->socktype; 75 hints.ai_protocol = hstp->protocol; 95 return getaddrinfo (host, portstr, &hints, ai);
|
H A D | getaddrinfo.c | 42 * uses hints->ai_socktype and hints->ai_protocol 47 const struct addrinfo *hints, 57 if (hints != NULL && hints->ai_protocol != 0) { 58 struct protoent *protoent = getprotobynumber (hints->ai_protocol); 67 if (hints != NULL) 68 *socktype = hints->ai_socktype; 183 get_null (const struct addrinfo *hints, argument 196 if (hints ! 46 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument 274 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 314 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument 372 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
H A D | getaddrinfo-test.c | 70 struct addrinfo hints; local 76 memset (&hints, 0, sizeof(hints)); 77 hints.ai_flags = flags; 78 hints.ai_family = family; 79 hints.ai_socktype = socktype; 81 ret = getaddrinfo (nodename, servname, &hints, &res);
|
H A D | getnameinfo_verified.c | 58 struct addrinfo hints; local 73 memset (&hints, 0, sizeof(hints)); 74 hints.ai_socktype = SOCK_STREAM; 75 ret = getaddrinfo (host, serv, &hints, &ai);
|
H A D | mini_inetd.c | 131 struct addrinfo *ai, hints; local 134 memset (&hints, 0, sizeof(hints)); 135 hints.ai_flags = AI_PASSIVE; 136 hints.ai_socktype = SOCK_STREAM; 137 hints.ai_family = PF_UNSPEC; 141 error = getaddrinfo (NULL, portstr, &hints, &ai);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) argument 143 if (hints->ai_socktype) 144 ai->ai_socktype = hints->ai_socktype; 148 if (hints->ai_protocol) 149 ai->ai_protocol = hints->ai_protocol; 156 const struct addrinfo *hints, struct addrinfo **res) 166 if (hints && hints->ai_family != AF_UNSPEC && 167 hints->ai_family != AF_INET) 181 if (hints 155 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument [all...] |
/freebsd-9.3-release/usr.sbin/nfsd/ |
H A D | nfsd.c | 102 struct addrinfo hints); 134 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; local 265 memset(&hints, 0, sizeof hints); 266 hints.ai_flags = AI_PASSIVE; 267 hints.ai_family = AF_INET; 268 hints.ai_socktype = SOCK_DGRAM; 269 hints.ai_protocol = IPPROTO_UDP; 270 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); 284 memset(&hints, 810 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints) argument 933 struct addrinfo *aip, hints; local [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | expand_hostname.c | 62 struct addrinfo *ai, *a, hints; local 68 memset (&hints, 0, sizeof(hints)); 69 hints.ai_flags = AI_CANONNAME; 71 error = getaddrinfo (orig_hostname, NULL, &hints, &ai); 126 struct addrinfo *ai, *a, hints; local 134 memset (&hints, 0, sizeof(hints)); 135 hints.ai_flags = AI_CANONNAME; 137 error = getaddrinfo (orig_hostname, NULL, &hints, [all...] |
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | net.c | 92 struct addrinfo hints, *res, *ai; local 101 memset(&hints, 0, sizeof(hints)); 102 hints.ai_family = family; 103 hints.ai_socktype = SOCK_STREAM; 104 hints.ai_protocol = 0; 106 &hints, &res); 186 struct addrinfo hints, *local_res, *remote_res, *lr, *rr; local 204 memset(&hints, 0, sizeof(hints)); [all...] |
/freebsd-9.3-release/sys/mips/conf/ |
H A D | TP-WN1043ND | 12 # Override hints with board values 13 hints "TP-WN1043ND.hints"
|
/freebsd-9.3-release/contrib/bind9/lib/bind9/ |
H A D | getaddresses.c | 59 struct addrinfo *ai = NULL, *tmpai, hints; local 136 memset(&hints, 0, sizeof(hints)); 138 hints.ai_family = PF_INET; 140 hints.ai_family = PF_INET6; 142 hints.ai_family = PF_UNSPEC; 144 hints.ai_flags = AI_ADDRCONFIG; 147 hints.ai_socktype = SOCK_STREAM; 151 result = getaddrinfo(hostname, NULL, &hints, &ai); 162 if ((hints [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/ |
H A D | rootns.h | 36 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db); 38 * Reports differences between hints and the real roots. 40 * Requires view, hints and (cache) db to be valid.
|
/freebsd-9.3-release/contrib/ntp/include/ |
H A D | intreswork.h | 20 const struct addrinfo *hints,
|
/freebsd-9.3-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-9.3-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-9.3-release/usr.sbin/sysinstall/ |
H A D | http.c | 45 struct addrinfo hints, *res, *res0; local 48 memset(&hints, 0, sizeof(hints)); 49 hints.ai_family = af; 50 hints.ai_socktype = SOCK_STREAM; 51 hints.ai_protocol = 0; 53 variable_get(VAR_HTTP_PORT), &hints, &res0)) != 0) { 201 struct addrinfo hints, *res, *res0; local 204 memset(&hints, 0, sizeof(hints)); [all...] |
/freebsd-9.3-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...] |