Interface OriginalSrcOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OriginalSrc,OriginalSrc.Builder
public interface OriginalSrcOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to bind the port to the one used in the original downstream connection.intgetMark()Sets the SO_MARK option on the upstream connection's socket to the provided value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBindPort
boolean getBindPort()Whether to bind the port to the one used in the original downstream connection. [#not-implemented-hide:]
bool bind_port = 1;- Returns:
- The bindPort.
-
getMark
int getMark()Sets the SO_MARK option on the upstream connection's socket to the provided value. Used to ensure that non-local addresses may be routed back through envoy when binding to the original source address. The option will not be applied if the mark is 0.
uint32 mark = 2;- Returns:
- The mark.
-