Class L2TcpMaxSegmentSizeClamping.Builder

    • Method Detail

      • setMaxSegmentSize

        public L2TcpMaxSegmentSizeClamping.Builder setMaxSegmentSize​(java.lang.Long maxSegmentSize)
        MSS defines the maximum amount of data that a host is willing to accept in a single TCP segment. This field is set in TCP header during connection establishment. To avoid packet fragmentation, you can set this field depending on uplink MTU and VPN overhead. This is an optional field and in case it is left unconfigured, best possible MSS value will be calculated based on effective mtu of uplink interface. Supported MSS range is 108 to 8852. format: int64
        Parameters:
        maxSegmentSize - New value for the property.