Lines Matching refs:port_r
565 int net_accept(int fd, struct ip_addr *addr_r, in_port_t *port_r)
585 if (port_r != NULL) *port_r = 0;
588 if (port_r != NULL) *port_r = sin_get_port(&so);
943 int net_str2port(const char *str, in_port_t *port_r)
952 *port_r = (in_port_t)l;
956 int net_str2port_zero(const char *str, in_port_t *port_r)
965 *port_r = (in_port_t)l;
970 const char **host_r, in_port_t *port_r)
986 *port_r = default_port;
993 *port_r = default_port;
1001 *port_r = port;