#include "envoy/extensions/transport_sockets/proxy_protocol/v3/upstream_proxy_protocol.pb.validate.h"
: PassthroughSocket(std::move(transport_socket)), options_(options), version_(config.version()),
Network::IoResult UpstreamProxyProtocolSocket::doWrite(Buffer::Instance& buffer, bool end_stream) {
Network::UpstreamTransportSocketFactoryPtr transport_socket_factory, ProxyProtocolConfig config,
return std::make_unique<UpstreamProxyProtocolSocket>(std::move(inner_socket), options, config_,
std::vector<Envoy::Network::ProxyProtocolTLV> UpstreamProxyProtocolSocket::buildCustomTLVs() const {