Searched refs:s_proto (Results 1 – 7 of 7) sorted by relevance
48 if ( s->s_port == port && !strcmp( s->s_proto, proto ) ) in getservbyport()
49 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) ) in getservbyname()
56 if (proto == NULL || strcmp(s->s_proto, proto) == 0) in getservbyport_r()
91 rs->servent.s_proto = p2; in getservent_r()103 rs->servent.s_proto = p[2] == 't' ? "tcp" : "udp"; in getservent_r()
67 if (proto == NULL || strcmp(s->s_proto, proto) == 0) in getservbyname_r()
111 sp->s_proto = cp; in getservent_r()
108 char *s_proto; /* protocol to use */ member