bess_pb

package
v0.0.0-...-aef4648 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ports_port_msg_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PCAPPortArg

type PCAPPortArg struct {
	Dev string `protobuf:"bytes,1,opt,name=dev,proto3" json:"dev,omitempty"`
	// contains filtered or unexported fields
}

func (*PCAPPortArg) Descriptor deprecated

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

Deprecated: Use PCAPPortArg.ProtoReflect.Descriptor instead.

func (*PCAPPortArg) GetDev

func (x *PCAPPortArg) GetDev() string

func (*PCAPPortArg) ProtoMessage

func (*PCAPPortArg) ProtoMessage()

func (*PCAPPortArg) ProtoReflect

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

func (*PCAPPortArg) Reset

func (x *PCAPPortArg) Reset()

func (*PCAPPortArg) String

func (x *PCAPPortArg) String() string

type PMDPortArg

type PMDPortArg struct {
	Loopback bool `protobuf:"varint,1,opt,name=loopback,proto3" json:"loopback,omitempty"`
	// Types that are assignable to Port:
	//	*PMDPortArg_PortId
	//	*PMDPortArg_Pci
	//	*PMDPortArg_Vdev
	Port isPMDPortArg_Port `protobuf_oneof:"port"`
	// See http://dpdk.org/doc/dts/test_plans/dual_vlan_test_plan.html
	VlanOffloadRxStrip  bool `protobuf:"varint,5,opt,name=vlan_offload_rx_strip,json=vlanOffloadRxStrip,proto3" json:"vlan_offload_rx_strip,omitempty"`
	VlanOffloadRxFilter bool `protobuf:"varint,6,opt,name=vlan_offload_rx_filter,json=vlanOffloadRxFilter,proto3" json:"vlan_offload_rx_filter,omitempty"`
	VlanOffloadRxQinq   bool `protobuf:"varint,7,opt,name=vlan_offload_rx_qinq,json=vlanOffloadRxQinq,proto3" json:"vlan_offload_rx_qinq,omitempty"`
	// Types that are assignable to Socket:
	//	*PMDPortArg_SocketId
	Socket          isPMDPortArg_Socket `protobuf_oneof:"socket"`
	PromiscuousMode bool                `protobuf:"varint,9,opt,name=promiscuous_mode,json=promiscuousMode,proto3" json:"promiscuous_mode,omitempty"`
	Hwcksum         bool                `protobuf:"varint,10,opt,name=hwcksum,proto3" json:"hwcksum,omitempty"`
	// N3 -> 3; N6 -> 6; N9 -> 9
	// [3] or [6, 9]
	FlowProfiles []uint32 `protobuf:"varint,11,rep,packed,name=flow_profiles,json=flowProfiles,proto3" json:"flow_profiles,omitempty"`
	// contains filtered or unexported fields
}

func (*PMDPortArg) Descriptor deprecated

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

Deprecated: Use PMDPortArg.ProtoReflect.Descriptor instead.

func (*PMDPortArg) GetFlowProfiles

func (x *PMDPortArg) GetFlowProfiles() []uint32

func (*PMDPortArg) GetHwcksum

func (x *PMDPortArg) GetHwcksum() bool

func (*PMDPortArg) GetLoopback

func (x *PMDPortArg) GetLoopback() bool

func (*PMDPortArg) GetPci

func (x *PMDPortArg) GetPci() string

func (*PMDPortArg) GetPort

func (m *PMDPortArg) GetPort() isPMDPortArg_Port

func (*PMDPortArg) GetPortId

func (x *PMDPortArg) GetPortId() uint64

func (*PMDPortArg) GetPromiscuousMode

func (x *PMDPortArg) GetPromiscuousMode() bool

func (*PMDPortArg) GetSocket

func (m *PMDPortArg) GetSocket() isPMDPortArg_Socket

func (*PMDPortArg) GetSocketId

func (x *PMDPortArg) GetSocketId() int32

func (*PMDPortArg) GetVdev

func (x *PMDPortArg) GetVdev() string

func (*PMDPortArg) GetVlanOffloadRxFilter

func (x *PMDPortArg) GetVlanOffloadRxFilter() bool

func (*PMDPortArg) GetVlanOffloadRxQinq

func (x *PMDPortArg) GetVlanOffloadRxQinq() bool

func (*PMDPortArg) GetVlanOffloadRxStrip

func (x *PMDPortArg) GetVlanOffloadRxStrip() bool

func (*PMDPortArg) ProtoMessage

func (*PMDPortArg) ProtoMessage()

func (*PMDPortArg) ProtoReflect

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

func (*PMDPortArg) Reset

func (x *PMDPortArg) Reset()

func (*PMDPortArg) String

func (x *PMDPortArg) String() string

type PMDPortArg_Pci

type PMDPortArg_Pci struct {
	Pci string `protobuf:"bytes,3,opt,name=pci,proto3,oneof"`
}

type PMDPortArg_PortId

type PMDPortArg_PortId struct {
	PortId uint64 `protobuf:"varint,2,opt,name=port_id,json=portId,proto3,oneof"`
}

type PMDPortArg_SocketId

type PMDPortArg_SocketId struct {
	SocketId int32 `protobuf:"varint,8,opt,name=socket_id,json=socketId,proto3,oneof"`
}

type PMDPortArg_Vdev

type PMDPortArg_Vdev struct {
	Vdev string `protobuf:"bytes,4,opt,name=vdev,proto3,oneof"`
}

type UnixSocketPortArg

type UnixSocketPortArg struct {

	/// Set the first character to "@" in place of \0 for abstract path
	/// See manpage for unix(7).
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	/// Minimum RX polling interval for system calls, when *idle*.
	/// Use a negative number for unthrottled polling. If unspecified or 0,
	/// it is set to 50,000 (50 microseconds, or 20k polls per second)
	MinRxIntervalNs int64 `protobuf:"varint,2,opt,name=min_rx_interval_ns,json=minRxIntervalNs,proto3" json:"min_rx_interval_ns,omitempty"`
	/// If set, the port driver will send a confirmation once
	/// the port is connected.  This lets pybess avoid a race during
	/// testing.  See bessctl/test_utils.py for details.
	ConfirmConnect bool `protobuf:"varint,3,opt,name=confirm_connect,json=confirmConnect,proto3" json:"confirm_connect,omitempty"`
	// contains filtered or unexported fields
}

func (*UnixSocketPortArg) Descriptor deprecated

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

Deprecated: Use UnixSocketPortArg.ProtoReflect.Descriptor instead.

func (*UnixSocketPortArg) GetConfirmConnect

func (x *UnixSocketPortArg) GetConfirmConnect() bool

func (*UnixSocketPortArg) GetMinRxIntervalNs

func (x *UnixSocketPortArg) GetMinRxIntervalNs() int64

func (*UnixSocketPortArg) GetPath

func (x *UnixSocketPortArg) GetPath() string

func (*UnixSocketPortArg) ProtoMessage

func (*UnixSocketPortArg) ProtoMessage()

func (*UnixSocketPortArg) ProtoReflect

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

func (*UnixSocketPortArg) Reset

func (x *UnixSocketPortArg) Reset()

func (*UnixSocketPortArg) String

func (x *UnixSocketPortArg) String() string

type VPortArg

type VPortArg struct {
	Ifname string `protobuf:"bytes,1,opt,name=ifname,proto3" json:"ifname,omitempty"`
	// Types that are assignable to Cpid:
	//	*VPortArg_Docker
	//	*VPortArg_ContainerPid
	//	*VPortArg_Netns
	Cpid       isVPortArg_Cpid `protobuf_oneof:"cpid"`
	RxqCpus    []int64         `protobuf:"varint,5,rep,packed,name=rxq_cpus,json=rxqCpus,proto3" json:"rxq_cpus,omitempty"`
	TxTci      uint64          `protobuf:"varint,6,opt,name=tx_tci,json=txTci,proto3" json:"tx_tci,omitempty"`
	TxOuterTci uint64          `protobuf:"varint,7,opt,name=tx_outer_tci,json=txOuterTci,proto3" json:"tx_outer_tci,omitempty"`
	Loopback   bool            `protobuf:"varint,8,opt,name=loopback,proto3" json:"loopback,omitempty"`
	IpAddrs    []string        `protobuf:"bytes,9,rep,name=ip_addrs,json=ipAddrs,proto3" json:"ip_addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*VPortArg) Descriptor deprecated

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

Deprecated: Use VPortArg.ProtoReflect.Descriptor instead.

func (*VPortArg) GetContainerPid

func (x *VPortArg) GetContainerPid() int64

func (*VPortArg) GetCpid

func (m *VPortArg) GetCpid() isVPortArg_Cpid

func (*VPortArg) GetDocker

func (x *VPortArg) GetDocker() string

func (*VPortArg) GetIfname

func (x *VPortArg) GetIfname() string

func (*VPortArg) GetIpAddrs

func (x *VPortArg) GetIpAddrs() []string

func (*VPortArg) GetLoopback

func (x *VPortArg) GetLoopback() bool

func (*VPortArg) GetNetns

func (x *VPortArg) GetNetns() string

func (*VPortArg) GetRxqCpus

func (x *VPortArg) GetRxqCpus() []int64

func (*VPortArg) GetTxOuterTci

func (x *VPortArg) GetTxOuterTci() uint64

func (*VPortArg) GetTxTci

func (x *VPortArg) GetTxTci() uint64

func (*VPortArg) ProtoMessage

func (*VPortArg) ProtoMessage()

func (*VPortArg) ProtoReflect

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

func (*VPortArg) Reset

func (x *VPortArg) Reset()

func (*VPortArg) String

func (x *VPortArg) String() string

type VPortArg_ContainerPid

type VPortArg_ContainerPid struct {
	ContainerPid int64 `protobuf:"varint,3,opt,name=container_pid,json=containerPid,proto3,oneof"`
}

type VPortArg_Docker

type VPortArg_Docker struct {
	Docker string `protobuf:"bytes,2,opt,name=docker,proto3,oneof"`
}

type VPortArg_Netns

type VPortArg_Netns struct {
	Netns string `protobuf:"bytes,4,opt,name=netns,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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