dhcp

package
v3.1.0 Latest Latest
Warning

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

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

Documentation

Overview

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

It consists of:

13 enums
 7 aliases
12 types
 1 union
29 messages
13 services

Index

Constants

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

Variables

View Source
var DHCPClientState_name = map[uint32]string{
	1: "DHCP_CLIENT_STATE_API_DISCOVER",
	2: "DHCP_CLIENT_STATE_API_REQUEST",
	3: "DHCP_CLIENT_STATE_API_BOUND",
}
View Source
var DHCPClientState_value = map[string]uint32{
	"DHCP_CLIENT_STATE_API_DISCOVER": 1,
	"DHCP_CLIENT_STATE_API_REQUEST":  2,
	"DHCP_CLIENT_STATE_API_BOUND":    3,
}
View Source
var Dhcpv6MsgType_name = map[uint32]string{
	1:  "DHCPV6_MSG_API_SOLICIT",
	2:  "DHCPV6_MSG_API_ADVERTISE",
	3:  "DHCPV6_MSG_API_REQUEST",
	4:  "DHCPV6_MSG_API_CONFIRM",
	5:  "DHCPV6_MSG_API_RENEW",
	6:  "DHCPV6_MSG_API_REBIND",
	7:  "DHCPV6_MSG_API_REPLY",
	8:  "DHCPV6_MSG_API_RELEASE",
	9:  "DHCPV6_MSG_API_DECLINE",
	10: "DHCPV6_MSG_API_RECONFIGURE",
	11: "DHCPV6_MSG_API_INFORMATION_REQUEST",
	12: "DHCPV6_MSG_API_RELAY_FORW",
	13: "DHCPV6_MSG_API_RELAY_REPL",
}
View Source
var Dhcpv6MsgType_value = map[string]uint32{
	"DHCPV6_MSG_API_SOLICIT":             1,
	"DHCPV6_MSG_API_ADVERTISE":           2,
	"DHCPV6_MSG_API_REQUEST":             3,
	"DHCPV6_MSG_API_CONFIRM":             4,
	"DHCPV6_MSG_API_RENEW":               5,
	"DHCPV6_MSG_API_REBIND":              6,
	"DHCPV6_MSG_API_REPLY":               7,
	"DHCPV6_MSG_API_RELEASE":             8,
	"DHCPV6_MSG_API_DECLINE":             9,
	"DHCPV6_MSG_API_RECONFIGURE":         10,
	"DHCPV6_MSG_API_INFORMATION_REQUEST": 11,
	"DHCPV6_MSG_API_RELAY_FORW":          12,
	"DHCPV6_MSG_API_RELAY_REPL":          13,
}
View Source
var VssType_name = map[uint32]string{
	0:   "VSS_TYPE_API_ASCII",
	1:   "VSS_TYPE_API_VPN_ID",
	123: "VSS_TYPE_API_INVALID",
	255: "VSS_TYPE_API_DEFAULT",
}
View Source
var VssType_value = map[string]uint32{
	"VSS_TYPE_API_ASCII":   0,
	"VSS_TYPE_API_VPN_ID":  1,
	"VSS_TYPE_API_INVALID": 123,
	"VSS_TYPE_API_DEFAULT": 255,
}

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address = ip_types.Address

type AddressFamily

type AddressFamily = ip_types.AddressFamily

type AddressUnion

type AddressUnion = ip_types.AddressUnion

type AddressWithPrefix

type AddressWithPrefix = ip_types.AddressWithPrefix

type DHCP6AddressInfo

type DHCP6AddressInfo struct {
	Address       IP6Address
	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 bool
}

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        IP6Prefix
	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       InterfaceIndex
	ServerIndex     uint32
	MsgType         Dhcpv6MsgType
	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   InterfaceIndex
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        bool
	MsgType     Dhcpv6MsgType
	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       InterfaceIndex
	ServerIndex     uint32
	MsgType         Dhcpv6MsgType
	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   InterfaceIndex
	ServerIndex uint32
	Irt         uint32
	Mrt         uint32
	Mrc         uint32
	Mrd         uint32
	Stop        bool
	MsgType     Dhcpv6MsgType
	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        InterfaceIndex
	Hostname         string `struc:"[64]byte"`
	ID               []byte `struc:"[64]byte"`
	WantDHCPEvent    bool
	SetBroadcastFlag bool
	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  bool
	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 DHCPClientState

type DHCPClientState uint32

DHCPClientState represents VPP binary API enum 'dhcp_client_state'.

const (
	DHCP_CLIENT_STATE_API_DISCOVER DHCPClientState = 1
	DHCP_CLIENT_STATE_API_REQUEST  DHCPClientState = 2
	DHCP_CLIENT_STATE_API_BOUND    DHCPClientState = 3
)

func (DHCPClientState) String

func (x DHCPClientState) String() string

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     InterfaceIndex
	State         DHCPClientState
	IsIPv6        bool
	Hostname      string `struc:"[64]byte"`
	MaskWidth     uint8
	HostAddress   Address
	RouterAddress Address
	HostMac       MacAddress
	Count         uint8 `struc:"sizeof=DomainServer"`
	DomainServer  []DomainServer
}

DHCPLease represents VPP binary API type 'dhcp_lease'.

func (*DHCPLease) GetTypeName

func (*DHCPLease) GetTypeName() string

type DHCPPluginControlPing

type DHCPPluginControlPing struct{}

DHCPPluginControlPing represents VPP binary API message 'dhcp_plugin_control_ping'.

func (*DHCPPluginControlPing) GetCrcString

func (*DHCPPluginControlPing) GetCrcString() string

func (*DHCPPluginControlPing) GetMessageName

func (*DHCPPluginControlPing) GetMessageName() string

func (*DHCPPluginControlPing) GetMessageType

func (*DHCPPluginControlPing) GetMessageType() api.MessageType

func (*DHCPPluginControlPing) Reset

func (m *DHCPPluginControlPing) Reset()

type DHCPPluginControlPingReply

type DHCPPluginControlPingReply struct {
	Retval      int32
	ClientIndex uint32
	VpePID      uint32
}

DHCPPluginControlPingReply represents VPP binary API message 'dhcp_plugin_control_ping_reply'.

func (*DHCPPluginControlPingReply) GetCrcString

func (*DHCPPluginControlPingReply) GetCrcString() string

func (*DHCPPluginControlPingReply) GetMessageName

func (*DHCPPluginControlPingReply) GetMessageName() string

func (*DHCPPluginControlPingReply) GetMessageType

func (*DHCPPluginControlPingReply) GetMessageType() api.MessageType

func (*DHCPPluginControlPingReply) Reset

func (m *DHCPPluginControlPingReply) Reset()

type DHCPPluginGetVersion

type DHCPPluginGetVersion struct{}

DHCPPluginGetVersion represents VPP binary API message 'dhcp_plugin_get_version'.

func (*DHCPPluginGetVersion) GetCrcString

func (*DHCPPluginGetVersion) GetCrcString() string

func (*DHCPPluginGetVersion) GetMessageName

func (*DHCPPluginGetVersion) GetMessageName() string

func (*DHCPPluginGetVersion) GetMessageType

func (*DHCPPluginGetVersion) GetMessageType() api.MessageType

func (*DHCPPluginGetVersion) Reset

func (m *DHCPPluginGetVersion) Reset()

type DHCPPluginGetVersionReply

type DHCPPluginGetVersionReply struct {
	Major uint32
	Minor uint32
}

DHCPPluginGetVersionReply represents VPP binary API message 'dhcp_plugin_get_version_reply'.

func (*DHCPPluginGetVersionReply) GetCrcString

func (*DHCPPluginGetVersionReply) GetCrcString() string

func (*DHCPPluginGetVersionReply) GetMessageName

func (*DHCPPluginGetVersionReply) GetMessageName() string

func (*DHCPPluginGetVersionReply) GetMessageType

func (*DHCPPluginGetVersionReply) GetMessageType() api.MessageType

func (*DHCPPluginGetVersionReply) Reset

func (m *DHCPPluginGetVersionReply) Reset()

type DHCPProxyConfig

type DHCPProxyConfig struct {
	RxVrfID        uint32
	ServerVrfID    uint32
	IsAdd          bool
	DHCPServer     Address
	DHCPSrcAddress Address
}

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        VssType
	IsIPv6         bool
	VssVPNAsciiID  string `struc:"[129]byte"`
	DHCPSrcAddress Address
	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 bool
}

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    VssType
	VPNAsciiID string `struc:"[129]byte"`
	Oui        uint32
	VPNIndex   uint32
	IsIPv6     bool
	IsAdd      bool
}

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  Address
}

DHCPServer represents VPP binary API type 'dhcp_server'.

func (*DHCPServer) GetTypeName

func (*DHCPServer) GetTypeName() string

type Dhcpv6MsgType

type Dhcpv6MsgType uint32

Dhcpv6MsgType represents VPP binary API enum 'dhcpv6_msg_type'.

const (
	DHCPV6_MSG_API_SOLICIT             Dhcpv6MsgType = 1
	DHCPV6_MSG_API_ADVERTISE           Dhcpv6MsgType = 2
	DHCPV6_MSG_API_REQUEST             Dhcpv6MsgType = 3
	DHCPV6_MSG_API_CONFIRM             Dhcpv6MsgType = 4
	DHCPV6_MSG_API_RENEW               Dhcpv6MsgType = 5
	DHCPV6_MSG_API_REBIND              Dhcpv6MsgType = 6
	DHCPV6_MSG_API_REPLY               Dhcpv6MsgType = 7
	DHCPV6_MSG_API_RELEASE             Dhcpv6MsgType = 8
	DHCPV6_MSG_API_DECLINE             Dhcpv6MsgType = 9
	DHCPV6_MSG_API_RECONFIGURE         Dhcpv6MsgType = 10
	DHCPV6_MSG_API_INFORMATION_REQUEST Dhcpv6MsgType = 11
	DHCPV6_MSG_API_RELAY_FORW          Dhcpv6MsgType = 12
	DHCPV6_MSG_API_RELAY_REPL          Dhcpv6MsgType = 13
)

func (Dhcpv6MsgType) String

func (x Dhcpv6MsgType) String() string

type DomainServer

type DomainServer struct {
	Address Address
}

DomainServer represents VPP binary API type 'domain_server'.

func (*DomainServer) GetTypeName

func (*DomainServer) GetTypeName() string

type IP4Address

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP4Prefix

type IP4Prefix = ip_types.IP4Prefix

type IP6Address

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type IP6Prefix

type IP6Prefix = ip_types.IP6Prefix

type IPDscp

type IPDscp = ip_types.IPDscp

type IPEcn

type IPEcn = ip_types.IPEcn

type IPProto

type IPProto = ip_types.IPProto

type IfStatusFlags

type IfStatusFlags = interface_types.IfStatusFlags

type IfType

type IfType = interface_types.IfType

type InterfaceIndex

type InterfaceIndex = interface_types.InterfaceIndex

type LinkDuplex

type LinkDuplex = interface_types.LinkDuplex

type MacAddress

type MacAddress = ethernet_types.MacAddress

type Mprefix

type Mprefix = ip_types.Mprefix

type MtuProto

type MtuProto = interface_types.MtuProto

type Prefix

type Prefix = ip_types.Prefix

type PrefixMatcher

type PrefixMatcher = ip_types.PrefixMatcher

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 RxMode

type RxMode = interface_types.RxMode

type SubIfFlags

type SubIfFlags = interface_types.SubIfFlags

type VssType

type VssType uint32

VssType represents VPP binary API enum 'vss_type'.

const (
	VSS_TYPE_API_ASCII   VssType = 0
	VSS_TYPE_API_VPN_ID  VssType = 1
	VSS_TYPE_API_INVALID VssType = 123
	VSS_TYPE_API_DEFAULT VssType = 255
)

func (VssType) String

func (x VssType) String() string

type WantDHCP6PdReplyEvents

type WantDHCP6PdReplyEvents struct {
	EnableDisable bool
	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