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
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- type DHCP6AddressInfo
- type DHCP6ClientsEnableDisable
- type DHCP6ClientsEnableDisableReply
- type DHCP6DuidLlSet
- type DHCP6DuidLlSetReply
- type DHCP6PdPrefixInfo
- type DHCP6PdReplyEvent
- type DHCP6PdSendClientMessage
- type DHCP6PdSendClientMessageReply
- type DHCP6ReplyEvent
- type DHCP6SendClientMessage
- type DHCP6SendClientMessageReply
- type DHCPClient
- type DHCPClientConfig
- type DHCPClientConfigReply
- type DHCPClientDetails
- type DHCPClientDump
- type DHCPClientState
- type DHCPComplEvent
- type DHCPLease
- type DHCPPluginControlPing
- type DHCPPluginControlPingReply
- type DHCPPluginGetVersion
- type DHCPPluginGetVersionReply
- type DHCPProxyConfig
- type DHCPProxyConfigReply
- type DHCPProxyDetails
- type DHCPProxyDump
- type DHCPProxySetVss
- type DHCPProxySetVssReply
- type DHCPServer
- type Dhcpv6MsgType
- type DomainServer
- type IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- type LinkDuplex
- type MacAddress
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_DumpDHCPClientClient
- type RPCService_DumpDHCPProxyClient
- type RxMode
- type SubIfFlags
- type VssType
- type WantDHCP6PdReplyEvents
- type WantDHCP6PdReplyEventsReply
- type WantDHCP6ReplyEvents
- type WantDHCP6ReplyEventsReply
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "dhcp" // VersionCrc is the CRC of this module. VersionCrc = 0x96a5f046 )
Variables ¶
var DHCPClientState_name = map[uint32]string{
1: "DHCP_CLIENT_STATE_API_DISCOVER",
2: "DHCP_CLIENT_STATE_API_REQUEST",
3: "DHCP_CLIENT_STATE_API_BOUND",
}
var DHCPClientState_value = map[string]uint32{
"DHCP_CLIENT_STATE_API_DISCOVER": 1,
"DHCP_CLIENT_STATE_API_REQUEST": 2,
"DHCP_CLIENT_STATE_API_BOUND": 3,
}
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",
}
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,
}
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",
}
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 ¶
Messages returns list of all messages in this module.
Types ¶
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) GetMessageType() api.MessageType
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 IP6Address ¶
type IP6Address = ip_types.IP6Address
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix
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 MtuProto ¶
type MtuProto = interface_types.MtuProto
type PrefixMatcher ¶
type PrefixMatcher = ip_types.PrefixMatcher
type RPCService ¶
type RPCService interface { DumpDHCPClient(ctx context.Context, in *DHCPClientDump) (RPCService_DumpDHCPClientClient, error) DumpDHCPProxy(ctx context.Context, in *DHCPProxyDump) (RPCService_DumpDHCPProxyClient, error) DHCP6ClientsEnableDisable(ctx context.Context, in *DHCP6ClientsEnableDisable) (*DHCP6ClientsEnableDisableReply, error) DHCP6DuidLlSet(ctx context.Context, in *DHCP6DuidLlSet) (*DHCP6DuidLlSetReply, error) DHCP6PdSendClientMessage(ctx context.Context, in *DHCP6PdSendClientMessage) (*DHCP6PdSendClientMessageReply, error) DHCP6SendClientMessage(ctx context.Context, in *DHCP6SendClientMessage) (*DHCP6SendClientMessageReply, error) DHCPClientConfig(ctx context.Context, in *DHCPClientConfig) (*DHCPClientConfigReply, error) DHCPPluginControlPing(ctx context.Context, in *DHCPPluginControlPing) (*DHCPPluginControlPingReply, error) DHCPPluginGetVersion(ctx context.Context, in *DHCPPluginGetVersion) (*DHCPPluginGetVersionReply, error) DHCPProxyConfig(ctx context.Context, in *DHCPProxyConfig) (*DHCPProxyConfigReply, error) DHCPProxySetVss(ctx context.Context, in *DHCPProxySetVss) (*DHCPProxySetVssReply, error) WantDHCP6PdReplyEvents(ctx context.Context, in *WantDHCP6PdReplyEvents) (*WantDHCP6PdReplyEventsReply, error) WantDHCP6ReplyEvents(ctx context.Context, in *WantDHCP6ReplyEvents) (*WantDHCP6ReplyEventsReply, error) }
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 WantDHCP6PdReplyEvents ¶
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 ¶
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()