HomeSort by: relevance | last modified time | path
    Searched defs:hints (Results 1 - 25 of 79) 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/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/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/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/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.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/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/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...]
  /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/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/tcpdrop/
tcpdrop.c 78 static const struct addrinfo hints = { local in function:egetaddrinfo
85 if ((gaierr = getaddrinfo(host, serv, &hints, &ai)) != 0)
  /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/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...]
  /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))
  /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/tests/net/inpcb/
inpcb_bind.c 349 struct addrinfo hints, *baddr, *any, *mifa; local in function:main
356 memset(&hints, 0, sizeof(hints));
357 hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICHOST | AI_NUMERICSERV | \
359 hints.ai_socktype = SOCK_DGRAM;
364 if ((error = getaddrinfo(baddr_s, bport_s, &hints, &baddr)))
369 hints.ai_family = baddr->ai_family;
370 if ((error = getaddrinfo(NULL, bport_s, &hints, &any)))
383 hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICHOST;
385 if ((error = getaddrinfo(bmifa_s, NULL, &hints, &mifa))
    [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.bin/nc/
socks.c 70 struct addrinfo hints, *res; local in function:decode_addrport
72 bzero(&hints, sizeof(hints));
73 hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
74 hints.ai_flags = numeric ? AI_NUMERICHOST : 0;
75 hints.ai_socktype = SOCK_STREAM;
76 r = getaddrinfo(h, p, &hints, &res);
188 struct addrinfo hints __unused,
  /src/usr.sbin/rpcbind/
util.c 310 struct addrinfo hints, *res; local in function:network_init
312 memset(&hints, 0, sizeof hints);
313 hints.ai_family = AF_INET;
314 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
328 hints.ai_family = AF_INET6;
329 if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
  /src/usr.bin/systat/
netcmds.c 144 struct addrinfo hints, *res, *res0; local in function:changeitems
166 memset(&hints, 0, sizeof(hints));
167 hints.ai_family = PF_UNSPEC;
168 hints.ai_socktype = SOCK_DGRAM;
169 if (getaddrinfo(args, "0", &hints, &res0) != 0) {
  /src/tests/usr.sbin/inetd/
t_inetd.c 240 struct addrinfo hints = { local in function:create_socket
248 ATF_REQUIRE_EQ_MSG(error = getaddrinfo(address, port, &hints, &res), 0,

Completed in 19 milliseconds

1 2 3 4