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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getBindPort()
      Whether to bind the port to the one used in the original downstream connection.
      int getMark()
      Sets the SO_MARK option on the upstream connection's socket to the provided value.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.