HomeSort by: relevance | last modified time | path
    Searched refs:hints (Results 1 - 25 of 87) sorted by relevancy

1 2 3 4

  /src/usr.sbin/ypserv/common/
localhostname.c 51 struct addrinfo *res, hints; local in function:localhostname
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/lib/libform/
type_ipv6.c 57 struct addrinfo hints, *res; local in function:ipv6_check_field
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/usr.bin/getaddrinfo/
getaddrinfo.c 61 struct addrinfo hints = zero_addrinfo; local in function:main
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/tests/net/ipsec/
natt_terminator.c 55 struct addrinfo hints; local in function:main
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/sbin/mount_portal/
pt_tcp.c 73 struct addrinfo hints, *res, *lres; local in function:portal_tcp
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/usr.bin/finger/
net.c 73 struct addrinfo hints, *res, *res0; local in function:netfinger
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.sbin/ypserv/stdhosts/
stdhosts.c 62 struct addrinfo hints, *res; local in function:main
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/tests/net/net/
t_udp.c 19 struct addrinfo hints; local in function:sendit
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/sys/external/bsd/drm2/dist/drm/vboxvideo/
vbox_irq.c 65 * Check that the position hints provided by the host are suitable for GNOME
66 * shell (i.e. all screens disjoint and hints for all enabled screens) and if
67 * not replace them with default ones. Providing valid hints improves the
110 /* Query the host for the most recent video mode hints. */
117 struct vbva_modehint *hints; local in function:vbox_update_mode_hints
137 hints = &vbox->last_mode_hints[vbox_conn->vbox_crtc->crtc_id];
138 if (hints->magic != VBVAMODEHINT_MAGIC)
141 disconnected = !(hints->enabled);
143 vbox_conn->mode_hint.width = hints->cx;
144 vbox_conn->mode_hint.height = hints->cy
    [all...]
modesetting.c 92 * Get most recent video mode hints.
95 * @screens: The number of screens to query hints for, starting at 0.
96 * @hints: Array of vbva_modehint structures for receiving the hints.
99 struct vbva_modehint *hints)
104 if (WARN_ON(!hints))
124 memcpy(hints, ((u8 *)p) + sizeof(struct vbva_query_mode_hints), size);
  /src/usr.sbin/rdate/
rdate.c 80 struct addrinfo hints, *res, *res0; local in function:main
119 memset(&hints, 0, sizeof (hints));
120 hints.ai_family = family;
121 hints.ai_socktype = SOCK_STREAM;
122 hints.ai_flags = AI_CANONNAME;
123 error = getaddrinfo(hname, "time", &hints, &res0);
  /src/lib/libwrap/
socket.c 156 struct addrinfo hints, *res, *res0; local in function:sock_hostname
186 memset(&hints, 0, sizeof(hints));
187 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
188 hints.ai_flags = AI_NUMERICHOST;
190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0)
192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0)
214 memset(&hints, 0, sizeof(hints));
215 hints.ai_family = sa->sa_family
    [all...]
hosts_access.c 470 struct addrinfo hints, *res; local in function:masked_match6
477 memset(&hints, 0, sizeof(hints));
478 hints.ai_family = PF_UNSPEC;
479 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
480 hints.ai_flags = AI_NUMERICHOST;
481 if (getaddrinfo(net_tok, "0", &hints, &res) == 0) {
491 memset(&hints, 0, sizeof(hints));
492 hints.ai_family = net.sa.sa_family
    [all...]
  /src/usr.bin/whois/
whois.c 184 struct addrinfo hints, *res, *ai; local in function:whois
186 (void)memset(&hints, 0, sizeof(hints));
187 hints.ai_flags = 0;
188 hints.ai_family = AF_UNSPEC;
189 hints.ai_socktype = SOCK_STREAM;
190 error = getaddrinfo(server, port, &hints, &res);
306 struct addrinfo hints, *res = NULL; local in function:choose_server
308 (void)memset(&hints, 0, sizeof(hints));
    [all...]
  /src/tests/net/sys/
t_rfc6056.c 56 struct addrinfo hints, *res; local in function:test
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.sbin/tcpdchk/
scaffold.c 52 struct addrinfo hints, *res; local in function:find_inet_addr
55 memset(&hints, 0, sizeof(hints));
56 hints.ai_socktype = SOCK_DGRAM;
57 hints.ai_flags = AI_CANONNAME | flags;
58 error = getaddrinfo(host, "0", &hints, &res);
  /src/usr.sbin/traceroute/
as.c 61 struct addrinfo hints, *res0, *res; local in function:as_setup
71 memset(&hints, 0, sizeof(hints));
72 hints.ai_family = PF_UNSPEC;
73 hints.ai_socktype = SOCK_STREAM;
74 error = getaddrinfo(server, "whois", &hints, &res0);
77 error = getaddrinfo(server, "43", &hints, &res0);
  /src/usr.sbin/lpr/common_source/
common.c 134 struct addrinfo hints, *res, *r; local in function:getport
156 (void)memset(&hints, 0, sizeof(hints));
157 hints.ai_family = PF_UNSPEC;
158 hints.ai_socktype = SOCK_STREAM;
159 error = getaddrinfo(hostname, port, &hints, &res);
353 struct addrinfo hints, *res0; local in function:checkremote
380 memset(&hints, 0, sizeof(hints));
381 hints.ai_flags = AI_CANONNAME
    [all...]
  /src/usr.sbin/mountd/
get_net.c 119 struct addrinfo hints, *ai = NULL; local in function:get_net
153 memset(&hints, 0, sizeof hints);
154 hints.ai_family = AF_UNSPEC;
155 hints.ai_flags = AI_NUMERICHOST;
156 if (getaddrinfo(cp, NULL, &hints, &ai) == 0)
  /src/usr.sbin/rip6query/
rip6query.c 83 struct addrinfo hints, *res; local in function:main
115 memset(&hints, 0, sizeof(hints));
116 hints.ai_family = AF_INET6;
117 hints.ai_socktype = SOCK_DGRAM;
118 error = getaddrinfo(argv[0], pbuf, &hints, &res);
  /src/lib/libc/net/
rcmd.c 101 struct addrinfo hints, *res; local in function:rcmd_af
112 memset(&hints, 0, sizeof(hints));
113 hints.ai_family = af;
114 hints.ai_socktype = SOCK_STREAM;
115 hints.ai_flags = AI_CANONNAME;
116 error = getaddrinfo(*ahost, pbuf, &hints, &res);
160 struct addrinfo hints, *res; local in function:orcmd_af
170 memset(&hints, 0, sizeof(hints));
601 struct addrinfo hints, *res, *r; local in function:ruserok
922 struct addrinfo hints, *res, *r; local in function:__icheckhost
973 struct addrinfo hints, *res, *r; local in function:__gethostloop
    [all...]
  /src/sbin/mount_nfs/
getnfsargs.c 105 struct addrinfo hints, *ai_nfs, *ai; local in function:getnfsargs
134 memset(&hints, 0, sizeof hints);
135 hints.ai_flags = AI_NUMERICHOST;
136 hints.ai_socktype = nfsargsp->sotype;
137 if (getaddrinfo(hostp, "nfs", &hints, &ai_nfs) != 0) {
138 hints.ai_flags = 0;
139 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) {
getnfsargs_small.c 192 struct addrinfo hints, *ai_nfs; local in function:getnfsargs
213 memset(&hints, 0, sizeof hints);
214 hints.ai_socktype = nfsargsp->sotype;
216 if ((ecode = getaddrinfo(hostp, "nfs", &hints, &ai_nfs)) != 0) {
  /src/usr.sbin/rpcbind/
rpcbind.c 284 struct addrinfo hints, *res = NULL; local in function:init_transport
357 (void)memset(&hints, 0, sizeof hints);
358 hints.ai_flags = AI_PASSIVE;
359 hints.ai_family = si.si_af;
360 hints.ai_socktype = si.si_socktype;
361 hints.ai_protocol = si.si_proto;
377 if (hints.ai_family == AF_INET) {
379 } else if (hints.ai_family == AF_INET6) {
404 switch (hints.ai_family)
747 struct addrinfo hints, *res = NULL; local in function:update_bound_sa
    [all...]
  /src/usr.sbin/faithd/
prefix.c 64 struct addrinfo hints, *res = NULL; local in function:prefix_set
77 memset(&hints, 0, sizeof(hints));
78 hints.ai_family = PF_UNSPEC;
79 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
80 hints.ai_flags = AI_NUMERICHOST;
81 if (getaddrinfo(p, "0", &hints, &res))

Completed in 22 milliseconds

1 2 3 4