Home
last modified time | relevance | path

Searched refs:grpc_ntohs (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dsockaddr_utils.cc106 *port_out = grpc_ntohs(addr4->sin_port); in grpc_sockaddr_is_wildcard()
118 *port_out = grpc_ntohs(addr6->sin6_port); in grpc_sockaddr_is_wildcard()
174 port = grpc_ntohs(addr4->sin_port); in grpc_sockaddr_to_string()
179 port = grpc_ntohs(addr6->sin6_port); in grpc_sockaddr_to_string()
265 return grpc_ntohs(((grpc_sockaddr_in*)addr)->sin_port); in grpc_sockaddr_get_port()
267 return grpc_ntohs(((grpc_sockaddr_in6*)addr)->sin6_port); in grpc_sockaddr_get_port()
Dsocket_utils.h33 uint16_t grpc_ntohs(uint16_t netshort);
Dsocket_utils_windows.cc32 uint16_t grpc_ntohs(uint16_t netshort) { return ntohs(netshort); } in grpc_ntohs() function
Dsocket_utils_uv.cc34 uint16_t grpc_ntohs(uint16_t netshort) { return ntohs(netshort); } in grpc_ntohs() function
Dsocket_utils_common_posix.cc430 uint16_t grpc_ntohs(uint16_t netshort) { return ntohs(netshort); } in grpc_ntohs() function
/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc70 GPR_ASSERT(grpc_ntohs(addr_in->sin_port) == port); in test_grpc_parse_ipv4()
88 GPR_ASSERT(grpc_ntohs(addr_in6->sin6_port) == port); in test_grpc_parse_ipv6()