Searched refs:serv (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dbasics_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tft
[all...]
H A Dspec_fam_v4v6.exp1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
H A Dbasics_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv htt
[all...]
H A Dsock_raw_v4.exp1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
H A Dspec_fam_v4.exp1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
H A Dunsup_fam.exp1 arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
H A Dno_serv_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv
[all...]
H A Dscoped.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http
H A Dno_host_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv ech
[all...]
H A Dno_host_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 8
[all...]
H A Dno_serv_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empt
[all...]
H A Dsock_raw_v4v6.exp1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
14 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv
[all...]
H A Dh_gai.c48 char serv[NI_MAXSERV]; variable
58 fprintf(stderr, "usage: test [-f family] [-s socktype] [-p proto] [-DPRSv46] host serv\n");
70 host, sizeof(host), serv, sizeof(serv),
73 s = serv;
/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetserv_test.c116 free_servent(struct servent *serv) argument
120 ATF_REQUIRE(serv != NULL);
122 free(serv->s_name);
123 free(serv->s_proto);
125 for (cp = serv->s_aliases; *cp; ++cp)
127 free(serv->s_aliases);
172 sdump_servent(struct servent *serv, char *buffer, size_t buflen) argument
178 serv->s_name, ntohs(serv->s_port), serv
203 servent_read_snapshot_func(struct servent *serv, char *line) argument
288 struct servent *serv; local
303 servent_test_correctness(struct servent *serv, void *mdata __unused) argument
338 servent_check_ambiguity(struct servent_test_data *td, struct servent *serv) argument
349 struct servent *serv; local
387 struct servent *serv; local
406 servent_test_getservent(struct servent *serv, void *mdata __unused) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetnameinfo.c44 char *serv, size_t servlen,
69 if (serv != NULL) {
71 snprintf (serv, servlen, "%u", ntohs(port));
81 snprintf (serv, servlen, "%u", ntohs(port));
83 strlcpy (serv, se->s_name, servlen);
97 char *serv, size_t servlen,
108 serv, servlen,
118 serv, servlen,
39 doit(int af, const void *addr, size_t addrlen, int port, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
95 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
H A Dgetnameinfo_verified.c49 char *serv, size_t servlen,
62 if (serv == NULL) {
63 serv = servbuf;
67 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
74 ret = getaddrinfo (host, serv, &hints, &ai);
91 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
47 getnameinfo_verified(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/freebsd-11-stable/lib/libc/net/
H A Dgetservent.c135 struct servent serv; member in struct:servent_state
166 servent_unpack(char *p, struct servent *serv, char **aliases, argument
175 memset(serv, 0, sizeof(struct servent));
180 serv->s_name = p;
196 serv->s_port = htons((in_port_t)l);
197 serv->s_proto = cp;
199 q = serv->s_aliases = aliases;
225 parse_result(struct servent *serv, char *buffer, size_t bufsize, argument
245 if (servent_unpack(buffer, serv, aliases, aliases_size, errnop) != 0)
298 struct servent *serv; local
503 struct servent *serv; local
675 struct servent *serv; local
951 struct servent *serv; local
1052 struct servent *serv; local
1115 getservbyname_r(const char *name, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument
1152 getservbyport_r(int port, const char *proto, struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument
1189 getservent_r(struct servent *serv, char *buffer, size_t bufsize, struct servent **result) argument
1285 wrap_getservbyname_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument
1293 wrap_getservbyport_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument
1301 wrap_getservent_r(struct key key, struct servent *serv, char *buffer, size_t bufsize, struct servent **res) argument
[all...]
H A Dgetnameinfo.c114 char *host, size_t hostlen, char *serv, size_t servlen,
149 serv, servlen, flags));
169 char *host, size_t hostlen, char *serv, size_t servlen,
185 if (serv == NULL || servlen == 0) {
189 * "||" here: rfc2553bis-03 says that serv == NULL OR
202 strlcpy(serv, sp->s_name, servlen);
207 strlcpy(serv, numserv, servlen);
418 char *host, size_t hostlen, char *serv, size_t servlen, int flags)
425 if (serv != NULL && servlen > 0)
426 *serv
113 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
167 getnameinfo_inet(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
416 getnameinfo_link(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
512 getnameinfo_un(const struct afd *afd, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
[all...]
/freebsd-11-stable/lib/libc/rpc/
H A Drtime.c80 struct servent *serv; local
94 if ((serv = getservbyname("time", "tcp")) == NULL) {
98 addrp->sin_port = serv->s_port;
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius_client.c1066 struct sockaddr_in serv, claddr; local
1131 os_memset(&serv, 0, sizeof(serv));
1132 serv.sin_family = AF_INET;
1133 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr;
1134 serv.sin_port = htons(nserv->port);
1135 addr = (struct sockaddr *) &serv;
1136 addrlen = sizeof(serv);
1557 struct hostapd_radius_server *serv,
1587 serv
1556 radius_client_dump_auth_server(char *buf, size_t buflen, struct hostapd_radius_server *serv, struct radius_client_data *cli) argument
1605 radius_client_dump_acct_server(char *buf, size_t buflen, struct hostapd_radius_server *serv, struct radius_client_data *cli) argument
1663 struct hostapd_radius_server *serv; local
[all...]
/freebsd-11-stable/usr.sbin/nscd/agents/
H A Dservices.c49 services_marshal_func(struct servent *serv, char *buffer, size_t *buffer_size) argument
60 if (serv->s_name != NULL)
61 desired_size += strlen(serv->s_name) + 1;
62 if (serv->s_proto != NULL)
63 desired_size += strlen(serv->s_proto) + 1;
66 if (serv->s_aliases != NULL) {
67 for (alias = serv->s_aliases; *alias; ++alias) {
82 memcpy(&new_serv, serv, sizeof(struct servent));
/freebsd-11-stable/lib/libcasper/services/cap_dns/
H A Dcap_dns.h49 socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen,
/freebsd-11-stable/lib/ofed/libibmad/
H A DMakefile23 serv.c \
/freebsd-11-stable/contrib/ldns/compat/
H A Dfake-rfc2553.c49 size_t hostlen, char *serv, size_t servlen, int flags)
55 if (serv != NULL) {
57 if (strlcpy(serv, tmpserv, servlen) >= servlen)
48 getnameinfo(const struct sockaddr *sa, size_t ATTR_UNUSED(salen), char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/freebsd-11-stable/contrib/unbound/compat/
H A Dfake-rfc2553.c47 size_t hostlen, char *serv, size_t servlen, int flags)
53 if (serv != NULL) {
55 if (strlcpy(serv, tmpserv, servlen) >= servlen)
46 getnameinfo(const struct sockaddr *sa, size_t ATTR_UNUSED(salen), char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument

Completed in 131 milliseconds

12