Searched refs:s_proto (Results 1 – 4 of 4) 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()
91 rs->servent.s_proto = p2; in getservent_r()103 rs->servent.s_proto = p[2] == 't' ? "tcp" : "udp"; in getservent_r()
104 char *s_proto; /* protocol to use */ member