Searched refs:grpc_htons (Results 1 – 10 of 10) sorted by relevance
138 wild_out->sin_port = grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_make_wildcard4()149 wild_out->sin6_port = grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_make_wildcard6()286 grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_set_port()291 grpc_htons(static_cast<uint16_t>(port)); in grpc_sockaddr_set_port()
30 uint16_t grpc_htons(uint16_t hostshort);
30 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
32 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
428 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
92 in->sin_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv4_hostport()176 in6->sin6_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv6_hostport()
43 addr4->sin_port = grpc_htons(12345); in make_addr4()56 addr6->sin6_port = grpc_htons(12345); in make_addr6()
64 addr->sin_port = grpc_htons(static_cast<uint16_t>(port)); in test_tcp_server_start()
84 sa->sin_port = grpc_htons(static_cast<uint16_t>(g_resolve_port)); in my_resolve_address()123 sa->sin_port = grpc_htons(static_cast<uint16_t>(g_resolve_port)); in my_dns_lookup_ares_locked()
422 const uint16_t netorder_port = grpc_htons((uint16_t)server->port); in ParseServer()