Searched refs:sin_port (Results 1 – 8 of 8) sorted by relevance
63 sin->sin_port = htons(port); in bindresvport()
45 STRUCT_MEMBER(struct sockaddr_in, in_port_t, sin_port); in netinet_in_h()
190 u.sin.sin_port = htons(port); in random_bind()201 u.sin.sin_port = 0; in random_bind()234 srv->sin_port == inp->sin_port && in res_ourserver_p()1334 return a4->sin_port == b4->sin_port && in sock_eq()
209 u[nserv].sin.sin_port = htons(NAMESERVER_PORT); in __res_vinit()
199 __be16 sin_port; member
38 ASSERT_EQ(25U, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST()77 ASSERT_EQ(25, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port)); in TEST()
308 .sin_port = 0, in CreateListener()
1214 ai->ai_addr)->sin_port = port; in get_port()