Home
last modified time | relevance | path

Searched refs:grpc_htons (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc138 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()
Dsocket_utils.h30 uint16_t grpc_htons(uint16_t hostshort);
Dsocket_utils_windows.cc30 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
Dsocket_utils_uv.cc32 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
Dsocket_utils_common_posix.cc428 uint16_t grpc_htons(uint16_t hostshort) { return htons(hostshort); } in grpc_htons() function
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc92 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()
/external/grpc-grpc/test/core/iomgr/
Dsockaddr_utils_test.cc43 addr4->sin_port = grpc_htons(12345); in make_addr4()
56 addr6->sin6_port = grpc_htons(12345); in make_addr6()
/external/grpc-grpc/test/core/util/
Dtest_tcp_server.cc64 addr->sin_port = grpc_htons(static_cast<uint16_t>(port)); in test_tcp_server_start()
/external/grpc-grpc/test/core/end2end/
Dgoaway_server_test.cc84 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()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc422 const uint16_t netorder_port = grpc_htons((uint16_t)server->port); in ParseServer()