dhcp

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package dhcp represents the VPP binary API of the 'dhcp' VPP module. Generated from '/usr/share/vpp/api/dhcp.api.json'

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{
	"NewDhcpClientConfig":      reflect.ValueOf(NewDhcpClientConfig),
	"NewDhcpClientConfigReply": reflect.ValueOf(NewDhcpClientConfigReply),
	"NewDhcpComplEvent":        reflect.ValueOf(NewDhcpComplEvent),
	"NewDhcpProxyConfig":       reflect.ValueOf(NewDhcpProxyConfig),
	"NewDhcpProxyConfigReply":  reflect.ValueOf(NewDhcpProxyConfigReply),
	"NewDhcpProxyDetails":      reflect.ValueOf(NewDhcpProxyDetails),
	"NewDhcpProxyDump":         reflect.ValueOf(NewDhcpProxyDump),
	"NewDhcpProxySetVss":       reflect.ValueOf(NewDhcpProxySetVss),
	"NewDhcpProxySetVssReply":  reflect.ValueOf(NewDhcpProxySetVssReply),
}
View Source
var Types = map[string]reflect.Type{
	"DhcpClientConfig":      reflect.TypeOf((*DhcpClientConfig)(nil)).Elem(),
	"DhcpClientConfigReply": reflect.TypeOf((*DhcpClientConfigReply)(nil)).Elem(),
	"DhcpComplEvent":        reflect.TypeOf((*DhcpComplEvent)(nil)).Elem(),
	"DhcpProxyConfig":       reflect.TypeOf((*DhcpProxyConfig)(nil)).Elem(),
	"DhcpProxyConfigReply":  reflect.TypeOf((*DhcpProxyConfigReply)(nil)).Elem(),
	"DhcpProxyDetails":      reflect.TypeOf((*DhcpProxyDetails)(nil)).Elem(),
	"DhcpProxyDump":         reflect.TypeOf((*DhcpProxyDump)(nil)).Elem(),
	"DhcpProxySetVss":       reflect.TypeOf((*DhcpProxySetVss)(nil)).Elem(),
	"DhcpProxySetVssReply":  reflect.TypeOf((*DhcpProxySetVssReply)(nil)).Elem(),
	"DhcpServer":            reflect.TypeOf((*DhcpServer)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewDhcpClientConfig

func NewDhcpClientConfig() api.Message

func NewDhcpClientConfigReply

func NewDhcpClientConfigReply() api.Message

func NewDhcpComplEvent

func NewDhcpComplEvent() api.Message

func NewDhcpProxyConfig

func NewDhcpProxyConfig() api.Message

func NewDhcpProxyConfigReply

func NewDhcpProxyConfigReply() api.Message

func NewDhcpProxyDetails

func NewDhcpProxyDetails() api.Message

func NewDhcpProxyDump

func NewDhcpProxyDump() api.Message

func NewDhcpProxySetVss

func NewDhcpProxySetVss() api.Message

func NewDhcpProxySetVssReply

func NewDhcpProxySetVssReply() api.Message

Types

type DhcpClientConfig

type DhcpClientConfig struct {
	SwIfIndex        uint32
	Hostname         []byte `struc:"[64]byte"`
	ClientID         []byte `struc:"[64]byte"`
	IsAdd            uint8
	WantDhcpEvent    uint8
	SetBroadcastFlag uint8
	Pid              uint32
}

DhcpClientConfig represents the VPP binary API message 'dhcp_client_config'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 151:

"dhcp_client_config",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "hostname",
    64
],
[
    "u8",
    "client_id",
    64
],
[
    "u8",
    "is_add"
],
[
    "u8",
    "want_dhcp_event"
],
[
    "u8",
    "set_broadcast_flag"
],
[
    "u32",
    "pid"
],
{
    "crc": "0x652052aa"
}

func (*DhcpClientConfig) GetCrcString

func (*DhcpClientConfig) GetCrcString() string

func (*DhcpClientConfig) GetMessageName

func (*DhcpClientConfig) GetMessageName() string

func (*DhcpClientConfig) GetMessageType

func (*DhcpClientConfig) GetMessageType() api.MessageType

type DhcpClientConfigReply

type DhcpClientConfigReply struct {
	Retval int32
}

DhcpClientConfigReply represents the VPP binary API message 'dhcp_client_config_reply'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 199:

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

func (*DhcpClientConfigReply) GetCrcString

func (*DhcpClientConfigReply) GetCrcString() string

func (*DhcpClientConfigReply) GetMessageName

func (*DhcpClientConfigReply) GetMessageName() string

func (*DhcpClientConfigReply) GetMessageType

func (*DhcpClientConfigReply) GetMessageType() api.MessageType

type DhcpComplEvent

type DhcpComplEvent struct {
	Pid           uint32
	Hostname      []byte `struc:"[64]byte"`
	IsIpv6        uint8
	MaskWidth     uint8
	HostAddress   []byte `struc:"[16]byte"`
	RouterAddress []byte `struc:"[16]byte"`
	HostMac       []byte `struc:"[6]byte"`
}

DhcpComplEvent represents the VPP binary API message 'dhcp_compl_event'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 217:

"dhcp_compl_event",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "pid"
],
[
    "u8",
    "hostname",
    64
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "mask_width"
],
[
    "u8",
    "host_address",
    16
],
[
    "u8",
    "router_address",
    16
],
[
    "u8",
    "host_mac",
    6
],
{
    "crc": "0x28c60f01"
}

func (*DhcpComplEvent) GetCrcString

func (*DhcpComplEvent) GetCrcString() string

func (*DhcpComplEvent) GetMessageName

func (*DhcpComplEvent) GetMessageName() string

func (*DhcpComplEvent) GetMessageType

func (*DhcpComplEvent) GetMessageType() api.MessageType

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 the VPP binary API message 'dhcp_proxy_config'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 24:

"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

func (*DhcpProxyConfig) GetCrcString() string

func (*DhcpProxyConfig) GetMessageName

func (*DhcpProxyConfig) GetMessageName() string

func (*DhcpProxyConfig) GetMessageType

func (*DhcpProxyConfig) GetMessageType() api.MessageType

type DhcpProxyConfigReply

type DhcpProxyConfigReply struct {
	Retval int32
}

DhcpProxyConfigReply represents the VPP binary API message 'dhcp_proxy_config_reply'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 68:

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

func (*DhcpProxyConfigReply) GetCrcString

func (*DhcpProxyConfigReply) GetCrcString() string

func (*DhcpProxyConfigReply) GetMessageName

func (*DhcpProxyConfigReply) GetMessageName() string

func (*DhcpProxyConfigReply) GetMessageType

func (*DhcpProxyConfigReply) GetMessageType() api.MessageType

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 the VPP binary API message 'dhcp_proxy_details'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 285:

"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

func (*DhcpProxyDetails) GetCrcString() string

func (*DhcpProxyDetails) GetMessageName

func (*DhcpProxyDetails) GetMessageName() string

func (*DhcpProxyDetails) GetMessageType

func (*DhcpProxyDetails) GetMessageType() api.MessageType

type DhcpProxyDump

type DhcpProxyDump struct {
	IsIP6 uint8
}

DhcpProxyDump represents the VPP binary API message 'dhcp_proxy_dump'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 263:

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

func (*DhcpProxyDump) GetCrcString

func (*DhcpProxyDump) GetCrcString() string

func (*DhcpProxyDump) GetMessageName

func (*DhcpProxyDump) GetMessageName() string

func (*DhcpProxyDump) GetMessageType

func (*DhcpProxyDump) GetMessageType() api.MessageType

type DhcpProxySetVss

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'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 86:

"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

func (*DhcpProxySetVss) GetCrcString() string

func (*DhcpProxySetVss) GetMessageName

func (*DhcpProxySetVss) GetMessageName() string

func (*DhcpProxySetVss) GetMessageType

func (*DhcpProxySetVss) GetMessageType() api.MessageType

type DhcpProxySetVssReply

type DhcpProxySetVssReply struct {
	Retval int32
}

DhcpProxySetVssReply represents the VPP binary API message 'dhcp_proxy_set_vss_reply'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 133:

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

func (*DhcpProxySetVssReply) GetCrcString

func (*DhcpProxySetVssReply) GetCrcString() string

func (*DhcpProxySetVssReply) GetMessageName

func (*DhcpProxySetVssReply) GetMessageName() string

func (*DhcpProxySetVssReply) GetMessageType

func (*DhcpProxySetVssReply) GetMessageType() api.MessageType

type DhcpServer

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

DhcpServer represents the VPP binary API data type 'dhcp_server'. Generated from '/usr/share/vpp/api/dhcp.api.json', line 55:

"dhcp_server",
16

func (*DhcpServer) GetCrcString

func (*DhcpServer) GetCrcString() string

func (*DhcpServer) GetTypeName

func (*DhcpServer) GetTypeName() string

Jump to

Keyboard shortcuts

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