fdinfo

package
v7.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FdTypes_name = map[int32]string{
		0:     "UND",
		1:     "REG",
		2:     "PIPE",
		3:     "FIFO",
		4:     "INETSK",
		5:     "UNIXSK",
		6:     "EVENTFD",
		7:     "EVENTPOLL",
		8:     "INOTIFY",
		9:     "SIGNALFD",
		10:    "PACKETSK",
		11:    "TTY",
		12:    "FANOTIFY",
		13:    "NETLINKSK",
		14:    "NS",
		15:    "TUNF",
		16:    "EXT",
		17:    "TIMERFD",
		18:    "MEMFD",
		19:    "BPFMAP",
		65534: "CTL_TTY",
		65535: "AUTOFS_PIPE",
	}
	FdTypes_value = map[string]int32{
		"UND":         0,
		"REG":         1,
		"PIPE":        2,
		"FIFO":        3,
		"INETSK":      4,
		"UNIXSK":      5,
		"EVENTFD":     6,
		"EVENTPOLL":   7,
		"INOTIFY":     8,
		"SIGNALFD":    9,
		"PACKETSK":    10,
		"TTY":         11,
		"FANOTIFY":    12,
		"NETLINKSK":   13,
		"NS":          14,
		"TUNF":        15,
		"EXT":         16,
		"TIMERFD":     17,
		"MEMFD":       18,
		"BPFMAP":      19,
		"CTL_TTY":     65534,
		"AUTOFS_PIPE": 65535,
	}
)

Enum value maps for FdTypes.

View Source
var File_fdinfo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FdTypes

type FdTypes int32
const (
	FdTypes_UND       FdTypes = 0
	FdTypes_REG       FdTypes = 1
	FdTypes_PIPE      FdTypes = 2
	FdTypes_FIFO      FdTypes = 3
	FdTypes_INETSK    FdTypes = 4
	FdTypes_UNIXSK    FdTypes = 5
	FdTypes_EVENTFD   FdTypes = 6
	FdTypes_EVENTPOLL FdTypes = 7
	FdTypes_INOTIFY   FdTypes = 8
	FdTypes_SIGNALFD  FdTypes = 9
	FdTypes_PACKETSK  FdTypes = 10
	FdTypes_TTY       FdTypes = 11
	FdTypes_FANOTIFY  FdTypes = 12
	FdTypes_NETLINKSK FdTypes = 13
	FdTypes_NS        FdTypes = 14
	FdTypes_TUNF      FdTypes = 15
	FdTypes_EXT       FdTypes = 16
	FdTypes_TIMERFD   FdTypes = 17
	FdTypes_MEMFD     FdTypes = 18
	FdTypes_BPFMAP    FdTypes = 19
	// Any number above the real used. Not stored to image
	FdTypes_CTL_TTY     FdTypes = 65534
	FdTypes_AUTOFS_PIPE FdTypes = 65535
)

func (FdTypes) Descriptor

func (FdTypes) Descriptor() protoreflect.EnumDescriptor

func (FdTypes) Enum

func (x FdTypes) Enum() *FdTypes

func (FdTypes) EnumDescriptor deprecated

func (FdTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use FdTypes.Descriptor instead.

func (FdTypes) Number

func (x FdTypes) Number() protoreflect.EnumNumber

func (FdTypes) String

func (x FdTypes) String() string

func (FdTypes) Type

func (FdTypes) Type() protoreflect.EnumType

func (*FdTypes) UnmarshalJSON deprecated

func (x *FdTypes) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FdinfoEntry

type FdinfoEntry struct {
	Id                   *uint32  `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Flags                *uint32  `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
	Type                 *FdTypes `protobuf:"varint,3,req,name=type,enum=FdTypes" json:"type,omitempty"`
	Fd                   *uint32  `protobuf:"varint,4,req,name=fd" json:"fd,omitempty"`
	XattrSecuritySelinux *string  `protobuf:"bytes,5,opt,name=xattr_security_selinux,json=xattrSecuritySelinux" json:"xattr_security_selinux,omitempty"`
	// contains filtered or unexported fields
}

func (*FdinfoEntry) Descriptor deprecated

func (*FdinfoEntry) Descriptor() ([]byte, []int)

Deprecated: Use FdinfoEntry.ProtoReflect.Descriptor instead.

func (*FdinfoEntry) GetFd

func (x *FdinfoEntry) GetFd() uint32

func (*FdinfoEntry) GetFlags

func (x *FdinfoEntry) GetFlags() uint32

func (*FdinfoEntry) GetId

func (x *FdinfoEntry) GetId() uint32

func (*FdinfoEntry) GetType

func (x *FdinfoEntry) GetType() FdTypes

func (*FdinfoEntry) GetXattrSecuritySelinux

func (x *FdinfoEntry) GetXattrSecuritySelinux() string

func (*FdinfoEntry) ProtoMessage

func (*FdinfoEntry) ProtoMessage()

func (*FdinfoEntry) ProtoReflect

func (x *FdinfoEntry) ProtoReflect() protoreflect.Message

func (*FdinfoEntry) Reset

func (x *FdinfoEntry) Reset()

func (*FdinfoEntry) String

func (x *FdinfoEntry) String() string

type FileEntry

type FileEntry struct {
	Type  *FdTypes                      `protobuf:"varint,1,req,name=type,enum=FdTypes" json:"type,omitempty"`
	Id    *uint32                       `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
	Reg   *regfile.RegFileEntry         `protobuf:"bytes,3,opt,name=reg" json:"reg,omitempty"`
	Isk   *sk_inet.InetSkEntry          `protobuf:"bytes,4,opt,name=isk" json:"isk,omitempty"`
	Nsf   *ns.NsFileEntry               `protobuf:"bytes,5,opt,name=nsf" json:"nsf,omitempty"`
	Psk   *packet_sock.PacketSockEntry  `protobuf:"bytes,6,opt,name=psk" json:"psk,omitempty"`
	Nlsk  *sk_netlink.NetlinkSkEntry    `protobuf:"bytes,7,opt,name=nlsk" json:"nlsk,omitempty"`
	Efd   *eventfd.EventfdFileEntry     `protobuf:"bytes,8,opt,name=efd" json:"efd,omitempty"`
	Epfd  *eventpoll.EventpollFileEntry `protobuf:"bytes,9,opt,name=epfd" json:"epfd,omitempty"`
	Sgfd  *signalfd.SignalfdEntry       `protobuf:"bytes,10,opt,name=sgfd" json:"sgfd,omitempty"`
	Tunf  *tun.TunfileEntry             `protobuf:"bytes,11,opt,name=tunf" json:"tunf,omitempty"`
	Tfd   *timerfd.TimerfdEntry         `protobuf:"bytes,12,opt,name=tfd" json:"tfd,omitempty"`
	Ify   *fsnotify.InotifyFileEntry    `protobuf:"bytes,13,opt,name=ify" json:"ify,omitempty"`
	Ffy   *fsnotify.FanotifyFileEntry   `protobuf:"bytes,14,opt,name=ffy" json:"ffy,omitempty"`
	Ext   *ext_file.ExtFileEntry        `protobuf:"bytes,15,opt,name=ext" json:"ext,omitempty"`
	Usk   *sk_unix.UnixSkEntry          `protobuf:"bytes,16,opt,name=usk" json:"usk,omitempty"`
	Fifo  *fifo.FifoEntry               `protobuf:"bytes,17,opt,name=fifo" json:"fifo,omitempty"`
	Pipe  *pipe.PipeEntry               `protobuf:"bytes,18,opt,name=pipe" json:"pipe,omitempty"`
	Tty   *tty.TtyFileEntry             `protobuf:"bytes,19,opt,name=tty" json:"tty,omitempty"`
	Memfd *memfd.MemfdFileEntry         `protobuf:"bytes,20,opt,name=memfd" json:"memfd,omitempty"`
	Bpf   *bpfmap_file.BpfmapFileEntry  `protobuf:"bytes,21,opt,name=bpf" json:"bpf,omitempty"`
	// contains filtered or unexported fields
}

func (*FileEntry) Descriptor deprecated

func (*FileEntry) Descriptor() ([]byte, []int)

Deprecated: Use FileEntry.ProtoReflect.Descriptor instead.

func (*FileEntry) GetBpf

func (x *FileEntry) GetBpf() *bpfmap_file.BpfmapFileEntry

func (*FileEntry) GetEfd

func (x *FileEntry) GetEfd() *eventfd.EventfdFileEntry

func (*FileEntry) GetEpfd

func (x *FileEntry) GetEpfd() *eventpoll.EventpollFileEntry

func (*FileEntry) GetExt

func (x *FileEntry) GetExt() *ext_file.ExtFileEntry

func (*FileEntry) GetFfy

func (x *FileEntry) GetFfy() *fsnotify.FanotifyFileEntry

func (*FileEntry) GetFifo

func (x *FileEntry) GetFifo() *fifo.FifoEntry

func (*FileEntry) GetId

func (x *FileEntry) GetId() uint32

func (*FileEntry) GetIfy

func (x *FileEntry) GetIfy() *fsnotify.InotifyFileEntry

func (*FileEntry) GetIsk

func (x *FileEntry) GetIsk() *sk_inet.InetSkEntry

func (*FileEntry) GetMemfd

func (x *FileEntry) GetMemfd() *memfd.MemfdFileEntry

func (*FileEntry) GetNlsk

func (x *FileEntry) GetNlsk() *sk_netlink.NetlinkSkEntry

func (*FileEntry) GetNsf

func (x *FileEntry) GetNsf() *ns.NsFileEntry

func (*FileEntry) GetPipe

func (x *FileEntry) GetPipe() *pipe.PipeEntry

func (*FileEntry) GetPsk

func (x *FileEntry) GetPsk() *packet_sock.PacketSockEntry

func (*FileEntry) GetReg

func (x *FileEntry) GetReg() *regfile.RegFileEntry

func (*FileEntry) GetSgfd

func (x *FileEntry) GetSgfd() *signalfd.SignalfdEntry

func (*FileEntry) GetTfd

func (x *FileEntry) GetTfd() *timerfd.TimerfdEntry

func (*FileEntry) GetTty

func (x *FileEntry) GetTty() *tty.TtyFileEntry

func (*FileEntry) GetTunf

func (x *FileEntry) GetTunf() *tun.TunfileEntry

func (*FileEntry) GetType

func (x *FileEntry) GetType() FdTypes

func (*FileEntry) GetUsk

func (x *FileEntry) GetUsk() *sk_unix.UnixSkEntry

func (*FileEntry) ProtoMessage

func (*FileEntry) ProtoMessage()

func (*FileEntry) ProtoReflect

func (x *FileEntry) ProtoReflect() protoreflect.Message

func (*FileEntry) Reset

func (x *FileEntry) Reset()

func (*FileEntry) String

func (x *FileEntry) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL