Lines Matching refs:sin_port
219 port = ntohs(((struct sockaddr_in*)addr)->sin_port);
280 sa->sin_port = (in_port_t)htons(p);
479 sa->sin_port = (in_port_t)htons((uint16_t)port);
569 port = ntohs(((struct sockaddr_in*)addr)->sin_port);
591 port = ntohs(((struct sockaddr_in*)addr)->sin_port);
619 if(p1_in->sin_port < p2_in->sin_port)
621 if(p1_in->sin_port > p2_in->sin_port)
623 log_assert(p1_in->sin_port == p2_in->sin_port);