Documentation ¶
Index ¶
- Variables
- type SkOptsEntry
- func (*SkOptsEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SkOptsEntry) GetReuseaddr() bool
- func (x *SkOptsEntry) GetSoBoundDev() string
- func (x *SkOptsEntry) GetSoBroadcast() bool
- func (x *SkOptsEntry) GetSoBufLock() uint32
- func (x *SkOptsEntry) GetSoDontroute() bool
- func (x *SkOptsEntry) GetSoFilter() []uint64
- func (x *SkOptsEntry) GetSoKeepalive() bool
- func (x *SkOptsEntry) GetSoLinger() uint32
- func (x *SkOptsEntry) GetSoMark() uint32
- func (x *SkOptsEntry) GetSoNoCheck() bool
- func (x *SkOptsEntry) GetSoOobinline() uint32
- func (x *SkOptsEntry) GetSoPasscred() bool
- func (x *SkOptsEntry) GetSoPasssec() bool
- func (x *SkOptsEntry) GetSoPriority() uint32
- func (x *SkOptsEntry) GetSoRcvTmoSec() uint64
- func (x *SkOptsEntry) GetSoRcvTmoUsec() uint64
- func (x *SkOptsEntry) GetSoRcvbuf() uint32
- func (x *SkOptsEntry) GetSoRcvlowat() uint32
- func (x *SkOptsEntry) GetSoReuseport() bool
- func (x *SkOptsEntry) GetSoSndTmoSec() uint64
- func (x *SkOptsEntry) GetSoSndTmoUsec() uint64
- func (x *SkOptsEntry) GetSoSndbuf() uint32
- func (x *SkOptsEntry) GetTcpKeepcnt() uint32
- func (x *SkOptsEntry) GetTcpKeepidle() uint32
- func (x *SkOptsEntry) GetTcpKeepintvl() uint32
- func (*SkOptsEntry) ProtoMessage()
- func (x *SkOptsEntry) ProtoReflect() protoreflect.Message
- func (x *SkOptsEntry) Reset()
- func (x *SkOptsEntry) String() string
- type SkShutdown
- func (SkShutdown) Descriptor() protoreflect.EnumDescriptor
- func (x SkShutdown) Enum() *SkShutdown
- func (SkShutdown) EnumDescriptor() ([]byte, []int)deprecated
- func (x SkShutdown) Number() protoreflect.EnumNumber
- func (x SkShutdown) String() string
- func (SkShutdown) Type() protoreflect.EnumType
- func (x *SkShutdown) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SkShutdown_name = map[int32]string{ 0: "NONE", 1: "READ", 2: "WRITE", 3: "BOTH", } SkShutdown_value = map[string]int32{ "NONE": 0, "READ": 1, "WRITE": 2, "BOTH": 3, } )
Enum value maps for SkShutdown.
View Source
var File_sk_opts_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SkOptsEntry ¶
type SkOptsEntry struct { SoSndbuf *uint32 `protobuf:"varint,1,req,name=so_sndbuf,json=soSndbuf" json:"so_sndbuf,omitempty"` SoRcvbuf *uint32 `protobuf:"varint,2,req,name=so_rcvbuf,json=soRcvbuf" json:"so_rcvbuf,omitempty"` SoSndTmoSec *uint64 `protobuf:"varint,3,req,name=so_snd_tmo_sec,json=soSndTmoSec" json:"so_snd_tmo_sec,omitempty"` SoSndTmoUsec *uint64 `protobuf:"varint,4,req,name=so_snd_tmo_usec,json=soSndTmoUsec" json:"so_snd_tmo_usec,omitempty"` SoRcvTmoSec *uint64 `protobuf:"varint,5,req,name=so_rcv_tmo_sec,json=soRcvTmoSec" json:"so_rcv_tmo_sec,omitempty"` SoRcvTmoUsec *uint64 `protobuf:"varint,6,req,name=so_rcv_tmo_usec,json=soRcvTmoUsec" json:"so_rcv_tmo_usec,omitempty"` Reuseaddr *bool `protobuf:"varint,7,opt,name=reuseaddr" json:"reuseaddr,omitempty"` SoPriority *uint32 `protobuf:"varint,8,opt,name=so_priority,json=soPriority" json:"so_priority,omitempty"` SoRcvlowat *uint32 `protobuf:"varint,9,opt,name=so_rcvlowat,json=soRcvlowat" json:"so_rcvlowat,omitempty"` SoMark *uint32 `protobuf:"varint,10,opt,name=so_mark,json=soMark" json:"so_mark,omitempty"` SoPasscred *bool `protobuf:"varint,11,opt,name=so_passcred,json=soPasscred" json:"so_passcred,omitempty"` SoPasssec *bool `protobuf:"varint,12,opt,name=so_passsec,json=soPasssec" json:"so_passsec,omitempty"` SoDontroute *bool `protobuf:"varint,13,opt,name=so_dontroute,json=soDontroute" json:"so_dontroute,omitempty"` SoNoCheck *bool `protobuf:"varint,14,opt,name=so_no_check,json=soNoCheck" json:"so_no_check,omitempty"` SoBoundDev *string `protobuf:"bytes,15,opt,name=so_bound_dev,json=soBoundDev" json:"so_bound_dev,omitempty"` SoFilter []uint64 `protobuf:"fixed64,16,rep,name=so_filter,json=soFilter" json:"so_filter,omitempty"` SoReuseport *bool `protobuf:"varint,17,opt,name=so_reuseport,json=soReuseport" json:"so_reuseport,omitempty"` SoBroadcast *bool `protobuf:"varint,18,opt,name=so_broadcast,json=soBroadcast" json:"so_broadcast,omitempty"` SoKeepalive *bool `protobuf:"varint,19,opt,name=so_keepalive,json=soKeepalive" json:"so_keepalive,omitempty"` TcpKeepcnt *uint32 `protobuf:"varint,20,opt,name=tcp_keepcnt,json=tcpKeepcnt" json:"tcp_keepcnt,omitempty"` TcpKeepidle *uint32 `protobuf:"varint,21,opt,name=tcp_keepidle,json=tcpKeepidle" json:"tcp_keepidle,omitempty"` TcpKeepintvl *uint32 `protobuf:"varint,22,opt,name=tcp_keepintvl,json=tcpKeepintvl" json:"tcp_keepintvl,omitempty"` SoOobinline *uint32 `protobuf:"varint,23,opt,name=so_oobinline,json=soOobinline" json:"so_oobinline,omitempty"` SoLinger *uint32 `protobuf:"varint,24,opt,name=so_linger,json=soLinger" json:"so_linger,omitempty"` SoBufLock *uint32 `protobuf:"varint,25,opt,name=so_buf_lock,json=soBufLock" json:"so_buf_lock,omitempty"` // contains filtered or unexported fields }
func (*SkOptsEntry) Descriptor
deprecated
func (*SkOptsEntry) Descriptor() ([]byte, []int)
Deprecated: Use SkOptsEntry.ProtoReflect.Descriptor instead.
func (*SkOptsEntry) GetReuseaddr ¶
func (x *SkOptsEntry) GetReuseaddr() bool
func (*SkOptsEntry) GetSoBoundDev ¶
func (x *SkOptsEntry) GetSoBoundDev() string
func (*SkOptsEntry) GetSoBroadcast ¶
func (x *SkOptsEntry) GetSoBroadcast() bool
func (*SkOptsEntry) GetSoBufLock ¶
func (x *SkOptsEntry) GetSoBufLock() uint32
func (*SkOptsEntry) GetSoDontroute ¶
func (x *SkOptsEntry) GetSoDontroute() bool
func (*SkOptsEntry) GetSoFilter ¶
func (x *SkOptsEntry) GetSoFilter() []uint64
func (*SkOptsEntry) GetSoKeepalive ¶
func (x *SkOptsEntry) GetSoKeepalive() bool
func (*SkOptsEntry) GetSoLinger ¶
func (x *SkOptsEntry) GetSoLinger() uint32
func (*SkOptsEntry) GetSoMark ¶
func (x *SkOptsEntry) GetSoMark() uint32
func (*SkOptsEntry) GetSoNoCheck ¶
func (x *SkOptsEntry) GetSoNoCheck() bool
func (*SkOptsEntry) GetSoOobinline ¶
func (x *SkOptsEntry) GetSoOobinline() uint32
func (*SkOptsEntry) GetSoPasscred ¶
func (x *SkOptsEntry) GetSoPasscred() bool
func (*SkOptsEntry) GetSoPasssec ¶
func (x *SkOptsEntry) GetSoPasssec() bool
func (*SkOptsEntry) GetSoPriority ¶
func (x *SkOptsEntry) GetSoPriority() uint32
func (*SkOptsEntry) GetSoRcvTmoSec ¶
func (x *SkOptsEntry) GetSoRcvTmoSec() uint64
func (*SkOptsEntry) GetSoRcvTmoUsec ¶
func (x *SkOptsEntry) GetSoRcvTmoUsec() uint64
func (*SkOptsEntry) GetSoRcvbuf ¶
func (x *SkOptsEntry) GetSoRcvbuf() uint32
func (*SkOptsEntry) GetSoRcvlowat ¶
func (x *SkOptsEntry) GetSoRcvlowat() uint32
func (*SkOptsEntry) GetSoReuseport ¶
func (x *SkOptsEntry) GetSoReuseport() bool
func (*SkOptsEntry) GetSoSndTmoSec ¶
func (x *SkOptsEntry) GetSoSndTmoSec() uint64
func (*SkOptsEntry) GetSoSndTmoUsec ¶
func (x *SkOptsEntry) GetSoSndTmoUsec() uint64
func (*SkOptsEntry) GetSoSndbuf ¶
func (x *SkOptsEntry) GetSoSndbuf() uint32
func (*SkOptsEntry) GetTcpKeepcnt ¶
func (x *SkOptsEntry) GetTcpKeepcnt() uint32
func (*SkOptsEntry) GetTcpKeepidle ¶
func (x *SkOptsEntry) GetTcpKeepidle() uint32
func (*SkOptsEntry) GetTcpKeepintvl ¶
func (x *SkOptsEntry) GetTcpKeepintvl() uint32
func (*SkOptsEntry) ProtoMessage ¶
func (*SkOptsEntry) ProtoMessage()
func (*SkOptsEntry) ProtoReflect ¶
func (x *SkOptsEntry) ProtoReflect() protoreflect.Message
func (*SkOptsEntry) Reset ¶
func (x *SkOptsEntry) Reset()
func (*SkOptsEntry) String ¶
func (x *SkOptsEntry) String() string
type SkShutdown ¶
type SkShutdown int32
const ( SkShutdown_NONE SkShutdown = 0 SkShutdown_READ SkShutdown = 1 SkShutdown_WRITE SkShutdown = 2 SkShutdown_BOTH SkShutdown = 3 )
func (SkShutdown) Descriptor ¶
func (SkShutdown) Descriptor() protoreflect.EnumDescriptor
func (SkShutdown) Enum ¶
func (x SkShutdown) Enum() *SkShutdown
func (SkShutdown) EnumDescriptor
deprecated
func (SkShutdown) EnumDescriptor() ([]byte, []int)
Deprecated: Use SkShutdown.Descriptor instead.
func (SkShutdown) Number ¶
func (x SkShutdown) Number() protoreflect.EnumNumber
func (SkShutdown) String ¶
func (x SkShutdown) String() string
func (SkShutdown) Type ¶
func (SkShutdown) Type() protoreflect.EnumType
func (*SkShutdown) UnmarshalJSON
deprecated
func (x *SkShutdown) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.