Documentation ¶
Overview ¶
Package punt is a generated from VPP binary API module 'punt'. It contains following objects: 6 messages 3 services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Punt ¶
Punt represents VPP binary API message 'punt':
"punt", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_add" ], [ "u8", "ipv" ], [ "u8", "l4_protocol" ], [ "u16", "l4_port" ], { "crc": "0x37760008" }
func (*Punt) GetCrcString ¶
func (*Punt) GetMessageName ¶
func (*Punt) GetMessageType ¶
func (*Punt) GetMessageType() api.MessageType
type PuntReply ¶
type PuntReply struct {
Retval int32
}
PuntReply represents VPP binary API message 'punt_reply':
"punt_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*PuntReply) GetCrcString ¶
func (*PuntReply) GetMessageName ¶
func (*PuntReply) GetMessageType ¶
func (*PuntReply) GetMessageType() api.MessageType
type PuntSocketDeregister ¶
PuntSocketDeregister represents VPP binary API message 'punt_socket_deregister':
"punt_socket_deregister", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u8", "is_ip4" ], [ "u8", "l4_protocol" ], [ "u16", "l4_port" ], { "crc": "0x9846a4cc" }
func (*PuntSocketDeregister) GetCrcString ¶
func (*PuntSocketDeregister) GetCrcString() string
func (*PuntSocketDeregister) GetMessageName ¶
func (*PuntSocketDeregister) GetMessageName() string
func (*PuntSocketDeregister) GetMessageType ¶
func (*PuntSocketDeregister) GetMessageType() api.MessageType
type PuntSocketDeregisterReply ¶
type PuntSocketDeregisterReply struct {
Retval int32
}
PuntSocketDeregisterReply represents VPP binary API message 'punt_socket_deregister_reply':
"punt_socket_deregister_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], { "crc": "0xe8d4e804" }
func (*PuntSocketDeregisterReply) GetCrcString ¶
func (*PuntSocketDeregisterReply) GetCrcString() string
func (*PuntSocketDeregisterReply) GetMessageName ¶
func (*PuntSocketDeregisterReply) GetMessageName() string
func (*PuntSocketDeregisterReply) GetMessageType ¶
func (*PuntSocketDeregisterReply) GetMessageType() api.MessageType
type PuntSocketRegister ¶
type PuntSocketRegister struct { HeaderVersion uint32 IsIP4 uint8 L4Protocol uint8 L4Port uint16 Pathname []byte `struc:"[108]byte"` }
PuntSocketRegister represents VPP binary API message 'punt_socket_register':
"punt_socket_register", [ "u16", "_vl_msg_id" ], [ "u32", "client_index" ], [ "u32", "context" ], [ "u32", "header_version" ], [ "u8", "is_ip4" ], [ "u8", "l4_protocol" ], [ "u16", "l4_port" ], [ "u8", "pathname", 108 ], { "crc": "0xc163b363" }
func (*PuntSocketRegister) GetCrcString ¶
func (*PuntSocketRegister) GetCrcString() string
func (*PuntSocketRegister) GetMessageName ¶
func (*PuntSocketRegister) GetMessageName() string
func (*PuntSocketRegister) GetMessageType ¶
func (*PuntSocketRegister) GetMessageType() api.MessageType
type PuntSocketRegisterReply ¶
PuntSocketRegisterReply represents VPP binary API message 'punt_socket_register_reply':
"punt_socket_register_reply", [ "u16", "_vl_msg_id" ], [ "u32", "context" ], [ "i32", "retval" ], [ "u8", "pathname", 64 ], { "crc": "0x42dc0ee6" }
func (*PuntSocketRegisterReply) GetCrcString ¶
func (*PuntSocketRegisterReply) GetCrcString() string
func (*PuntSocketRegisterReply) GetMessageName ¶
func (*PuntSocketRegisterReply) GetMessageName() string
func (*PuntSocketRegisterReply) GetMessageType ¶
func (*PuntSocketRegisterReply) GetMessageType() api.MessageType
type Services ¶
type Services interface { Punt(*Punt) (*PuntReply, error) PuntSocketDeregister(*PuntSocketDeregister) (*PuntSocketDeregisterReply, error) PuntSocketRegister(*PuntSocketRegister) (*PuntSocketRegisterReply, error) }
Services represents VPP binary API services:
"services": { "punt": { "reply": "punt_reply" }, "punt_socket_deregister": { "reply": "punt_socket_deregister_reply" }, "punt_socket_register": { "reply": "punt_socket_register_reply" } },
Click to show internal directories.
Click to hide internal directories.