Searched refs:prots (Results 1 - 4 of 4) sorted by relevance
/seL4-refos-master/libs/libmuslc/src/network/ |
H A D | getservbyname.c | 4 struct servent *getservbyname(const char *name, const char *prots) argument 9 if (getservbyname_r(name, prots, &se, (void *)buf, sizeof buf, &res))
|
H A D | getservbyport.c | 4 struct servent *getservbyport(int port, const char *prots) argument 9 if (getservbyport_r(port, prots, &se, (void *)buf, sizeof buf, &res))
|
H A D | getservbyport_r.c | 9 int getservbyport_r(int port, const char *prots, argument 18 if (!prots) { 33 if (strcmp(prots, "tcp") && strcmp(prots, "udp")) return EINVAL; 36 se->s_proto = (char *)prots; 44 strcmp(prots, "udp") ? 0 : NI_DGRAM)) {
|
H A D | getservbyname_r.c | 12 int getservbyname_r(const char *name, const char *prots, argument 26 if (!prots) proto = 0; 27 else if (!strcmp(prots, "tcp")) proto = IPPROTO_TCP; 28 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP;
|
Completed in 31 milliseconds