dhcp

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

 4 enums
 5 aliases
12 types
 1 union
25 messages
11 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "dhcp"
	// APIVersion is the API version of this module.
	APIVersion = "2.0.1"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xe086f3df
)

Variables

View Source
var AddressFamily_name = map[uint32]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint32{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
var IPDscp_name = map[uint8]string{
	0:  "IP_API_DSCP_CS0",
	8:  "IP_API_DSCP_CS1",
	10: "IP_API_DSCP_AF11",
	12: "IP_API_DSCP_AF12",
	14: "IP_API_DSCP_AF13",
	16: "IP_API_DSCP_CS2",
	18: "IP_API_DSCP_AF21",
	20: "IP_API_DSCP_AF22",
	22: "IP_API_DSCP_AF23",
	24: "IP_API_DSCP_CS3",
	26: "IP_API_DSCP_AF31",
	28: "IP_API_DSCP_AF32",
	30: "IP_API_DSCP_AF33",
	32: "IP_API_DSCP_CS4",
	34: "IP_API_DSCP_AF41",
	36: "IP_API_DSCP_AF42",
	38: "IP_API_DSCP_AF43",
	40: "IP_API_DSCP_CS5",
	46: "IP_API_DSCP_EF",
	48: "IP_API_DSCP_CS6",
	50: "IP_API_DSCP_CS7",
}
View Source
var IPDscp_value = map[string]uint8{
	"IP_API_DSCP_CS0":  0,
	"IP_API_DSCP_CS1":  8,
	"IP_API_DSCP_AF11": 10,
	"IP_API_DSCP_AF12": 12,
	"IP_API_DSCP_AF13": 14,
	"IP_API_DSCP_CS2":  16,
	"IP_API_DSCP_AF21": 18,
	"IP_API_DSCP_AF22": 20,
	"IP_API_DSCP_AF23": 22,
	"IP_API_DSCP_CS3":  24,
	"IP_API_DSCP_AF31": 26,
	"IP_API_DSCP_AF32": 28,
	"IP_API_DSCP_AF33": 30,
	"IP_API_DSCP_CS4":  32,
	"IP_API_DSCP_AF41": 34,
	"IP_API_DSCP_AF42": 36,
	"IP_API_DSCP_AF43": 38,
	"IP_API_DSCP_CS5":  40,
	"IP_API_DSCP_EF":   46,
	"IP_API_DSCP_CS6":  48,
	"IP_API_DSCP_CS7":  50,
}
View Source
var IPEcn_name = map[uint8]string{
	0: "IP_API_ECN_NONE",
	1: "IP_API_ECN_ECT0",
	2: "IP_API_ECN_ECT1",
	3: "IP_API_ECN_CE",
}
View Source
var IPEcn_value = map[string]uint8{
	"IP_API_ECN_NONE": 0,
	"IP_API_ECN_ECT0": 1,
	"IP_API_ECN_ECT1": 2,
	"IP_API_ECN_CE":   3,
}
View Source
var IPProto_name = map[uint32]string{
	0:   "IP_API_PROTO_HOPOPT",
	1:   "IP_API_PROTO_ICMP",
	2:   "IP_API_PROTO_IGMP",
	6:   "IP_API_PROTO_TCP",
	17:  "IP_API_PROTO_UDP",
	47:  "IP_API_PROTO_GRE",
	50:  "IP_API_PROTO_AH",
	51:  "IP_API_PROTO_ESP",
	88:  "IP_API_PROTO_EIGRP",
	89:  "IP_API_PROTO_OSPF",
	132: "IP_API_PROTO_SCTP",
	255: "IP_API_PROTO_RESERVED",
}
View Source
var IPProto_value = map[string]uint32{
	"IP_API_PROTO_HOPOPT":   0,
	"IP_API_PROTO_ICMP":     1,
	"IP_API_PROTO_IGMP":     2,
	"IP_API_PROTO_TCP":      6,
	"IP_API_PROTO_UDP":      17,
	"IP_API_PROTO_GRE":      47,
	"IP_API_PROTO_AH":       50,
	"IP_API_PROTO_ESP":      51,
	"IP_API_PROTO_EIGRP":    88,
	"IP_API_PROTO_OSPF":     89,
	"IP_API_PROTO_SCTP":     132,
	"IP_API_PROTO_RESERVED": 255,
}

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address'.

func (*Address) GetTypeName

func (*Address) GetTypeName() string

type AddressFamily

type AddressFamily uint32

AddressFamily represents VPP binary API enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	XXX_UnionData [16]byte
}

AddressUnion represents VPP binary API union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) GetTypeName

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.

type DHCP6AddressInfo

type DHCP6AddressInfo struct {
	Address       []byte `struc:"[16]byte"`
	ValidTime     uint32
	PreferredTime uint32
}

DHCP6AddressInfo represents VPP binary API type 'dhcp6_address_info'.

func (*DHCP6AddressInfo) GetTypeName

func (*DHCP6AddressInfo) GetTypeName() string

type DHCP6ClientsEnableDisable

type DHCP6ClientsEnableDisable struct {
	Enable uint8
}

DHCP6ClientsEnableDisable represents VPP binary API message 'dhcp6_clients_enable_disable'.

func (*DHCP6ClientsEnableDisable) GetCrcString

func (*DHCP6ClientsEnableDisable) GetCrcString() string

func (*DHCP6ClientsEnableDisable) GetMessageName

func (*DHCP6ClientsEnableDisable) GetMessageName() string

func (*DHCP6ClientsEnableDisable) GetMessageType

func (*DHCP6ClientsEnableDisable) GetMessageType() api.MessageType

func (*DHCP6ClientsEnableDisable) Reset

func (m *DHCP6ClientsEnableDisable) Reset()

type DHCP6ClientsEnableDisableReply

type DHCP6ClientsEnableDisableReply struct {
	Retval int32
}

DHCP6ClientsEnableDisableReply represents VPP binary API message 'dhcp6_clients_enable_disable_reply'.

func (*DHCP6ClientsEnableDisableReply) GetCrcString

func (*DHCP6ClientsEnableDisableReply) GetCrcString() string

func (*DHCP6ClientsEnableDisableReply) GetMessageName

func (*DHCP6ClientsEnableDisableReply) GetMessageName() string

func (*DHCP6ClientsEnableDisableReply) GetMessageType

func (*DHCP6ClientsEnableDisableReply) Reset

func (m *DHCP6ClientsEnableDisableReply) Reset()

type DHCP6DuidLlSet

type DHCP6DuidLlSet struct {
	DuidLl []byte `struc:"[10]byte"`
}

DHCP6DuidLlSet represents VPP binary API message 'dhcp6_duid_ll_set'.

func (*DHCP6DuidLlSet) GetCrcString

func (*DHCP6DuidLlSet) GetCrcString() string

func (*DHCP6DuidLlSet) GetMessageName

func (*DHCP6DuidLlSet) GetMessageName() string

func (*DHCP6DuidLlSet) GetMessageType

func (*DHCP6DuidLlSet) GetMessageType() api.MessageType

func (*DHCP6DuidLlSet) Reset

func (m *DHCP6DuidLlSet) Reset()

type DHCP6DuidLlSetReply

type DHCP6DuidLlSetReply struct {
	Retval int32
}

DHCP6DuidLlSetReply represents VPP binary API message 'dhcp6_duid_ll_set_reply'.

func (*DHCP6DuidLlSetReply) GetCrcString

func (*DHCP6DuidLlSetReply) GetCrcString() string

func (*DHCP6DuidLlSetReply) GetMessageName

func (*DHCP6DuidLlSetReply) GetMessageName() string

func (*DHCP6DuidLlSetReply) GetMessageType

func (*DHCP6DuidLlSetReply) GetMessageType() api.MessageType

func (*DHCP6DuidLlSetReply) Reset

func (m *DHCP6DuidLlSetReply) Reset()

type DHCP6PdPrefixInfo

type DHCP6PdPrefixInfo struct {
	Prefix        []byte `struc:"[16]byte"`
	PrefixLength  uint8
	ValidTime     uint32
	PreferredTime uint32
}

DHCP6PdPrefixInfo represents VPP binary API type 'dhcp6_pd_prefix_info'.

func (*DHCP6PdPrefixInfo) GetTypeName

func (*DHCP6PdPrefixInfo) GetTypeName() string

type DHCP6PdReplyEvent

type DHCP6PdReplyEvent struct {
	PID             uint32
	SwIfIndex       uint32
	ServerIndex     uint32
	MsgType         uint8
	T1              uint32
	T2              uint32
	InnerStatusCode uint16
	StatusCode      uint16
	Preference      uint8
	NPrefixes       uint32 `struc:"sizeof=Prefixes"`
	Prefixes        []DHCP6PdPrefixInfo
}

DHCP6PdReplyEvent represents VPP binary API message 'dhcp6_pd_reply_event'.

func (*DHCP6PdReplyEvent) GetCrcString

func (*DHCP6PdReplyEvent) GetCrcString() string

func (*DHCP6PdReplyEvent) GetMessageName

func (*DHCP6PdReplyEvent) GetMessageName() string

func (*DHCP6PdReplyEvent) GetMessageType

func (*DHCP6PdReplyEvent) GetMessageType() api.MessageType

func (*DHCP6PdReplyEvent) Reset

func (m *DHCP6PdReplyEvent) Reset()

type DHCP6PdSendClientMessage

type DHCP6PdSendClientMessage struct {
	SwIfIndex   uint32
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        uint8
	MsgType     uint8
	T1          uint32
	T2          uint32
	NPrefixes   uint32 `struc:"sizeof=Prefixes"`
	Prefixes    []DHCP6PdPrefixInfo
}

DHCP6PdSendClientMessage represents VPP binary API message 'dhcp6_pd_send_client_message'.

func (*DHCP6PdSendClientMessage) GetCrcString

func (*DHCP6PdSendClientMessage) GetCrcString() string

func (*DHCP6PdSendClientMessage) GetMessageName

func (*DHCP6PdSendClientMessage) GetMessageName() string

func (*DHCP6PdSendClientMessage) GetMessageType

func (*DHCP6PdSendClientMessage) GetMessageType() api.MessageType

func (*DHCP6PdSendClientMessage) Reset

func (m *DHCP6PdSendClientMessage) Reset()

type DHCP6PdSendClientMessageReply

type DHCP6PdSendClientMessageReply struct {
	Retval int32
}

DHCP6PdSendClientMessageReply represents VPP binary API message 'dhcp6_pd_send_client_message_reply'.

func (*DHCP6PdSendClientMessageReply) GetCrcString

func (*DHCP6PdSendClientMessageReply) GetCrcString() string

func (*DHCP6PdSendClientMessageReply) GetMessageName

func (*DHCP6PdSendClientMessageReply) GetMessageName() string

func (*DHCP6PdSendClientMessageReply) GetMessageType

func (*DHCP6PdSendClientMessageReply) GetMessageType() api.MessageType

func (*DHCP6PdSendClientMessageReply) Reset

func (m *DHCP6PdSendClientMessageReply) Reset()

type DHCP6ReplyEvent

type DHCP6ReplyEvent struct {
	PID             uint32
	SwIfIndex       uint32
	ServerIndex     uint32
	MsgType         uint8
	T1              uint32
	T2              uint32
	InnerStatusCode uint16
	StatusCode      uint16
	Preference      uint8
	NAddresses      uint32 `struc:"sizeof=Addresses"`
	Addresses       []DHCP6AddressInfo
}

DHCP6ReplyEvent represents VPP binary API message 'dhcp6_reply_event'.

func (*DHCP6ReplyEvent) GetCrcString

func (*DHCP6ReplyEvent) GetCrcString() string

func (*DHCP6ReplyEvent) GetMessageName

func (*DHCP6ReplyEvent) GetMessageName() string

func (*DHCP6ReplyEvent) GetMessageType

func (*DHCP6ReplyEvent) GetMessageType() api.MessageType

func (*DHCP6ReplyEvent) Reset

func (m *DHCP6ReplyEvent) Reset()

type DHCP6SendClientMessage

type DHCP6SendClientMessage struct {
	SwIfIndex   uint32
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        uint8
	MsgType     uint8
	T1          uint32
	T2          uint32
	NAddresses  uint32 `struc:"sizeof=Addresses"`
	Addresses   []DHCP6AddressInfo
}

DHCP6SendClientMessage represents VPP binary API message 'dhcp6_send_client_message'.

func (*DHCP6SendClientMessage) GetCrcString

func (*DHCP6SendClientMessage) GetCrcString() string

func (*DHCP6SendClientMessage) GetMessageName

func (*DHCP6SendClientMessage) GetMessageName() string

func (*DHCP6SendClientMessage) GetMessageType

func (*DHCP6SendClientMessage) GetMessageType() api.MessageType

func (*DHCP6SendClientMessage) Reset

func (m *DHCP6SendClientMessage) Reset()

type DHCP6SendClientMessageReply

type DHCP6SendClientMessageReply struct {
	Retval int32
}

DHCP6SendClientMessageReply represents VPP binary API message 'dhcp6_send_client_message_reply'.

func (*DHCP6SendClientMessageReply) GetCrcString

func (*DHCP6SendClientMessageReply) GetCrcString() string

func (*DHCP6SendClientMessageReply) GetMessageName

func (*DHCP6SendClientMessageReply) GetMessageName() string

func (*DHCP6SendClientMessageReply) GetMessageType

func (*DHCP6SendClientMessageReply) GetMessageType() api.MessageType

func (*DHCP6SendClientMessageReply) Reset

func (m *DHCP6SendClientMessageReply) Reset()

type DHCPClient

type DHCPClient struct {
	SwIfIndex        uint32
	Hostname         []byte `struc:"[64]byte"`
	ID               []byte `struc:"[64]byte"`
	WantDHCPEvent    uint8
	SetBroadcastFlag uint8
	Dscp             IPDscp
	PID              uint32
}

DHCPClient represents VPP binary API type 'dhcp_client'.

func (*DHCPClient) GetTypeName

func (*DHCPClient) GetTypeName() string

type DHCPClientConfig

type DHCPClientConfig struct {
	IsAdd  uint8
	Client DHCPClient
}

DHCPClientConfig represents VPP binary API message 'dhcp_client_config'.

func (*DHCPClientConfig) GetCrcString

func (*DHCPClientConfig) GetCrcString() string

func (*DHCPClientConfig) GetMessageName

func (*DHCPClientConfig) GetMessageName() string

func (*DHCPClientConfig) GetMessageType

func (*DHCPClientConfig) GetMessageType() api.MessageType

func (*DHCPClientConfig) Reset

func (m *DHCPClientConfig) Reset()

type DHCPClientConfigReply

type DHCPClientConfigReply struct {
	Retval int32
}

DHCPClientConfigReply represents VPP binary API message 'dhcp_client_config_reply'.

func (*DHCPClientConfigReply) GetCrcString

func (*DHCPClientConfigReply) GetCrcString() string

func (*DHCPClientConfigReply) GetMessageName

func (*DHCPClientConfigReply) GetMessageName() string

func (*DHCPClientConfigReply) GetMessageType

func (*DHCPClientConfigReply) GetMessageType() api.MessageType

func (*DHCPClientConfigReply) Reset

func (m *DHCPClientConfigReply) Reset()

type DHCPClientDetails

type DHCPClientDetails struct {
	Client DHCPClient
	Lease  DHCPLease
}

DHCPClientDetails represents VPP binary API message 'dhcp_client_details'.

func (*DHCPClientDetails) GetCrcString

func (*DHCPClientDetails) GetCrcString() string

func (*DHCPClientDetails) GetMessageName

func (*DHCPClientDetails) GetMessageName() string

func (*DHCPClientDetails) GetMessageType

func (*DHCPClientDetails) GetMessageType() api.MessageType

func (*DHCPClientDetails) Reset

func (m *DHCPClientDetails) Reset()

type DHCPClientDump

type DHCPClientDump struct{}

DHCPClientDump represents VPP binary API message 'dhcp_client_dump'.

func (*DHCPClientDump) GetCrcString

func (*DHCPClientDump) GetCrcString() string

func (*DHCPClientDump) GetMessageName

func (*DHCPClientDump) GetMessageName() string

func (*DHCPClientDump) GetMessageType

func (*DHCPClientDump) GetMessageType() api.MessageType

func (*DHCPClientDump) Reset

func (m *DHCPClientDump) Reset()

type DHCPComplEvent

type DHCPComplEvent struct {
	PID   uint32
	Lease DHCPLease
}

DHCPComplEvent represents VPP binary API message 'dhcp_compl_event'.

func (*DHCPComplEvent) GetCrcString

func (*DHCPComplEvent) GetCrcString() string

func (*DHCPComplEvent) GetMessageName

func (*DHCPComplEvent) GetMessageName() string

func (*DHCPComplEvent) GetMessageType

func (*DHCPComplEvent) GetMessageType() api.MessageType

func (*DHCPComplEvent) Reset

func (m *DHCPComplEvent) Reset()

type DHCPLease

type DHCPLease struct {
	SwIfIndex     uint32
	State         uint8
	Hostname      []byte `struc:"[64]byte"`
	IsIPv6        uint8
	MaskWidth     uint8
	HostAddress   []byte `struc:"[16]byte"`
	RouterAddress []byte `struc:"[16]byte"`
	HostMac       []byte `struc:"[6]byte"`
	Count         uint8  `struc:"sizeof=DomainServer"`
	DomainServer  []DomainServer
}

DHCPLease represents VPP binary API type 'dhcp_lease'.

func (*DHCPLease) GetTypeName

func (*DHCPLease) GetTypeName() string

type DHCPProxyConfig

type DHCPProxyConfig struct {
	RxVrfID        uint32
	ServerVrfID    uint32
	IsIPv6         uint8
	IsAdd          uint8
	DHCPServer     []byte `struc:"[16]byte"`
	DHCPSrcAddress []byte `struc:"[16]byte"`
}

DHCPProxyConfig represents VPP binary API message 'dhcp_proxy_config'.

func (*DHCPProxyConfig) GetCrcString

func (*DHCPProxyConfig) GetCrcString() string

func (*DHCPProxyConfig) GetMessageName

func (*DHCPProxyConfig) GetMessageName() string

func (*DHCPProxyConfig) GetMessageType

func (*DHCPProxyConfig) GetMessageType() api.MessageType

func (*DHCPProxyConfig) Reset

func (m *DHCPProxyConfig) Reset()

type DHCPProxyConfigReply

type DHCPProxyConfigReply struct {
	Retval int32
}

DHCPProxyConfigReply represents VPP binary API message 'dhcp_proxy_config_reply'.

func (*DHCPProxyConfigReply) GetCrcString

func (*DHCPProxyConfigReply) GetCrcString() string

func (*DHCPProxyConfigReply) GetMessageName

func (*DHCPProxyConfigReply) GetMessageName() string

func (*DHCPProxyConfigReply) GetMessageType

func (*DHCPProxyConfigReply) GetMessageType() api.MessageType

func (*DHCPProxyConfigReply) Reset

func (m *DHCPProxyConfigReply) Reset()

type DHCPProxyDetails

type DHCPProxyDetails struct {
	RxVrfID        uint32
	VssOui         uint32
	VssFibID       uint32
	VssType        uint8
	VssVPNAsciiID  []byte `struc:"[129]byte"`
	IsIPv6         uint8
	DHCPSrcAddress []byte `struc:"[16]byte"`
	Count          uint8  `struc:"sizeof=Servers"`
	Servers        []DHCPServer
}

DHCPProxyDetails represents VPP binary API message 'dhcp_proxy_details'.

func (*DHCPProxyDetails) GetCrcString

func (*DHCPProxyDetails) GetCrcString() string

func (*DHCPProxyDetails) GetMessageName

func (*DHCPProxyDetails) GetMessageName() string

func (*DHCPProxyDetails) GetMessageType

func (*DHCPProxyDetails) GetMessageType() api.MessageType

func (*DHCPProxyDetails) Reset

func (m *DHCPProxyDetails) Reset()

type DHCPProxyDump

type DHCPProxyDump struct {
	IsIP6 uint8
}

DHCPProxyDump represents VPP binary API message 'dhcp_proxy_dump'.

func (*DHCPProxyDump) GetCrcString

func (*DHCPProxyDump) GetCrcString() string

func (*DHCPProxyDump) GetMessageName

func (*DHCPProxyDump) GetMessageName() string

func (*DHCPProxyDump) GetMessageType

func (*DHCPProxyDump) GetMessageType() api.MessageType

func (*DHCPProxyDump) Reset

func (m *DHCPProxyDump) Reset()

type DHCPProxySetVss

type DHCPProxySetVss struct {
	TblID      uint32
	VssType    uint8
	VPNAsciiID []byte `struc:"[129]byte"`
	Oui        uint32
	VPNIndex   uint32
	IsIPv6     uint8
	IsAdd      uint8
}

DHCPProxySetVss represents VPP binary API message 'dhcp_proxy_set_vss'.

func (*DHCPProxySetVss) GetCrcString

func (*DHCPProxySetVss) GetCrcString() string

func (*DHCPProxySetVss) GetMessageName

func (*DHCPProxySetVss) GetMessageName() string

func (*DHCPProxySetVss) GetMessageType

func (*DHCPProxySetVss) GetMessageType() api.MessageType

func (*DHCPProxySetVss) Reset

func (m *DHCPProxySetVss) Reset()

type DHCPProxySetVssReply

type DHCPProxySetVssReply struct {
	Retval int32
}

DHCPProxySetVssReply represents VPP binary API message 'dhcp_proxy_set_vss_reply'.

func (*DHCPProxySetVssReply) GetCrcString

func (*DHCPProxySetVssReply) GetCrcString() string

func (*DHCPProxySetVssReply) GetMessageName

func (*DHCPProxySetVssReply) GetMessageName() string

func (*DHCPProxySetVssReply) GetMessageType

func (*DHCPProxySetVssReply) GetMessageType() api.MessageType

func (*DHCPProxySetVssReply) Reset

func (m *DHCPProxySetVssReply) Reset()

type DHCPServer

type DHCPServer struct {
	ServerVrfID uint32
	DHCPServer  []byte `struc:"[16]byte"`
}

DHCPServer represents VPP binary API type 'dhcp_server'.

func (*DHCPServer) GetTypeName

func (*DHCPServer) GetTypeName() string

type DomainServer

type DomainServer struct {
	Address []byte `struc:"[16]byte"`
}

DomainServer represents VPP binary API type 'domain_server'.

func (*DomainServer) GetTypeName

func (*DomainServer) GetTypeName() string

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4AddressWithPrefix

type IP4AddressWithPrefix IP4Prefix

IP4AddressWithPrefix represents VPP binary API alias 'ip4_address_with_prefix'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address
	Len     uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix'.

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

type IP6Address

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address'.

type IP6AddressWithPrefix

type IP6AddressWithPrefix IP6Prefix

IP6AddressWithPrefix represents VPP binary API alias 'ip6_address_with_prefix'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address
	Len     uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix'.

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type IPDscp

type IPDscp uint8

IPDscp represents VPP binary API enum 'ip_dscp'.

const (
	IP_API_DSCP_CS0  IPDscp = 0
	IP_API_DSCP_CS1  IPDscp = 8
	IP_API_DSCP_AF11 IPDscp = 10
	IP_API_DSCP_AF12 IPDscp = 12
	IP_API_DSCP_AF13 IPDscp = 14
	IP_API_DSCP_CS2  IPDscp = 16
	IP_API_DSCP_AF21 IPDscp = 18
	IP_API_DSCP_AF22 IPDscp = 20
	IP_API_DSCP_AF23 IPDscp = 22
	IP_API_DSCP_CS3  IPDscp = 24
	IP_API_DSCP_AF31 IPDscp = 26
	IP_API_DSCP_AF32 IPDscp = 28
	IP_API_DSCP_AF33 IPDscp = 30
	IP_API_DSCP_CS4  IPDscp = 32
	IP_API_DSCP_AF41 IPDscp = 34
	IP_API_DSCP_AF42 IPDscp = 36
	IP_API_DSCP_AF43 IPDscp = 38
	IP_API_DSCP_CS5  IPDscp = 40
	IP_API_DSCP_EF   IPDscp = 46
	IP_API_DSCP_CS6  IPDscp = 48
	IP_API_DSCP_CS7  IPDscp = 50
)

func (IPDscp) String

func (x IPDscp) String() string

type IPEcn

type IPEcn uint8

IPEcn represents VPP binary API enum 'ip_ecn'.

const (
	IP_API_ECN_NONE IPEcn = 0
	IP_API_ECN_ECT0 IPEcn = 1
	IP_API_ECN_ECT1 IPEcn = 2
	IP_API_ECN_CE   IPEcn = 3
)

func (IPEcn) String

func (x IPEcn) String() string

type IPProto

type IPProto uint32

IPProto represents VPP binary API enum 'ip_proto'.

const (
	IP_API_PROTO_HOPOPT   IPProto = 0
	IP_API_PROTO_ICMP     IPProto = 1
	IP_API_PROTO_IGMP     IPProto = 2
	IP_API_PROTO_TCP      IPProto = 6
	IP_API_PROTO_UDP      IPProto = 17
	IP_API_PROTO_GRE      IPProto = 47
	IP_API_PROTO_AH       IPProto = 50
	IP_API_PROTO_ESP      IPProto = 51
	IP_API_PROTO_EIGRP    IPProto = 88
	IP_API_PROTO_OSPF     IPProto = 89
	IP_API_PROTO_SCTP     IPProto = 132
	IP_API_PROTO_RESERVED IPProto = 255
)

func (IPProto) String

func (x IPProto) String() string

type Mprefix

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type Prefix

type Prefix struct {
	Address Address
	Len     uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8
	Ge uint8
}

PrefixMatcher represents VPP binary API type 'prefix_matcher'.

func (*PrefixMatcher) GetTypeName

func (*PrefixMatcher) GetTypeName() string

type RPCService

RPCService represents RPC service API for dhcp module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpDHCPClientClient

type RPCService_DumpDHCPClientClient interface {
	Recv() (*DHCPClientDetails, error)
}

type RPCService_DumpDHCPProxyClient

type RPCService_DumpDHCPProxyClient interface {
	Recv() (*DHCPProxyDetails, error)
}

type WantDHCP6PdReplyEvents

type WantDHCP6PdReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6PdReplyEvents represents VPP binary API message 'want_dhcp6_pd_reply_events'.

func (*WantDHCP6PdReplyEvents) GetCrcString

func (*WantDHCP6PdReplyEvents) GetCrcString() string

func (*WantDHCP6PdReplyEvents) GetMessageName

func (*WantDHCP6PdReplyEvents) GetMessageName() string

func (*WantDHCP6PdReplyEvents) GetMessageType

func (*WantDHCP6PdReplyEvents) GetMessageType() api.MessageType

func (*WantDHCP6PdReplyEvents) Reset

func (m *WantDHCP6PdReplyEvents) Reset()

type WantDHCP6PdReplyEventsReply

type WantDHCP6PdReplyEventsReply struct {
	Retval int32
}

WantDHCP6PdReplyEventsReply represents VPP binary API message 'want_dhcp6_pd_reply_events_reply'.

func (*WantDHCP6PdReplyEventsReply) GetCrcString

func (*WantDHCP6PdReplyEventsReply) GetCrcString() string

func (*WantDHCP6PdReplyEventsReply) GetMessageName

func (*WantDHCP6PdReplyEventsReply) GetMessageName() string

func (*WantDHCP6PdReplyEventsReply) GetMessageType

func (*WantDHCP6PdReplyEventsReply) GetMessageType() api.MessageType

func (*WantDHCP6PdReplyEventsReply) Reset

func (m *WantDHCP6PdReplyEventsReply) Reset()

type WantDHCP6ReplyEvents

type WantDHCP6ReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6ReplyEvents represents VPP binary API message 'want_dhcp6_reply_events'.

func (*WantDHCP6ReplyEvents) GetCrcString

func (*WantDHCP6ReplyEvents) GetCrcString() string

func (*WantDHCP6ReplyEvents) GetMessageName

func (*WantDHCP6ReplyEvents) GetMessageName() string

func (*WantDHCP6ReplyEvents) GetMessageType

func (*WantDHCP6ReplyEvents) GetMessageType() api.MessageType

func (*WantDHCP6ReplyEvents) Reset

func (m *WantDHCP6ReplyEvents) Reset()

type WantDHCP6ReplyEventsReply

type WantDHCP6ReplyEventsReply struct {
	Retval int32
}

WantDHCP6ReplyEventsReply represents VPP binary API message 'want_dhcp6_reply_events_reply'.

func (*WantDHCP6ReplyEventsReply) GetCrcString

func (*WantDHCP6ReplyEventsReply) GetCrcString() string

func (*WantDHCP6ReplyEventsReply) GetMessageName

func (*WantDHCP6ReplyEventsReply) GetMessageName() string

func (*WantDHCP6ReplyEventsReply) GetMessageType

func (*WantDHCP6ReplyEventsReply) GetMessageType() api.MessageType

func (*WantDHCP6ReplyEventsReply) Reset

func (m *WantDHCP6ReplyEventsReply) Reset()

Jump to

Keyboard shortcuts

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