Lines Matching defs:sp
52 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port,
99 return _servent_parsedb(sd, sp, data, datalen);
104 if (_servent_parseline(sd, sp) == NULL)
106 if (sp->s_port != port)
108 if (proto == NULL || strcmp(sp->s_proto, proto) == 0)
109 return sp;
116 getservbyport_r(int port, const char *proto, struct servent *sp,
120 sp = _servent_getbyport(sd, sp, port, proto);
123 return sp;