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

1 2 3 4 5 6 7

  /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);
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) {
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);
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)
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);
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);
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);
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) {
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...]
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...]
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);
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);

Completed in 90 milliseconds

1 2 3 4 5 6 7