Searched refs:s_proto (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/lib/libc/tests/nss/
H A Dgetserv_test.c94 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-11-stable/usr.sbin/nscd/agents/
H A Dservices.c62 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-11-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_servent.c43 svp->s_name, ntohs((uint16_t)svp->s_port), svp->s_proto);
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_machine.h150 char *s_proto; /* protocol to use */ member in struct:servent
/freebsd-11-stable/lib/libc/net/
H A Dgetservent.c197 serv->s_proto = cp;
408 if (proto == NULL || strcmp(serv->s_proto, proto) == 0)
415 if (proto == NULL || strcmp(serv->s_proto, proto) == 0)
985 if (serv->s_proto != NULL)
986 desired_size += strlen(serv->s_proto) + 1;
1020 if (new_serv.s_proto != NULL) {
1021 size = strlen(new_serv.s_proto);
1022 memcpy(p, new_serv.s_proto, size);
1023 new_serv.s_proto = p;
1097 NS_APPLY_OFFSET(serv->s_proto, orig_bu
[all...]
/freebsd-11-stable/include/
H A Dnetdb.h124 char *s_proto; /* protocol to use */ member in struct:servent
/freebsd-11-stable/contrib/ntp/libntp/
H A Dntp_rfc2553.c395 if (strcmp(sp->s_proto, "tcp") == 0)
397 else if (strcmp(sp->s_proto, "udp") == 0)
H A Dmachines.c73 serv1->s_proto = "udp"; /* protocol to use */
/freebsd-11-stable/contrib/less/
H A Dprompt.c42 static constant char s_proto[] = variable
71 prproto[0] = save(s_proto);
/freebsd-11-stable/lib/libc/resolv/
H A Dres_mkupdate.c991 slp->proto = strdup(sp->s_proto);
1139 serv.s_proto = lp->proto;
/freebsd-11-stable/contrib/tcpdump/
H A Daddrtoname.c793 if (strcmp(sv->s_proto, "tcp") == 0)
795 else if (strcmp(sv->s_proto, "udp") == 0)
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon.c420 if (s->s_proto == NULL)
422 else if (!strcmp(s->s_proto, "tcp")) {
426 } else if (!strcmp(s->s_proto, "udp")) {
/freebsd-11-stable/usr.bin/getent/
H A Dgetent.c511 se->s_name, ntohs(se->s_port), se->s_proto)
/freebsd-11-stable/contrib/libpcap/
H A Dgencode.c9285 struct slist *s, *s1, *s_proto; local
9373 s_proto = new_stmt(cstate, JMP(BPF_JEQ));
9374 s_proto->s.k = ETHERTYPE_TEB;
9375 sappend(s, s_proto);
9379 s_proto->s.jt = s1;
9409 s_proto->s.jf = s1;

Completed in 132 milliseconds