bfd

package
v2.3.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

28 messages
14 services

Index

Constants

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

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type BfdAuthDelKey

type BfdAuthDelKey struct {
	ConfKeyID uint32
}

BfdAuthDelKey represents VPP binary API message 'bfd_auth_del_key'.

func (*BfdAuthDelKey) GetCrcString

func (*BfdAuthDelKey) GetCrcString() string

func (*BfdAuthDelKey) GetMessageName

func (*BfdAuthDelKey) GetMessageName() string

func (*BfdAuthDelKey) GetMessageType

func (*BfdAuthDelKey) GetMessageType() api.MessageType

type BfdAuthDelKeyReply

type BfdAuthDelKeyReply struct {
	Retval int32
}

BfdAuthDelKeyReply represents VPP binary API message 'bfd_auth_del_key_reply'.

func (*BfdAuthDelKeyReply) GetCrcString

func (*BfdAuthDelKeyReply) GetCrcString() string

func (*BfdAuthDelKeyReply) GetMessageName

func (*BfdAuthDelKeyReply) GetMessageName() string

func (*BfdAuthDelKeyReply) GetMessageType

func (*BfdAuthDelKeyReply) GetMessageType() api.MessageType

type BfdAuthKeysDetails

type BfdAuthKeysDetails struct {
	ConfKeyID uint32
	UseCount  uint32
	AuthType  uint8
}

BfdAuthKeysDetails represents VPP binary API message 'bfd_auth_keys_details'.

func (*BfdAuthKeysDetails) GetCrcString

func (*BfdAuthKeysDetails) GetCrcString() string

func (*BfdAuthKeysDetails) GetMessageName

func (*BfdAuthKeysDetails) GetMessageName() string

func (*BfdAuthKeysDetails) GetMessageType

func (*BfdAuthKeysDetails) GetMessageType() api.MessageType

type BfdAuthKeysDump

type BfdAuthKeysDump struct{}

BfdAuthKeysDump represents VPP binary API message 'bfd_auth_keys_dump'.

func (*BfdAuthKeysDump) GetCrcString

func (*BfdAuthKeysDump) GetCrcString() string

func (*BfdAuthKeysDump) GetMessageName

func (*BfdAuthKeysDump) GetMessageName() string

func (*BfdAuthKeysDump) GetMessageType

func (*BfdAuthKeysDump) GetMessageType() api.MessageType

type BfdAuthSetKey

type BfdAuthSetKey struct {
	ConfKeyID uint32
	KeyLen    uint8
	AuthType  uint8
	Key       []byte `struc:"[20]byte"`
}

BfdAuthSetKey represents VPP binary API message 'bfd_auth_set_key'.

func (*BfdAuthSetKey) GetCrcString

func (*BfdAuthSetKey) GetCrcString() string

func (*BfdAuthSetKey) GetMessageName

func (*BfdAuthSetKey) GetMessageName() string

func (*BfdAuthSetKey) GetMessageType

func (*BfdAuthSetKey) GetMessageType() api.MessageType

type BfdAuthSetKeyReply

type BfdAuthSetKeyReply struct {
	Retval int32
}

BfdAuthSetKeyReply represents VPP binary API message 'bfd_auth_set_key_reply'.

func (*BfdAuthSetKeyReply) GetCrcString

func (*BfdAuthSetKeyReply) GetCrcString() string

func (*BfdAuthSetKeyReply) GetMessageName

func (*BfdAuthSetKeyReply) GetMessageName() string

func (*BfdAuthSetKeyReply) GetMessageType

func (*BfdAuthSetKeyReply) GetMessageType() api.MessageType

type BfdUDPAdd

type BfdUDPAdd struct {
	SwIfIndex       uint32
	DesiredMinTx    uint32
	RequiredMinRx   uint32
	LocalAddr       []byte `struc:"[16]byte"`
	PeerAddr        []byte `struc:"[16]byte"`
	IsIPv6          uint8
	DetectMult      uint8
	IsAuthenticated uint8
	BfdKeyID        uint8
	ConfKeyID       uint32
}

BfdUDPAdd represents VPP binary API message 'bfd_udp_add'.

func (*BfdUDPAdd) GetCrcString

func (*BfdUDPAdd) GetCrcString() string

func (*BfdUDPAdd) GetMessageName

func (*BfdUDPAdd) GetMessageName() string

func (*BfdUDPAdd) GetMessageType

func (*BfdUDPAdd) GetMessageType() api.MessageType

type BfdUDPAddReply

type BfdUDPAddReply struct {
	Retval int32
}

BfdUDPAddReply represents VPP binary API message 'bfd_udp_add_reply'.

func (*BfdUDPAddReply) GetCrcString

func (*BfdUDPAddReply) GetCrcString() string

func (*BfdUDPAddReply) GetMessageName

func (*BfdUDPAddReply) GetMessageName() string

func (*BfdUDPAddReply) GetMessageType

func (*BfdUDPAddReply) GetMessageType() api.MessageType

type BfdUDPAuthActivate

type BfdUDPAuthActivate struct {
	SwIfIndex uint32
	LocalAddr []byte `struc:"[16]byte"`
	PeerAddr  []byte `struc:"[16]byte"`
	IsIPv6    uint8
	IsDelayed uint8
	BfdKeyID  uint8
	ConfKeyID uint32
}

BfdUDPAuthActivate represents VPP binary API message 'bfd_udp_auth_activate'.

func (*BfdUDPAuthActivate) GetCrcString

func (*BfdUDPAuthActivate) GetCrcString() string

func (*BfdUDPAuthActivate) GetMessageName

func (*BfdUDPAuthActivate) GetMessageName() string

func (*BfdUDPAuthActivate) GetMessageType

func (*BfdUDPAuthActivate) GetMessageType() api.MessageType

type BfdUDPAuthActivateReply

type BfdUDPAuthActivateReply struct {
	Retval int32
}

BfdUDPAuthActivateReply represents VPP binary API message 'bfd_udp_auth_activate_reply'.

func (*BfdUDPAuthActivateReply) GetCrcString

func (*BfdUDPAuthActivateReply) GetCrcString() string

func (*BfdUDPAuthActivateReply) GetMessageName

func (*BfdUDPAuthActivateReply) GetMessageName() string

func (*BfdUDPAuthActivateReply) GetMessageType

func (*BfdUDPAuthActivateReply) GetMessageType() api.MessageType

type BfdUDPAuthDeactivate

type BfdUDPAuthDeactivate struct {
	SwIfIndex uint32
	LocalAddr []byte `struc:"[16]byte"`
	PeerAddr  []byte `struc:"[16]byte"`
	IsIPv6    uint8
	IsDelayed uint8
}

BfdUDPAuthDeactivate represents VPP binary API message 'bfd_udp_auth_deactivate'.

func (*BfdUDPAuthDeactivate) GetCrcString

func (*BfdUDPAuthDeactivate) GetCrcString() string

func (*BfdUDPAuthDeactivate) GetMessageName

func (*BfdUDPAuthDeactivate) GetMessageName() string

func (*BfdUDPAuthDeactivate) GetMessageType

func (*BfdUDPAuthDeactivate) GetMessageType() api.MessageType

type BfdUDPAuthDeactivateReply

type BfdUDPAuthDeactivateReply struct {
	Retval int32
}

BfdUDPAuthDeactivateReply represents VPP binary API message 'bfd_udp_auth_deactivate_reply'.

func (*BfdUDPAuthDeactivateReply) GetCrcString

func (*BfdUDPAuthDeactivateReply) GetCrcString() string

func (*BfdUDPAuthDeactivateReply) GetMessageName

func (*BfdUDPAuthDeactivateReply) GetMessageName() string

func (*BfdUDPAuthDeactivateReply) GetMessageType

func (*BfdUDPAuthDeactivateReply) GetMessageType() api.MessageType

type BfdUDPDel

type BfdUDPDel struct {
	SwIfIndex uint32
	LocalAddr []byte `struc:"[16]byte"`
	PeerAddr  []byte `struc:"[16]byte"`
	IsIPv6    uint8
}

BfdUDPDel represents VPP binary API message 'bfd_udp_del'.

func (*BfdUDPDel) GetCrcString

func (*BfdUDPDel) GetCrcString() string

func (*BfdUDPDel) GetMessageName

func (*BfdUDPDel) GetMessageName() string

func (*BfdUDPDel) GetMessageType

func (*BfdUDPDel) GetMessageType() api.MessageType

type BfdUDPDelEchoSource

type BfdUDPDelEchoSource struct{}

BfdUDPDelEchoSource represents VPP binary API message 'bfd_udp_del_echo_source'.

func (*BfdUDPDelEchoSource) GetCrcString

func (*BfdUDPDelEchoSource) GetCrcString() string

func (*BfdUDPDelEchoSource) GetMessageName

func (*BfdUDPDelEchoSource) GetMessageName() string

func (*BfdUDPDelEchoSource) GetMessageType

func (*BfdUDPDelEchoSource) GetMessageType() api.MessageType

type BfdUDPDelEchoSourceReply

type BfdUDPDelEchoSourceReply struct {
	Retval int32
}

BfdUDPDelEchoSourceReply represents VPP binary API message 'bfd_udp_del_echo_source_reply'.

func (*BfdUDPDelEchoSourceReply) GetCrcString

func (*BfdUDPDelEchoSourceReply) GetCrcString() string

func (*BfdUDPDelEchoSourceReply) GetMessageName

func (*BfdUDPDelEchoSourceReply) GetMessageName() string

func (*BfdUDPDelEchoSourceReply) GetMessageType

func (*BfdUDPDelEchoSourceReply) GetMessageType() api.MessageType

type BfdUDPDelReply

type BfdUDPDelReply struct {
	Retval int32
}

BfdUDPDelReply represents VPP binary API message 'bfd_udp_del_reply'.

func (*BfdUDPDelReply) GetCrcString

func (*BfdUDPDelReply) GetCrcString() string

func (*BfdUDPDelReply) GetMessageName

func (*BfdUDPDelReply) GetMessageName() string

func (*BfdUDPDelReply) GetMessageType

func (*BfdUDPDelReply) GetMessageType() api.MessageType

type BfdUDPGetEchoSource

type BfdUDPGetEchoSource struct{}

BfdUDPGetEchoSource represents VPP binary API message 'bfd_udp_get_echo_source'.

func (*BfdUDPGetEchoSource) GetCrcString

func (*BfdUDPGetEchoSource) GetCrcString() string

func (*BfdUDPGetEchoSource) GetMessageName

func (*BfdUDPGetEchoSource) GetMessageName() string

func (*BfdUDPGetEchoSource) GetMessageType

func (*BfdUDPGetEchoSource) GetMessageType() api.MessageType

type BfdUDPGetEchoSourceReply

type BfdUDPGetEchoSourceReply struct {
	Retval        int32
	SwIfIndex     uint32
	IsSet         uint8
	HaveUsableIP4 uint8
	IP4Addr       []byte `struc:"[4]byte"`
	HaveUsableIP6 uint8
	IP6Addr       []byte `struc:"[16]byte"`
}

BfdUDPGetEchoSourceReply represents VPP binary API message 'bfd_udp_get_echo_source_reply'.

func (*BfdUDPGetEchoSourceReply) GetCrcString

func (*BfdUDPGetEchoSourceReply) GetCrcString() string

func (*BfdUDPGetEchoSourceReply) GetMessageName

func (*BfdUDPGetEchoSourceReply) GetMessageName() string

func (*BfdUDPGetEchoSourceReply) GetMessageType

func (*BfdUDPGetEchoSourceReply) GetMessageType() api.MessageType

type BfdUDPMod

type BfdUDPMod struct {
	SwIfIndex     uint32
	DesiredMinTx  uint32
	RequiredMinRx uint32
	LocalAddr     []byte `struc:"[16]byte"`
	PeerAddr      []byte `struc:"[16]byte"`
	IsIPv6        uint8
	DetectMult    uint8
}

BfdUDPMod represents VPP binary API message 'bfd_udp_mod'.

func (*BfdUDPMod) GetCrcString

func (*BfdUDPMod) GetCrcString() string

func (*BfdUDPMod) GetMessageName

func (*BfdUDPMod) GetMessageName() string

func (*BfdUDPMod) GetMessageType

func (*BfdUDPMod) GetMessageType() api.MessageType

type BfdUDPModReply

type BfdUDPModReply struct {
	Retval int32
}

BfdUDPModReply represents VPP binary API message 'bfd_udp_mod_reply'.

func (*BfdUDPModReply) GetCrcString

func (*BfdUDPModReply) GetCrcString() string

func (*BfdUDPModReply) GetMessageName

func (*BfdUDPModReply) GetMessageName() string

func (*BfdUDPModReply) GetMessageType

func (*BfdUDPModReply) GetMessageType() api.MessageType

type BfdUDPSessionDetails

type BfdUDPSessionDetails struct {
	SwIfIndex       uint32
	LocalAddr       []byte `struc:"[16]byte"`
	PeerAddr        []byte `struc:"[16]byte"`
	IsIPv6          uint8
	State           uint8
	IsAuthenticated uint8
	BfdKeyID        uint8
	ConfKeyID       uint32
	RequiredMinRx   uint32
	DesiredMinTx    uint32
	DetectMult      uint8
}

BfdUDPSessionDetails represents VPP binary API message 'bfd_udp_session_details'.

func (*BfdUDPSessionDetails) GetCrcString

func (*BfdUDPSessionDetails) GetCrcString() string

func (*BfdUDPSessionDetails) GetMessageName

func (*BfdUDPSessionDetails) GetMessageName() string

func (*BfdUDPSessionDetails) GetMessageType

func (*BfdUDPSessionDetails) GetMessageType() api.MessageType

type BfdUDPSessionDump

type BfdUDPSessionDump struct{}

BfdUDPSessionDump represents VPP binary API message 'bfd_udp_session_dump'.

func (*BfdUDPSessionDump) GetCrcString

func (*BfdUDPSessionDump) GetCrcString() string

func (*BfdUDPSessionDump) GetMessageName

func (*BfdUDPSessionDump) GetMessageName() string

func (*BfdUDPSessionDump) GetMessageType

func (*BfdUDPSessionDump) GetMessageType() api.MessageType

type BfdUDPSessionSetFlags

type BfdUDPSessionSetFlags struct {
	SwIfIndex   uint32
	LocalAddr   []byte `struc:"[16]byte"`
	PeerAddr    []byte `struc:"[16]byte"`
	IsIPv6      uint8
	AdminUpDown uint8
}

BfdUDPSessionSetFlags represents VPP binary API message 'bfd_udp_session_set_flags'.

func (*BfdUDPSessionSetFlags) GetCrcString

func (*BfdUDPSessionSetFlags) GetCrcString() string

func (*BfdUDPSessionSetFlags) GetMessageName

func (*BfdUDPSessionSetFlags) GetMessageName() string

func (*BfdUDPSessionSetFlags) GetMessageType

func (*BfdUDPSessionSetFlags) GetMessageType() api.MessageType

type BfdUDPSessionSetFlagsReply

type BfdUDPSessionSetFlagsReply struct {
	Retval int32
}

BfdUDPSessionSetFlagsReply represents VPP binary API message 'bfd_udp_session_set_flags_reply'.

func (*BfdUDPSessionSetFlagsReply) GetCrcString

func (*BfdUDPSessionSetFlagsReply) GetCrcString() string

func (*BfdUDPSessionSetFlagsReply) GetMessageName

func (*BfdUDPSessionSetFlagsReply) GetMessageName() string

func (*BfdUDPSessionSetFlagsReply) GetMessageType

func (*BfdUDPSessionSetFlagsReply) GetMessageType() api.MessageType

type BfdUDPSetEchoSource

type BfdUDPSetEchoSource struct {
	SwIfIndex uint32
}

BfdUDPSetEchoSource represents VPP binary API message 'bfd_udp_set_echo_source'.

func (*BfdUDPSetEchoSource) GetCrcString

func (*BfdUDPSetEchoSource) GetCrcString() string

func (*BfdUDPSetEchoSource) GetMessageName

func (*BfdUDPSetEchoSource) GetMessageName() string

func (*BfdUDPSetEchoSource) GetMessageType

func (*BfdUDPSetEchoSource) GetMessageType() api.MessageType

type BfdUDPSetEchoSourceReply

type BfdUDPSetEchoSourceReply struct {
	Retval int32
}

BfdUDPSetEchoSourceReply represents VPP binary API message 'bfd_udp_set_echo_source_reply'.

func (*BfdUDPSetEchoSourceReply) GetCrcString

func (*BfdUDPSetEchoSourceReply) GetCrcString() string

func (*BfdUDPSetEchoSourceReply) GetMessageName

func (*BfdUDPSetEchoSourceReply) GetMessageName() string

func (*BfdUDPSetEchoSourceReply) GetMessageType

func (*BfdUDPSetEchoSourceReply) GetMessageType() api.MessageType

type RPCService

RPCService represents RPC service API for bfd module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpBfdAuthKeysClient

type RPCService_DumpBfdAuthKeysClient interface {
	Recv() (*BfdAuthKeysDetails, error)
}

type RPCService_DumpBfdUDPSessionClient

type RPCService_DumpBfdUDPSessionClient interface {
	Recv() (*BfdUDPSessionDetails, error)
}

type WantBfdEvents

type WantBfdEvents struct {
	EnableDisable uint32
	PID           uint32
}

WantBfdEvents represents VPP binary API message 'want_bfd_events'.

func (*WantBfdEvents) GetCrcString

func (*WantBfdEvents) GetCrcString() string

func (*WantBfdEvents) GetMessageName

func (*WantBfdEvents) GetMessageName() string

func (*WantBfdEvents) GetMessageType

func (*WantBfdEvents) GetMessageType() api.MessageType

type WantBfdEventsReply

type WantBfdEventsReply struct {
	Retval int32
}

WantBfdEventsReply represents VPP binary API message 'want_bfd_events_reply'.

func (*WantBfdEventsReply) GetCrcString

func (*WantBfdEventsReply) GetCrcString() string

func (*WantBfdEventsReply) GetMessageName

func (*WantBfdEventsReply) GetMessageName() string

func (*WantBfdEventsReply) GetMessageType

func (*WantBfdEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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