Searched refs:s_port (Results 1 – 8 of 8) sorted by relevance
48 if ( s->s_port == port && !strcmp( s->s_proto, proto ) ) in getservbyport()
54 if (s->s_port != port) in getservbyport_r()
102 rs->servent.s_port = htons(port); in getservent_r()
110 sp->s_port = htons((u_short)atoi(p)); in getservent_r()
1212 port = sp->s_port; in get_port()
18 - getservbyname() returned the port number in the s_port field of
269 order in the s_port field. It now returns it in big-endian order.
103 int s_port; /* port # */ member