summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs')
-rw-r--r--src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs b/src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs
new file mode 100644
index 00000000..a2566f87
--- /dev/null
+++ b/src/rpc/envoy.extensions.transport_sockets.proxy_protocol.v3.rs
@@ -0,0 +1,26 @@
+// @generated
+// This file is @generated by prost-build.
+// \[#protodoc-title: Upstream Proxy Protocol\]
+// \[#extension: envoy.transport_sockets.upstream_proxy_protocol\]
+
+/// Configuration for PROXY protocol socket
+#[allow(clippy::derive_partial_eq_without_eq)]
+#[derive(Clone, PartialEq, ::prost::Message)]
+pub struct ProxyProtocolUpstreamTransport {
+ /// The PROXY protocol settings
+ #[prost(message, optional, tag="1")]
+ pub config: ::core::option::Option<super::super::super::super::config::core::v3::ProxyProtocolConfig>,
+ /// The underlying transport socket being wrapped.
+ #[prost(message, optional, tag="2")]
+ pub transport_socket: ::core::option::Option<super::super::super::super::config::core::v3::TransportSocket>,
+ /// If this is set to true, the null addresses are allowed in the PROXY protocol header.
+ /// The proxy protocol header encodes the null addresses to AF_UNSPEC.
+ /// \[#not-implemented-hide:\]
+ #[prost(bool, tag="3")]
+ pub allow_unspecified_address: bool,
+ /// If true, all the TLVs are encoded in the connection pool key.
+ /// \[#not-implemented-hide:\]
+ #[prost(bool, tag="4")]
+ pub tlv_as_pool_key: bool,
+}
+// @@protoc_insertion_point(module)