vpp

package
v0.0.0-...-c3ce9eb Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package upf is a generated VPP binary API for 'upf' module.

It consists of:

 3 types
22 messages
11 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "upf"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x25cc344
)

Variables

View Source
var Errors []error

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

func Run

func Run()

Types

type RPCService

RPCService represents RPC service API for upf module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpUpfApplicationL7RuleClient

type RPCService_DumpUpfApplicationL7RuleClient interface {
	Recv() (*UpfApplicationL7RuleDetails, error)
}

type RPCService_DumpUpfApplicationsClient

type RPCService_DumpUpfApplicationsClient interface {
	Recv() (*UpfApplicationsDetails, error)
}

type UpfAppAddDel

type UpfAppAddDel struct {
	Name  []byte `struc:"[64]byte"`
	Flags uint32
	IsAdd uint8
}

UpfAppAddDel represents VPP binary API message 'upf_app_add_del'.

func (*UpfAppAddDel) GetCrcString

func (*UpfAppAddDel) GetCrcString() string

func (*UpfAppAddDel) GetMessageName

func (*UpfAppAddDel) GetMessageName() string

func (*UpfAppAddDel) GetMessageType

func (*UpfAppAddDel) GetMessageType() api.MessageType

type UpfAppAddDelReply

type UpfAppAddDelReply struct {
	Retval int32
}

UpfAppAddDelReply represents VPP binary API message 'upf_app_add_del_reply'.

func (*UpfAppAddDelReply) GetCrcString

func (*UpfAppAddDelReply) GetCrcString() string

func (*UpfAppAddDelReply) GetMessageName

func (*UpfAppAddDelReply) GetMessageName() string

func (*UpfAppAddDelReply) GetMessageType

func (*UpfAppAddDelReply) GetMessageType() api.MessageType

type UpfAppFlowTimeoutSet

type UpfAppFlowTimeoutSet struct {
	Type         uint8
	DefaultValue uint16
}

UpfAppFlowTimeoutSet represents VPP binary API message 'upf_app_flow_timeout_set'.

func (*UpfAppFlowTimeoutSet) GetCrcString

func (*UpfAppFlowTimeoutSet) GetCrcString() string

func (*UpfAppFlowTimeoutSet) GetMessageName

func (*UpfAppFlowTimeoutSet) GetMessageName() string

func (*UpfAppFlowTimeoutSet) GetMessageType

func (*UpfAppFlowTimeoutSet) GetMessageType() api.MessageType

type UpfAppFlowTimeoutSetReply

type UpfAppFlowTimeoutSetReply struct {
	Retval int32
}

UpfAppFlowTimeoutSetReply represents VPP binary API message 'upf_app_flow_timeout_set_reply'.

func (*UpfAppFlowTimeoutSetReply) GetCrcString

func (*UpfAppFlowTimeoutSetReply) GetCrcString() string

func (*UpfAppFlowTimeoutSetReply) GetMessageName

func (*UpfAppFlowTimeoutSetReply) GetMessageName() string

func (*UpfAppFlowTimeoutSetReply) GetMessageType

func (*UpfAppFlowTimeoutSetReply) GetMessageType() api.MessageType

type UpfAppIPRuleAddDel

type UpfAppIPRuleAddDel struct {
	App            []byte `struc:"[64]byte"`
	ID             uint32
	IsIPv6         uint8
	SrcIPAddr      []byte `struc:"[16]byte"`
	SrcIPPrefixLen uint8
	DstIPAddr      []byte `struc:"[16]byte"`
	DstIPPrefixLen uint8
	IsAdd          uint8
}

UpfAppIPRuleAddDel represents VPP binary API message 'upf_app_ip_rule_add_del'.

func (*UpfAppIPRuleAddDel) GetCrcString

func (*UpfAppIPRuleAddDel) GetCrcString() string

func (*UpfAppIPRuleAddDel) GetMessageName

func (*UpfAppIPRuleAddDel) GetMessageName() string

func (*UpfAppIPRuleAddDel) GetMessageType

func (*UpfAppIPRuleAddDel) GetMessageType() api.MessageType

type UpfAppIPRuleAddDelReply

type UpfAppIPRuleAddDelReply struct {
	Retval int32
}

UpfAppIPRuleAddDelReply represents VPP binary API message 'upf_app_ip_rule_add_del_reply'.

func (*UpfAppIPRuleAddDelReply) GetCrcString

func (*UpfAppIPRuleAddDelReply) GetCrcString() string

func (*UpfAppIPRuleAddDelReply) GetMessageName

func (*UpfAppIPRuleAddDelReply) GetMessageName() string

func (*UpfAppIPRuleAddDelReply) GetMessageType

func (*UpfAppIPRuleAddDelReply) GetMessageType() api.MessageType

type UpfAppL7RuleAddDel

type UpfAppL7RuleAddDel struct {
	App   []byte `struc:"[64]byte"`
	ID    uint32
	Regex []byte `struc:"[1024]byte"`
	IsAdd uint8
}

UpfAppL7RuleAddDel represents VPP binary API message 'upf_app_l7_rule_add_del'.

func (*UpfAppL7RuleAddDel) GetCrcString

func (*UpfAppL7RuleAddDel) GetCrcString() string

func (*UpfAppL7RuleAddDel) GetMessageName

func (*UpfAppL7RuleAddDel) GetMessageName() string

func (*UpfAppL7RuleAddDel) GetMessageType

func (*UpfAppL7RuleAddDel) GetMessageType() api.MessageType

type UpfAppL7RuleAddDelReply

type UpfAppL7RuleAddDelReply struct {
	Retval int32
}

UpfAppL7RuleAddDelReply represents VPP binary API message 'upf_app_l7_rule_add_del_reply'.

func (*UpfAppL7RuleAddDelReply) GetCrcString

func (*UpfAppL7RuleAddDelReply) GetCrcString() string

func (*UpfAppL7RuleAddDelReply) GetMessageName

func (*UpfAppL7RuleAddDelReply) GetMessageName() string

func (*UpfAppL7RuleAddDelReply) GetMessageType

func (*UpfAppL7RuleAddDelReply) GetMessageType() api.MessageType

type UpfApplicationL7RuleDetails

type UpfApplicationL7RuleDetails struct {
	ID    uint32
	Regex []byte `struc:"[1024]byte"`
}

UpfApplicationL7RuleDetails represents VPP binary API message 'upf_application_l7_rule_details'.

func (*UpfApplicationL7RuleDetails) GetCrcString

func (*UpfApplicationL7RuleDetails) GetCrcString() string

func (*UpfApplicationL7RuleDetails) GetMessageName

func (*UpfApplicationL7RuleDetails) GetMessageName() string

func (*UpfApplicationL7RuleDetails) GetMessageType

func (*UpfApplicationL7RuleDetails) GetMessageType() api.MessageType

type UpfApplicationL7RuleDump

type UpfApplicationL7RuleDump struct {
	App []byte `struc:"[64]byte"`
}

UpfApplicationL7RuleDump represents VPP binary API message 'upf_application_l7_rule_dump'.

func (*UpfApplicationL7RuleDump) GetCrcString

func (*UpfApplicationL7RuleDump) GetCrcString() string

func (*UpfApplicationL7RuleDump) GetMessageName

func (*UpfApplicationL7RuleDump) GetMessageName() string

func (*UpfApplicationL7RuleDump) GetMessageType

func (*UpfApplicationL7RuleDump) GetMessageType() api.MessageType

type UpfApplicationsDetails

type UpfApplicationsDetails struct {
	Name  []byte `struc:"[64]byte"`
	Flags uint32
}

UpfApplicationsDetails represents VPP binary API message 'upf_applications_details'.

func (*UpfApplicationsDetails) GetCrcString

func (*UpfApplicationsDetails) GetCrcString() string

func (*UpfApplicationsDetails) GetMessageName

func (*UpfApplicationsDetails) GetMessageName() string

func (*UpfApplicationsDetails) GetMessageType

func (*UpfApplicationsDetails) GetMessageType() api.MessageType

type UpfApplicationsDump

type UpfApplicationsDump struct{}

UpfApplicationsDump represents VPP binary API message 'upf_applications_dump'.

func (*UpfApplicationsDump) GetCrcString

func (*UpfApplicationsDump) GetCrcString() string

func (*UpfApplicationsDump) GetMessageName

func (*UpfApplicationsDump) GetMessageName() string

func (*UpfApplicationsDump) GetMessageType

func (*UpfApplicationsDump) GetMessageType() api.MessageType

type UpfEnableDisable

type UpfEnableDisable struct {
	EnableDisable uint8
	SwIfIndex     uint32
}

UpfEnableDisable represents VPP binary API message 'upf_enable_disable'.

func (*UpfEnableDisable) GetCrcString

func (*UpfEnableDisable) GetCrcString() string

func (*UpfEnableDisable) GetMessageName

func (*UpfEnableDisable) GetMessageName() string

func (*UpfEnableDisable) GetMessageType

func (*UpfEnableDisable) GetMessageType() api.MessageType

type UpfEnableDisableReply

type UpfEnableDisableReply struct {
	Retval int32
}

UpfEnableDisableReply represents VPP binary API message 'upf_enable_disable_reply'.

func (*UpfEnableDisableReply) GetCrcString

func (*UpfEnableDisableReply) GetCrcString() string

func (*UpfEnableDisableReply) GetMessageName

func (*UpfEnableDisableReply) GetMessageName() string

func (*UpfEnableDisableReply) GetMessageType

func (*UpfEnableDisableReply) GetMessageType() api.MessageType

type UpfFar

type UpfFar struct {
	ID              uint32
	ApplyAction     uint8
	DstIntf         uint8
	NetworkInstance string `struc:"[4]byte"`
	OutheadCreate   uint16
	Port            uint16
	Teid            uint32
	IP              uint32
}

UpfFar represents VPP binary API type 'upf_far'.

func (*UpfFar) GetTypeName

func (*UpfFar) GetTypeName() string

type UpfL7Rule

type UpfL7Rule struct {
	ID          uint32
	RegexLength uint32 `struc:"sizeof=Regex"`
	Regex       []byte
}

UpfL7Rule represents VPP binary API type 'upf_l7_rule'.

func (*UpfL7Rule) GetTypeName

func (*UpfL7Rule) GetTypeName() string

type UpfPdr

type UpfPdr struct {
	ID                 uint16
	Precedence         uint16
	SrcIntf            uint8
	NetworkInstance    string `struc:"[4]byte"`
	TeidFlag           uint8
	Teid               uint32
	TeidIPv4           uint32
	UeFlag             uint8
	UeIPv4             uint32
	OuterHeaderRemoval uint8
	FarID              uint32
}

UpfPdr represents VPP binary API type 'upf_pdr'.

func (*UpfPdr) GetTypeName

func (*UpfPdr) GetTypeName() string

type UpfPfcpSessionAdd

type UpfPfcpSessionAdd struct {
	SessionID uint64
	Fields    uint32
	Pdrs      []UpfPdr `struc:"[3]UpfPdr"`
	Fars      []UpfFar `struc:"[3]UpfFar"`
}

UpfPfcpSessionAdd represents VPP binary API message 'upf_pfcp_session_add'.

func (*UpfPfcpSessionAdd) GetCrcString

func (*UpfPfcpSessionAdd) GetCrcString() string

func (*UpfPfcpSessionAdd) GetMessageName

func (*UpfPfcpSessionAdd) GetMessageName() string

func (*UpfPfcpSessionAdd) GetMessageType

func (*UpfPfcpSessionAdd) GetMessageType() api.MessageType

type UpfPfcpSessionAddReply

type UpfPfcpSessionAddReply struct {
	Retval int32
}

UpfPfcpSessionAddReply represents VPP binary API message 'upf_pfcp_session_add_reply'.

func (*UpfPfcpSessionAddReply) GetCrcString

func (*UpfPfcpSessionAddReply) GetCrcString() string

func (*UpfPfcpSessionAddReply) GetMessageName

func (*UpfPfcpSessionAddReply) GetMessageName() string

func (*UpfPfcpSessionAddReply) GetMessageType

func (*UpfPfcpSessionAddReply) GetMessageType() api.MessageType

type UpfPfcpSessionDel

type UpfPfcpSessionDel struct {
	SessionID uint64
}

UpfPfcpSessionDel represents VPP binary API message 'upf_pfcp_session_del'.

func (*UpfPfcpSessionDel) GetCrcString

func (*UpfPfcpSessionDel) GetCrcString() string

func (*UpfPfcpSessionDel) GetMessageName

func (*UpfPfcpSessionDel) GetMessageName() string

func (*UpfPfcpSessionDel) GetMessageType

func (*UpfPfcpSessionDel) GetMessageType() api.MessageType

type UpfPfcpSessionDelReply

type UpfPfcpSessionDelReply struct {
	Retval int32
}

UpfPfcpSessionDelReply represents VPP binary API message 'upf_pfcp_session_del_reply'.

func (*UpfPfcpSessionDelReply) GetCrcString

func (*UpfPfcpSessionDelReply) GetCrcString() string

func (*UpfPfcpSessionDelReply) GetMessageName

func (*UpfPfcpSessionDelReply) GetMessageName() string

func (*UpfPfcpSessionDelReply) GetMessageType

func (*UpfPfcpSessionDelReply) GetMessageType() api.MessageType

type UpfPfcpSessionUpdate

type UpfPfcpSessionUpdate struct {
	SessionID uint64
	Fars      []UpfFar `struc:"[3]UpfFar"`
}

UpfPfcpSessionUpdate represents VPP binary API message 'upf_pfcp_session_update'.

func (*UpfPfcpSessionUpdate) GetCrcString

func (*UpfPfcpSessionUpdate) GetCrcString() string

func (*UpfPfcpSessionUpdate) GetMessageName

func (*UpfPfcpSessionUpdate) GetMessageName() string

func (*UpfPfcpSessionUpdate) GetMessageType

func (*UpfPfcpSessionUpdate) GetMessageType() api.MessageType

type UpfPfcpSessionUpdateReply

type UpfPfcpSessionUpdateReply struct {
	Retval int32
}

UpfPfcpSessionUpdateReply represents VPP binary API message 'upf_pfcp_session_update_reply'.

func (*UpfPfcpSessionUpdateReply) GetCrcString

func (*UpfPfcpSessionUpdateReply) GetCrcString() string

func (*UpfPfcpSessionUpdateReply) GetMessageName

func (*UpfPfcpSessionUpdateReply) GetMessageName() string

func (*UpfPfcpSessionUpdateReply) GetMessageType

func (*UpfPfcpSessionUpdateReply) GetMessageType() api.MessageType

type UpfUpdateApp

type UpfUpdateApp struct {
	App         []byte `struc:"[64]byte"`
	L7RuleCount uint32 `struc:"sizeof=L7Rules"`
	L7Rules     []UpfL7Rule
}

UpfUpdateApp represents VPP binary API message 'upf_update_app'.

func (*UpfUpdateApp) GetCrcString

func (*UpfUpdateApp) GetCrcString() string

func (*UpfUpdateApp) GetMessageName

func (*UpfUpdateApp) GetMessageName() string

func (*UpfUpdateApp) GetMessageType

func (*UpfUpdateApp) GetMessageType() api.MessageType

type UpfUpdateAppReply

type UpfUpdateAppReply struct {
	Retval int32
}

UpfUpdateAppReply represents VPP binary API message 'upf_update_app_reply'.

func (*UpfUpdateAppReply) GetCrcString

func (*UpfUpdateAppReply) GetCrcString() string

func (*UpfUpdateAppReply) GetMessageName

func (*UpfUpdateAppReply) GetMessageName() string

func (*UpfUpdateAppReply) GetMessageType

func (*UpfUpdateAppReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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