Searched refs:sin_port (Results 1 – 6 of 6) sorted by relevance
63 sin->sin_port = htons(port); in bindresvport()
216 __be16 sin_port; member
202 u.sin.sin_port = htons(port); in random_bind()213 u.sin.sin_port = 0; in random_bind()246 srv->sin_port == inp->sin_port && in res_ourserver_p()1314 return a4->sin_port == b4->sin_port && in sock_eq()
210 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
37 ASSERT_EQ(25U, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST()76 ASSERT_EQ(25, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST()
1209 ai->ai_addr)->sin_port = port; in get_port()