Package : envoy.config.core.v3

Top

socket_option.proto

Table of Contents

SocketOption

Field Type Label Description
description string An optional name to give this socket option for debugging, etc. Uniqueness is not required and no special meaning is assumed.
level int64 Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP
name int64 The numeric name as passed to setsockopt
intValue int64 Because many sockopts take an int value.
bufValue bytes Otherwise it's a byte buffer.
state envoy.config.core.v3.SocketOption.SocketState The state in which the option will be applied. When used in BindConfig STATE_PREBIND is currently the only valid value.

SocketOption.SocketState

Name Number Description
STATE_PREBIND 0 Socket options are applied after socket creation but before binding the socket to a port
STATE_BOUND 1 Socket options are applied after binding the socket to a port but before calling listen()
STATE_LISTENING 2 Socket options are applied after calling listen()