Lines Matching defs:proto
171 sv_byname(struct irs_sv *this, const char *name, const char *proto) {
184 if ((strlen(name) + sizeof "/" + proto ? strlen(proto) : 0)
189 proto ? proto : "")) + 1;
190 if (proto != NULL) {
209 if (proto == NULL || strcmp(p->s_proto, proto) == 0)
216 sv_byport(struct irs_sv *this, int port, const char *proto) {
233 if (proto && *proto) {
234 strncpy((char *)ports + key.size, proto,
250 if (proto == NULL || strcmp(p->s_proto, proto) == 0)