Searched refs:s_proto (Results 1 - 14 of 14) sorted by relevance
/freebsd-10-stable/tools/regression/lib/libc/nss/ |
H A D | test-getserv.c | 97 if (src->s_proto != NULL) { 98 dest->s_proto = strdup(src->s_proto); 99 assert(dest->s_proto != NULL); 127 free(serv->s_proto); 146 (strcmp(serv1->s_proto, serv2->s_proto) != 0) || 182 serv->s_name, ntohs(serv->s_port), serv->s_proto); 237 serv->s_proto = strdup(s); 238 assert(serv->s_proto ! [all...] |
/freebsd-10-stable/lib/libc/tests/nss/ |
H A D | getserv_test.c | 94 if (src->s_proto != NULL) { 95 dest->s_proto = strdup(src->s_proto); 96 ATF_REQUIRE(dest->s_proto != NULL); 123 free(serv->s_proto); 142 (strcmp(serv1->s_proto, serv2->s_proto) != 0) || 178 serv->s_name, ntohs(serv->s_port), serv->s_proto); 232 serv->s_proto = strdup(s); 233 ATF_REQUIRE(serv->s_proto ! [all...] |
/freebsd-10-stable/usr.sbin/nscd/agents/ |
H A D | services.c | 62 if (serv->s_proto != NULL) 63 desired_size += strlen(serv->s_proto) + 1; 97 if (new_serv.s_proto != NULL) { 98 size = strlen(new_serv.s_proto); 99 memcpy(p, new_serv.s_proto, size); 100 new_serv.s_proto = p;
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_servent.c | 43 svp->s_name, ntohs((uint16_t)svp->s_port), svp->s_proto);
|
/freebsd-10-stable/contrib/ntp/include/ |
H A D | ntp_machine.h | 150 char *s_proto; /* protocol to use */ member in struct:servent
|
/freebsd-10-stable/contrib/less/ |
H A D | prompt.c | 42 static constant char s_proto[] = variable 71 prproto[0] = save(s_proto);
|
/freebsd-10-stable/lib/libc/net/ |
H A D | getservent.c | 198 serv->s_proto = cp; 409 if (proto == NULL || strcmp(serv->s_proto, proto) == 0) 416 if (proto == NULL || strcmp(serv->s_proto, proto) == 0) 979 if (serv->s_proto != NULL) 980 desired_size += strlen(serv->s_proto) + 1; 1014 if (new_serv.s_proto != NULL) { 1015 size = strlen(new_serv.s_proto); 1016 memcpy(p, new_serv.s_proto, size); 1017 new_serv.s_proto = p; 1091 NS_APPLY_OFFSET(serv->s_proto, orig_bu [all...] |
/freebsd-10-stable/include/ |
H A D | netdb.h | 114 char *s_proto; /* protocol to use */ member in struct:servent
|
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | ntp_rfc2553.c | 395 if (strcmp(sp->s_proto, "tcp") == 0) 397 else if (strcmp(sp->s_proto, "udp") == 0)
|
H A D | machines.c | 73 serv1->s_proto = "udp"; /* protocol to use */
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | addrtoname.c | 736 if (strcmp(sv->s_proto, "tcp") == 0) 738 else if (strcmp(sv->s_proto, "udp") == 0)
|
/freebsd-10-stable/lib/libc/resolv/ |
H A D | res_mkupdate.c | 992 slp->proto = strdup(sp->s_proto); 1140 serv.s_proto = lp->proto;
|
/freebsd-10-stable/contrib/ipfilter/tools/ |
H A D | ipmon.c | 438 if (s->s_proto == NULL) 440 else if (!strcmp(s->s_proto, "tcp")) { 444 } else if (!strcmp(s->s_proto, "udp")) {
|
/freebsd-10-stable/usr.bin/getent/ |
H A D | getent.c | 509 se->s_name, ntohs(se->s_port), se->s_proto)
|
Completed in 214 milliseconds