#ifndef QUICHE_QUIC_CORE_IO_SOCKET_INTERNAL_H_
#define QUICHE_QUIC_CORE_IO_SOCKET_INTERNAL_H_
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "quiche/quic/core/io/socket.h"
#include "quiche/quic/platform/api/quic_socket_address.h"
#include "quiche/common/platform/api/quiche_logging.h"
namespace quic::socket_api {
inline int ToPlatformSocketType(SocketProtocol protocol) { … }
inline int ToPlatformProtocol(SocketProtocol protocol) { … }
inline absl::StatusOr<QuicSocketAddress> ValidateAndConvertAddress(
const sockaddr_storage& addr, socklen_t addr_len) { … }
inline socklen_t GetAddrlen(IpAddressFamily family) { … }
}
#endif