dhcp

package
v1.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

 It contains following objects:
	 25 messages
	  5 types
	 11 services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DHCP6AddressInfo added in v1.8.1

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

DHCP6AddressInfo represents the VPP binary API type 'dhcp6_address_info'.

"dhcp6_address_info",
[
    "u8",
    "address",
    16
],
[
    "u32",
    "valid_time"
],
[
    "u32",
    "preferred_time"
],
{
    "crc": "0xf3d501e2"
}

func (*DHCP6AddressInfo) GetCrcString added in v1.8.1

func (*DHCP6AddressInfo) GetCrcString() string

func (*DHCP6AddressInfo) GetTypeName added in v1.8.1

func (*DHCP6AddressInfo) GetTypeName() string

type DHCP6ClientsEnableDisable added in v1.8.1

type DHCP6ClientsEnableDisable struct {
	Enable uint8
}

DHCP6ClientsEnableDisable represents the VPP binary API message 'dhcp6_clients_enable_disable'.

"dhcp6_clients_enable_disable",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "enable"
],
{
    "crc": "0x8050327d"
}

func (*DHCP6ClientsEnableDisable) GetCrcString added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetCrcString() string

func (*DHCP6ClientsEnableDisable) GetMessageName added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetMessageName() string

func (*DHCP6ClientsEnableDisable) GetMessageType added in v1.8.1

func (*DHCP6ClientsEnableDisable) GetMessageType() api.MessageType

type DHCP6ClientsEnableDisableReply added in v1.8.1

type DHCP6ClientsEnableDisableReply struct {
	Retval int32
}

DHCP6ClientsEnableDisableReply represents the VPP binary API message 'dhcp6_clients_enable_disable_reply'.

"dhcp6_clients_enable_disable_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCP6ClientsEnableDisableReply) GetCrcString added in v1.8.1

func (*DHCP6ClientsEnableDisableReply) GetCrcString() string

func (*DHCP6ClientsEnableDisableReply) GetMessageName added in v1.8.1

func (*DHCP6ClientsEnableDisableReply) GetMessageName() string

func (*DHCP6ClientsEnableDisableReply) GetMessageType added in v1.8.1

type DHCP6DuidLlSet added in v1.8.1

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

DHCP6DuidLlSet represents the VPP binary API message 'dhcp6_duid_ll_set'.

"dhcp6_duid_ll_set",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "duid_ll",
    10
],
{
    "crc": "0x0f6ca323"
}

func (*DHCP6DuidLlSet) GetCrcString added in v1.8.1

func (*DHCP6DuidLlSet) GetCrcString() string

func (*DHCP6DuidLlSet) GetMessageName added in v1.8.1

func (*DHCP6DuidLlSet) GetMessageName() string

func (*DHCP6DuidLlSet) GetMessageType added in v1.8.1

func (*DHCP6DuidLlSet) GetMessageType() api.MessageType

type DHCP6DuidLlSetReply added in v1.8.1

type DHCP6DuidLlSetReply struct {
	Retval int32
}

DHCP6DuidLlSetReply represents the VPP binary API message 'dhcp6_duid_ll_set_reply'.

"dhcp6_duid_ll_set_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCP6DuidLlSetReply) GetCrcString added in v1.8.1

func (*DHCP6DuidLlSetReply) GetCrcString() string

func (*DHCP6DuidLlSetReply) GetMessageName added in v1.8.1

func (*DHCP6DuidLlSetReply) GetMessageName() string

func (*DHCP6DuidLlSetReply) GetMessageType added in v1.8.1

func (*DHCP6DuidLlSetReply) GetMessageType() api.MessageType

type DHCP6PdPrefixInfo added in v1.8.1

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

DHCP6PdPrefixInfo represents the VPP binary API type 'dhcp6_pd_prefix_info'.

"dhcp6_pd_prefix_info",
[
    "u8",
    "prefix",
    16
],
[
    "u8",
    "prefix_length"
],
[
    "u32",
    "valid_time"
],
[
    "u32",
    "preferred_time"
],
{
    "crc": "0xc459690e"
}

func (*DHCP6PdPrefixInfo) GetCrcString added in v1.8.1

func (*DHCP6PdPrefixInfo) GetCrcString() string

func (*DHCP6PdPrefixInfo) GetTypeName added in v1.8.1

func (*DHCP6PdPrefixInfo) GetTypeName() string

type DHCP6PdReplyEvent added in v1.8.1

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 the VPP binary API message 'dhcp6_pd_reply_event'.

"dhcp6_pd_reply_event",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "pid"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "server_index"
],
[
    "u8",
    "msg_type"
],
[
    "u32",
    "T1"
],
[
    "u32",
    "T2"
],
[
    "u16",
    "inner_status_code"
],
[
    "u16",
    "status_code"
],
[
    "u8",
    "preference"
],
[
    "u32",
    "n_prefixes"
],
[
    "vl_api_dhcp6_pd_prefix_info_t",
    "prefixes",
    0,
    "n_prefixes"
],
{
    "crc": "0x48e73c36"
}

func (*DHCP6PdReplyEvent) GetCrcString added in v1.8.1

func (*DHCP6PdReplyEvent) GetCrcString() string

func (*DHCP6PdReplyEvent) GetMessageName added in v1.8.1

func (*DHCP6PdReplyEvent) GetMessageName() string

func (*DHCP6PdReplyEvent) GetMessageType added in v1.8.1

func (*DHCP6PdReplyEvent) GetMessageType() api.MessageType

type DHCP6PdSendClientMessage added in v1.8.1

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 the VPP binary API message 'dhcp6_pd_send_client_message'.

"dhcp6_pd_send_client_message",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "server_index"
],
[
    "u32",
    "irt"
],
[
    "u32",
    "mrt"
],
[
    "u32",
    "mrc"
],
[
    "u32",
    "mrd"
],
[
    "u8",
    "stop"
],
[
    "u8",
    "msg_type"
],
[
    "u32",
    "T1"
],
[
    "u32",
    "T2"
],
[
    "u32",
    "n_prefixes"
],
[
    "vl_api_dhcp6_pd_prefix_info_t",
    "prefixes",
    0,
    "n_prefixes"
],
{
    "crc": "0x5a063fbc"
}

func (*DHCP6PdSendClientMessage) GetCrcString added in v1.8.1

func (*DHCP6PdSendClientMessage) GetCrcString() string

func (*DHCP6PdSendClientMessage) GetMessageName added in v1.8.1

func (*DHCP6PdSendClientMessage) GetMessageName() string

func (*DHCP6PdSendClientMessage) GetMessageType added in v1.8.1

func (*DHCP6PdSendClientMessage) GetMessageType() api.MessageType

type DHCP6PdSendClientMessageReply added in v1.8.1

type DHCP6PdSendClientMessageReply struct {
	Retval int32
}

DHCP6PdSendClientMessageReply represents the VPP binary API message 'dhcp6_pd_send_client_message_reply'.

"dhcp6_pd_send_client_message_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCP6PdSendClientMessageReply) GetCrcString added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetCrcString() string

func (*DHCP6PdSendClientMessageReply) GetMessageName added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetMessageName() string

func (*DHCP6PdSendClientMessageReply) GetMessageType added in v1.8.1

func (*DHCP6PdSendClientMessageReply) GetMessageType() api.MessageType

type DHCP6ReplyEvent added in v1.8.1

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 the VPP binary API message 'dhcp6_reply_event'.

"dhcp6_reply_event",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "pid"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "server_index"
],
[
    "u8",
    "msg_type"
],
[
    "u32",
    "T1"
],
[
    "u32",
    "T2"
],
[
    "u16",
    "inner_status_code"
],
[
    "u16",
    "status_code"
],
[
    "u8",
    "preference"
],
[
    "u32",
    "n_addresses"
],
[
    "vl_api_dhcp6_address_info_t",
    "addresses",
    0,
    "n_addresses"
],
{
    "crc": "0xac4563f9"
}

func (*DHCP6ReplyEvent) GetCrcString added in v1.8.1

func (*DHCP6ReplyEvent) GetCrcString() string

func (*DHCP6ReplyEvent) GetMessageName added in v1.8.1

func (*DHCP6ReplyEvent) GetMessageName() string

func (*DHCP6ReplyEvent) GetMessageType added in v1.8.1

func (*DHCP6ReplyEvent) GetMessageType() api.MessageType

type DHCP6SendClientMessage added in v1.8.1

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 the VPP binary API message 'dhcp6_send_client_message'.

"dhcp6_send_client_message",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "server_index"
],
[
    "u32",
    "irt"
],
[
    "u32",
    "mrt"
],
[
    "u32",
    "mrc"
],
[
    "u32",
    "mrd"
],
[
    "u8",
    "stop"
],
[
    "u8",
    "msg_type"
],
[
    "u32",
    "T1"
],
[
    "u32",
    "T2"
],
[
    "u32",
    "n_addresses"
],
[
    "vl_api_dhcp6_address_info_t",
    "addresses",
    0,
    "n_addresses"
],
{
    "crc": "0xa13ae8c4"
}

func (*DHCP6SendClientMessage) GetCrcString added in v1.8.1

func (*DHCP6SendClientMessage) GetCrcString() string

func (*DHCP6SendClientMessage) GetMessageName added in v1.8.1

func (*DHCP6SendClientMessage) GetMessageName() string

func (*DHCP6SendClientMessage) GetMessageType added in v1.8.1

func (*DHCP6SendClientMessage) GetMessageType() api.MessageType

type DHCP6SendClientMessageReply added in v1.8.1

type DHCP6SendClientMessageReply struct {
	Retval int32
}

DHCP6SendClientMessageReply represents the VPP binary API message 'dhcp6_send_client_message_reply'.

"dhcp6_send_client_message_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCP6SendClientMessageReply) GetCrcString added in v1.8.1

func (*DHCP6SendClientMessageReply) GetCrcString() string

func (*DHCP6SendClientMessageReply) GetMessageName added in v1.8.1

func (*DHCP6SendClientMessageReply) GetMessageName() string

func (*DHCP6SendClientMessageReply) GetMessageType added in v1.8.1

func (*DHCP6SendClientMessageReply) GetMessageType() api.MessageType

type DHCPClient added in v1.8.1

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

DHCPClient represents the VPP binary API type 'dhcp_client'.

"dhcp_client",
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "hostname",
    64
],
[
    "u8",
    "id",
    64
],
[
    "u8",
    "want_dhcp_event"
],
[
    "u8",
    "set_broadcast_flag"
],
[
    "u32",
    "pid"
],
{
    "crc": "0x527f7935"
}

func (*DHCPClient) GetCrcString added in v1.8.1

func (*DHCPClient) GetCrcString() string

func (*DHCPClient) GetTypeName added in v1.8.1

func (*DHCPClient) GetTypeName() string

type DHCPClientConfig added in v1.8.1

type DHCPClientConfig struct {
	IsAdd  uint8
	Client DHCPClient
}

DHCPClientConfig represents the VPP binary API message 'dhcp_client_config'.

"dhcp_client_config",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_add"
],
[
    "vl_api_dhcp_client_t",
    "client"
],
{
    "crc": "0xc32ccdfe"
}

func (*DHCPClientConfig) GetCrcString added in v1.8.1

func (*DHCPClientConfig) GetCrcString() string

func (*DHCPClientConfig) GetMessageName added in v1.8.1

func (*DHCPClientConfig) GetMessageName() string

func (*DHCPClientConfig) GetMessageType added in v1.8.1

func (*DHCPClientConfig) GetMessageType() api.MessageType

type DHCPClientConfigReply added in v1.8.1

type DHCPClientConfigReply struct {
	Retval int32
}

DHCPClientConfigReply represents the VPP binary API message 'dhcp_client_config_reply'.

"dhcp_client_config_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCPClientConfigReply) GetCrcString added in v1.8.1

func (*DHCPClientConfigReply) GetCrcString() string

func (*DHCPClientConfigReply) GetMessageName added in v1.8.1

func (*DHCPClientConfigReply) GetMessageName() string

func (*DHCPClientConfigReply) GetMessageType added in v1.8.1

func (*DHCPClientConfigReply) GetMessageType() api.MessageType

type DHCPClientDetails added in v1.8.1

type DHCPClientDetails struct {
	Client DHCPClient
	Lease  DHCPLease
}

DHCPClientDetails represents the VPP binary API message 'dhcp_client_details'.

"dhcp_client_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "vl_api_dhcp_client_t",
    "client"
],
[
    "vl_api_dhcp_lease_t",
    "lease"
],
{
    "crc": "0x7ea3a745"
}

func (*DHCPClientDetails) GetCrcString added in v1.8.1

func (*DHCPClientDetails) GetCrcString() string

func (*DHCPClientDetails) GetMessageName added in v1.8.1

func (*DHCPClientDetails) GetMessageName() string

func (*DHCPClientDetails) GetMessageType added in v1.8.1

func (*DHCPClientDetails) GetMessageType() api.MessageType

type DHCPClientDump added in v1.8.1

type DHCPClientDump struct{}

DHCPClientDump represents the VPP binary API message 'dhcp_client_dump'.

"dhcp_client_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

func (*DHCPClientDump) GetCrcString added in v1.8.1

func (*DHCPClientDump) GetCrcString() string

func (*DHCPClientDump) GetMessageName added in v1.8.1

func (*DHCPClientDump) GetMessageName() string

func (*DHCPClientDump) GetMessageType added in v1.8.1

func (*DHCPClientDump) GetMessageType() api.MessageType

type DHCPComplEvent added in v1.8.1

type DHCPComplEvent struct {
	PID   uint32
	Lease DHCPLease
}

DHCPComplEvent represents the VPP binary API message 'dhcp_compl_event'.

"dhcp_compl_event",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "pid"
],
[
    "vl_api_dhcp_lease_t",
    "lease"
],
{
    "crc": "0x2105c31b"
}

func (*DHCPComplEvent) GetCrcString added in v1.8.1

func (*DHCPComplEvent) GetCrcString() string

func (*DHCPComplEvent) GetMessageName added in v1.8.1

func (*DHCPComplEvent) GetMessageName() string

func (*DHCPComplEvent) GetMessageType added in v1.8.1

func (*DHCPComplEvent) GetMessageType() api.MessageType

type DHCPLease added in v1.8.1

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"`
}

DHCPLease represents the VPP binary API type 'dhcp_lease'.

"dhcp_lease",
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "state"
],
[
    "u8",
    "hostname",
    64
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "mask_width"
],
[
    "u8",
    "host_address",
    16
],
[
    "u8",
    "router_address",
    16
],
[
    "u8",
    "host_mac",
    6
],
{
    "crc": "0x61090276"
}

func (*DHCPLease) GetCrcString added in v1.8.1

func (*DHCPLease) GetCrcString() string

func (*DHCPLease) GetTypeName added in v1.8.1

func (*DHCPLease) GetTypeName() string

type DHCPProxyConfig added in v1.8.1

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

DHCPProxyConfig represents the VPP binary API message 'dhcp_proxy_config'.

"dhcp_proxy_config",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "rx_vrf_id"
],
[
    "u32",
    "server_vrf_id"
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "is_add"
],
[
    "u8",
    "dhcp_server",
    16
],
[
    "u8",
    "dhcp_src_address",
    16
],
{
    "crc": "0x6af4b645"
}

func (*DHCPProxyConfig) GetCrcString added in v1.8.1

func (*DHCPProxyConfig) GetCrcString() string

func (*DHCPProxyConfig) GetMessageName added in v1.8.1

func (*DHCPProxyConfig) GetMessageName() string

func (*DHCPProxyConfig) GetMessageType added in v1.8.1

func (*DHCPProxyConfig) GetMessageType() api.MessageType

type DHCPProxyConfigReply added in v1.8.1

type DHCPProxyConfigReply struct {
	Retval int32
}

DHCPProxyConfigReply represents the VPP binary API message 'dhcp_proxy_config_reply'.

"dhcp_proxy_config_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCPProxyConfigReply) GetCrcString added in v1.8.1

func (*DHCPProxyConfigReply) GetCrcString() string

func (*DHCPProxyConfigReply) GetMessageName added in v1.8.1

func (*DHCPProxyConfigReply) GetMessageName() string

func (*DHCPProxyConfigReply) GetMessageType added in v1.8.1

func (*DHCPProxyConfigReply) GetMessageType() api.MessageType

type DHCPProxyDetails added in v1.8.1

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 the VPP binary API message 'dhcp_proxy_details'.

"dhcp_proxy_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "rx_vrf_id"
],
[
    "u32",
    "vss_oui"
],
[
    "u32",
    "vss_fib_id"
],
[
    "u8",
    "vss_type"
],
[
    "u8",
    "vss_vpn_ascii_id",
    129
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "dhcp_src_address",
    16
],
[
    "u8",
    "count"
],
[
    "vl_api_dhcp_server_t",
    "servers",
    0,
    "count"
],
{
    "crc": "0xa5f2ad84"
}

func (*DHCPProxyDetails) GetCrcString added in v1.8.1

func (*DHCPProxyDetails) GetCrcString() string

func (*DHCPProxyDetails) GetMessageName added in v1.8.1

func (*DHCPProxyDetails) GetMessageName() string

func (*DHCPProxyDetails) GetMessageType added in v1.8.1

func (*DHCPProxyDetails) GetMessageType() api.MessageType

type DHCPProxyDump added in v1.8.1

type DHCPProxyDump struct {
	IsIP6 uint8
}

DHCPProxyDump represents the VPP binary API message 'dhcp_proxy_dump'.

"dhcp_proxy_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_ip6"
],
{
    "crc": "0x6fe91190"
}

func (*DHCPProxyDump) GetCrcString added in v1.8.1

func (*DHCPProxyDump) GetCrcString() string

func (*DHCPProxyDump) GetMessageName added in v1.8.1

func (*DHCPProxyDump) GetMessageName() string

func (*DHCPProxyDump) GetMessageType added in v1.8.1

func (*DHCPProxyDump) GetMessageType() api.MessageType

type DHCPProxySetVss added in v1.8.1

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

DHCPProxySetVss represents the VPP binary API message 'dhcp_proxy_set_vss'.

"dhcp_proxy_set_vss",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "tbl_id"
],
[
    "u8",
    "vss_type"
],
[
    "u8",
    "vpn_ascii_id",
    129
],
[
    "u32",
    "oui"
],
[
    "u32",
    "vpn_index"
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "is_add"
],
{
    "crc": "0x606535aa"
}

func (*DHCPProxySetVss) GetCrcString added in v1.8.1

func (*DHCPProxySetVss) GetCrcString() string

func (*DHCPProxySetVss) GetMessageName added in v1.8.1

func (*DHCPProxySetVss) GetMessageName() string

func (*DHCPProxySetVss) GetMessageType added in v1.8.1

func (*DHCPProxySetVss) GetMessageType() api.MessageType

type DHCPProxySetVssReply added in v1.8.1

type DHCPProxySetVssReply struct {
	Retval int32
}

DHCPProxySetVssReply represents the VPP binary API message 'dhcp_proxy_set_vss_reply'.

"dhcp_proxy_set_vss_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*DHCPProxySetVssReply) GetCrcString added in v1.8.1

func (*DHCPProxySetVssReply) GetCrcString() string

func (*DHCPProxySetVssReply) GetMessageName added in v1.8.1

func (*DHCPProxySetVssReply) GetMessageName() string

func (*DHCPProxySetVssReply) GetMessageType added in v1.8.1

func (*DHCPProxySetVssReply) GetMessageType() api.MessageType

type DHCPServer added in v1.8.1

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

DHCPServer represents the VPP binary API type 'dhcp_server'.

"dhcp_server",
[
    "u32",
    "server_vrf_id"
],
[
    "u8",
    "dhcp_server",
    16
],
{
    "crc": "0xf16506c4"
}

func (*DHCPServer) GetCrcString added in v1.8.1

func (*DHCPServer) GetCrcString() string

func (*DHCPServer) GetTypeName added in v1.8.1

func (*DHCPServer) GetTypeName() string

type Services added in v1.8.1

type Services interface {
	DumpDHCPClient(*DHCPClientDump) (*DHCPClientDetails, error)
	DumpDHCPProxy(*DHCPProxyDump) (*DHCPProxyDetails, error)
	DHCP6ClientsEnableDisable(*DHCP6ClientsEnableDisable) (*DHCP6ClientsEnableDisableReply, error)
	DHCP6DuidLlSet(*DHCP6DuidLlSet) (*DHCP6DuidLlSetReply, error)
	DHCP6PdSendClientMessage(*DHCP6PdSendClientMessage) (*DHCP6PdSendClientMessageReply, error)
	DHCP6SendClientMessage(*DHCP6SendClientMessage) (*DHCP6SendClientMessageReply, error)
	DHCPClientConfig(*DHCPClientConfig) (*DHCPClientConfigReply, error)
	DHCPProxyConfig(*DHCPProxyConfig) (*DHCPProxyConfigReply, error)
	DHCPProxySetVss(*DHCPProxySetVss) (*DHCPProxySetVssReply, error)
	WantDHCP6PdReplyEvents(*WantDHCP6PdReplyEvents) (*WantDHCP6PdReplyEventsReply, error)
	WantDHCP6ReplyEvents(*WantDHCP6ReplyEvents) (*WantDHCP6ReplyEventsReply, error)
}

type WantDHCP6PdReplyEvents added in v1.8.1

type WantDHCP6PdReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6PdReplyEvents represents the VPP binary API message 'want_dhcp6_pd_reply_events'.

"want_dhcp6_pd_reply_events",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "enable_disable"
],
[
    "u32",
    "pid"
],
{
    "crc": "0x05b454b5"
}

func (*WantDHCP6PdReplyEvents) GetCrcString added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetCrcString() string

func (*WantDHCP6PdReplyEvents) GetMessageName added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetMessageName() string

func (*WantDHCP6PdReplyEvents) GetMessageType added in v1.8.1

func (*WantDHCP6PdReplyEvents) GetMessageType() api.MessageType

type WantDHCP6PdReplyEventsReply added in v1.8.1

type WantDHCP6PdReplyEventsReply struct {
	Retval int32
}

WantDHCP6PdReplyEventsReply represents the VPP binary API message 'want_dhcp6_pd_reply_events_reply'.

"want_dhcp6_pd_reply_events_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*WantDHCP6PdReplyEventsReply) GetCrcString added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetCrcString() string

func (*WantDHCP6PdReplyEventsReply) GetMessageName added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetMessageName() string

func (*WantDHCP6PdReplyEventsReply) GetMessageType added in v1.8.1

func (*WantDHCP6PdReplyEventsReply) GetMessageType() api.MessageType

type WantDHCP6ReplyEvents added in v1.8.1

type WantDHCP6ReplyEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantDHCP6ReplyEvents represents the VPP binary API message 'want_dhcp6_reply_events'.

"want_dhcp6_reply_events",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "enable_disable"
],
[
    "u32",
    "pid"
],
{
    "crc": "0x05b454b5"
}

func (*WantDHCP6ReplyEvents) GetCrcString added in v1.8.1

func (*WantDHCP6ReplyEvents) GetCrcString() string

func (*WantDHCP6ReplyEvents) GetMessageName added in v1.8.1

func (*WantDHCP6ReplyEvents) GetMessageName() string

func (*WantDHCP6ReplyEvents) GetMessageType added in v1.8.1

func (*WantDHCP6ReplyEvents) GetMessageType() api.MessageType

type WantDHCP6ReplyEventsReply added in v1.8.1

type WantDHCP6ReplyEventsReply struct {
	Retval int32
}

WantDHCP6ReplyEventsReply represents the VPP binary API message 'want_dhcp6_reply_events_reply'.

"want_dhcp6_reply_events_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*WantDHCP6ReplyEventsReply) GetCrcString added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetCrcString() string

func (*WantDHCP6ReplyEventsReply) GetMessageName added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetMessageName() string

func (*WantDHCP6ReplyEventsReply) GetMessageType added in v1.8.1

func (*WantDHCP6ReplyEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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