Documentation ¶
Overview ¶
Code generated by govpp binapi-generator DO NOT EDIT. Package acl represents the VPP binary API of the 'acl' VPP module. Generated from '/usr/share/vpp/api/acl.api.json'
Index ¶
- Constants
- Variables
- func ConfigACL(req *ACLAddReplace, ch *govpp.Channel) error
- func ConfigIfACL(ifACL *ACLInterfaceSetACLList, ch *govpp.Channel) error
- func DelACL(req *ACLDel, ch *govpp.Channel) error
- func DelIfACL(req *ACLInterfaceSetACLList, ch *govpp.Channel) error
- func NewACLAddReplace() api.Message
- func NewACLAddReplaceReply() api.Message
- func NewACLDel() api.Message
- func NewACLDelReply() api.Message
- func NewACLDetails() api.Message
- func NewACLDump() api.Message
- func NewACLInterfaceAddDel() api.Message
- func NewACLInterfaceAddDelReply() api.Message
- func NewACLInterfaceListDetails() api.Message
- func NewACLInterfaceListDump() api.Message
- func NewACLInterfaceSetACLList() api.Message
- func NewACLInterfaceSetACLListReply() api.Message
- func NewACLPluginControlPing() api.Message
- func NewACLPluginControlPingReply() api.Message
- func NewACLPluginGetVersion() api.Message
- func NewACLPluginGetVersionReply() api.Message
- func NewMacipACLAdd() api.Message
- func NewMacipACLAddReplace() api.Message
- func NewMacipACLAddReplaceReply() api.Message
- func NewMacipACLAddReply() api.Message
- func NewMacipACLDel() api.Message
- func NewMacipACLDelReply() api.Message
- func NewMacipACLDetails() api.Message
- func NewMacipACLDump() api.Message
- func NewMacipACLInterfaceAddDel() api.Message
- func NewMacipACLInterfaceAddDelReply() api.Message
- func NewMacipACLInterfaceGet() api.Message
- func NewMacipACLInterfaceGetReply() api.Message
- func NewMacipACLInterfaceListDetails() api.Message
- func NewMacipACLInterfaceListDump() api.Message
- type ACLAddReplace
- type ACLAddReplaceReply
- type ACLDel
- type ACLDelReply
- type ACLDetails
- type ACLDump
- type ACLInterfaceAddDel
- type ACLInterfaceAddDelReply
- type ACLInterfaceListDetails
- type ACLInterfaceListDump
- type ACLInterfaceSetACLList
- type ACLInterfaceSetACLListReply
- type ACLPluginControlPing
- type ACLPluginControlPingReply
- type ACLPluginGetVersion
- type ACLPluginGetVersionReply
- type ACLRule
- type MacipACLAdd
- type MacipACLAddReplace
- type MacipACLAddReplaceReply
- type MacipACLAddReply
- type MacipACLDel
- type MacipACLDelReply
- type MacipACLDetails
- type MacipACLDump
- type MacipACLInterfaceAddDel
- type MacipACLInterfaceAddDelReply
- type MacipACLInterfaceGet
- type MacipACLInterfaceGetReply
- type MacipACLInterfaceListDetails
- type MacipACLInterfaceListDump
- type MacipACLRule
Constants ¶
const VlAPIVersion = 0xd7a26377
VlApiVersion contains version of the API.
Variables ¶
var Consts = map[string]reflect.Value{ "VlAPIVersion": reflect.ValueOf(VlAPIVersion), }
var Functions = map[string]reflect.Value{ "ConfigACL": reflect.ValueOf(ConfigACL), "ConfigIfACL": reflect.ValueOf(ConfigIfACL), "DelACL": reflect.ValueOf(DelACL), "DelIfACL": reflect.ValueOf(DelIfACL), "DumpACL": reflect.ValueOf(DumpACL), "NewACLAddReplace": reflect.ValueOf(NewACLAddReplace), "NewACLAddReplaceReply": reflect.ValueOf(NewACLAddReplaceReply), "NewACLDel": reflect.ValueOf(NewACLDel), "NewACLDelReply": reflect.ValueOf(NewACLDelReply), "NewACLDetails": reflect.ValueOf(NewACLDetails), "NewACLDump": reflect.ValueOf(NewACLDump), "NewACLInterfaceAddDel": reflect.ValueOf(NewACLInterfaceAddDel), "NewACLInterfaceAddDelReply": reflect.ValueOf(NewACLInterfaceAddDelReply), "NewACLInterfaceListDetails": reflect.ValueOf(NewACLInterfaceListDetails), "NewACLInterfaceListDump": reflect.ValueOf(NewACLInterfaceListDump), "NewACLInterfaceSetACLList": reflect.ValueOf(NewACLInterfaceSetACLList), "NewACLInterfaceSetACLListReply": reflect.ValueOf(NewACLInterfaceSetACLListReply), "NewACLPluginControlPing": reflect.ValueOf(NewACLPluginControlPing), "NewACLPluginControlPingReply": reflect.ValueOf(NewACLPluginControlPingReply), "NewACLPluginGetVersion": reflect.ValueOf(NewACLPluginGetVersion), "NewACLPluginGetVersionReply": reflect.ValueOf(NewACLPluginGetVersionReply), "NewMacipACLAdd": reflect.ValueOf(NewMacipACLAdd), "NewMacipACLAddReplace": reflect.ValueOf(NewMacipACLAddReplace), "NewMacipACLAddReplaceReply": reflect.ValueOf(NewMacipACLAddReplaceReply), "NewMacipACLAddReply": reflect.ValueOf(NewMacipACLAddReply), "NewMacipACLDel": reflect.ValueOf(NewMacipACLDel), "NewMacipACLDelReply": reflect.ValueOf(NewMacipACLDelReply), "NewMacipACLDetails": reflect.ValueOf(NewMacipACLDetails), "NewMacipACLDump": reflect.ValueOf(NewMacipACLDump), "NewMacipACLInterfaceAddDel": reflect.ValueOf(NewMacipACLInterfaceAddDel), "NewMacipACLInterfaceAddDelReply": reflect.ValueOf(NewMacipACLInterfaceAddDelReply), "NewMacipACLInterfaceGet": reflect.ValueOf(NewMacipACLInterfaceGet), "NewMacipACLInterfaceGetReply": reflect.ValueOf(NewMacipACLInterfaceGetReply), "NewMacipACLInterfaceListDetails": reflect.ValueOf(NewMacipACLInterfaceListDetails), "NewMacipACLInterfaceListDump": reflect.ValueOf(NewMacipACLInterfaceListDump), }
var Types = map[string]reflect.Type{ "ACLAddReplace": reflect.TypeOf((*ACLAddReplace)(nil)).Elem(), "ACLAddReplaceReply": reflect.TypeOf((*ACLAddReplaceReply)(nil)).Elem(), "ACLDel": reflect.TypeOf((*ACLDel)(nil)).Elem(), "ACLDelReply": reflect.TypeOf((*ACLDelReply)(nil)).Elem(), "ACLDetails": reflect.TypeOf((*ACLDetails)(nil)).Elem(), "ACLDump": reflect.TypeOf((*ACLDump)(nil)).Elem(), "ACLInterfaceAddDel": reflect.TypeOf((*ACLInterfaceAddDel)(nil)).Elem(), "ACLInterfaceAddDelReply": reflect.TypeOf((*ACLInterfaceAddDelReply)(nil)).Elem(), "ACLInterfaceListDetails": reflect.TypeOf((*ACLInterfaceListDetails)(nil)).Elem(), "ACLInterfaceListDump": reflect.TypeOf((*ACLInterfaceListDump)(nil)).Elem(), "ACLInterfaceSetACLList": reflect.TypeOf((*ACLInterfaceSetACLList)(nil)).Elem(), "ACLInterfaceSetACLListReply": reflect.TypeOf((*ACLInterfaceSetACLListReply)(nil)).Elem(), "ACLPluginControlPing": reflect.TypeOf((*ACLPluginControlPing)(nil)).Elem(), "ACLPluginControlPingReply": reflect.TypeOf((*ACLPluginControlPingReply)(nil)).Elem(), "ACLPluginGetVersion": reflect.TypeOf((*ACLPluginGetVersion)(nil)).Elem(), "ACLPluginGetVersionReply": reflect.TypeOf((*ACLPluginGetVersionReply)(nil)).Elem(), "ACLRule": reflect.TypeOf((*ACLRule)(nil)).Elem(), "MacipACLAdd": reflect.TypeOf((*MacipACLAdd)(nil)).Elem(), "MacipACLAddReplace": reflect.TypeOf((*MacipACLAddReplace)(nil)).Elem(), "MacipACLAddReplaceReply": reflect.TypeOf((*MacipACLAddReplaceReply)(nil)).Elem(), "MacipACLAddReply": reflect.TypeOf((*MacipACLAddReply)(nil)).Elem(), "MacipACLDel": reflect.TypeOf((*MacipACLDel)(nil)).Elem(), "MacipACLDelReply": reflect.TypeOf((*MacipACLDelReply)(nil)).Elem(), "MacipACLDetails": reflect.TypeOf((*MacipACLDetails)(nil)).Elem(), "MacipACLDump": reflect.TypeOf((*MacipACLDump)(nil)).Elem(), "MacipACLInterfaceAddDel": reflect.TypeOf((*MacipACLInterfaceAddDel)(nil)).Elem(), "MacipACLInterfaceAddDelReply": reflect.TypeOf((*MacipACLInterfaceAddDelReply)(nil)).Elem(), "MacipACLInterfaceGet": reflect.TypeOf((*MacipACLInterfaceGet)(nil)).Elem(), "MacipACLInterfaceGetReply": reflect.TypeOf((*MacipACLInterfaceGetReply)(nil)).Elem(), "MacipACLInterfaceListDetails": reflect.TypeOf((*MacipACLInterfaceListDetails)(nil)).Elem(), "MacipACLInterfaceListDump": reflect.TypeOf((*MacipACLInterfaceListDump)(nil)).Elem(), "MacipACLRule": reflect.TypeOf((*MacipACLRule)(nil)).Elem(), }
var Variables = map[string]reflect.Value{}
Functions ¶
func ConfigACL ¶
func ConfigACL(req *ACLAddReplace, ch *govpp.Channel) error
ConfigACL executes VPP binary API "acl_add_replace".
func ConfigIfACL ¶
func ConfigIfACL(ifACL *ACLInterfaceSetACLList, ch *govpp.Channel) error
ConfigIfACL executes VPP binary API "acl_interface_set_acl_list".
func DelIfACL ¶
func DelIfACL(req *ACLInterfaceSetACLList, ch *govpp.Channel) error
DelIfACL executes VPP binary API "acl_interface_set_acl_list" to clear the list of ACLs associated with a given interface.
func NewACLAddReplace ¶
func NewACLAddReplaceReply ¶
func NewACLDelReply ¶
func NewACLDetails ¶
func NewACLDump ¶
func NewACLInterfaceAddDel ¶
func NewACLInterfaceListDump ¶
func NewACLPluginControlPing ¶ added in v1.0.3
func NewACLPluginControlPingReply ¶ added in v1.0.3
func NewACLPluginGetVersion ¶
func NewMacipACLAdd ¶
func NewMacipACLAddReplace ¶ added in v1.0.5
func NewMacipACLAddReplaceReply ¶ added in v1.0.5
func NewMacipACLAddReply ¶
func NewMacipACLDel ¶
func NewMacipACLDelReply ¶
func NewMacipACLDetails ¶
func NewMacipACLDump ¶
func NewMacipACLInterfaceGet ¶
func NewMacipACLInterfaceListDetails ¶ added in v1.0.3
func NewMacipACLInterfaceListDump ¶ added in v1.0.3
Types ¶
type ACLAddReplace ¶
type ACLAddReplace struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []ACLRule }
ACLAddReplace represents the VPP binary API message 'acl_add_replace'. Generated from '/usr/share/vpp/api/acl.api.json', line 57:
["acl_add_replace", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], ["u8", "tag", 64], ["u32", "count"], ["vl_api_acl_rule_t", "r", 0, "count"], {"crc" : "0x3c317936"} ],
func (*ACLAddReplace) GetCrcString ¶
func (*ACLAddReplace) GetCrcString() string
func (*ACLAddReplace) GetMessageName ¶
func (*ACLAddReplace) GetMessageName() string
func (*ACLAddReplace) GetMessageType ¶
func (*ACLAddReplace) GetMessageType() api.MessageType
type ACLAddReplaceReply ¶
ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 67:
["acl_add_replace_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "acl_index"], ["i32", "retval"], {"crc" : "0xa5e6d0cf"} ],
func (*ACLAddReplaceReply) GetCrcString ¶
func (*ACLAddReplaceReply) GetCrcString() string
func (*ACLAddReplaceReply) GetMessageName ¶
func (*ACLAddReplaceReply) GetMessageName() string
func (*ACLAddReplaceReply) GetMessageType ¶
func (*ACLAddReplaceReply) GetMessageType() api.MessageType
type ACLDel ¶
type ACLDel struct {
ACLIndex uint32
}
ACLDel represents the VPP binary API message 'acl_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 74:
["acl_del", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], {"crc" : "0x82cc30ed"} ],
func (*ACLDel) GetCrcString ¶
func (*ACLDel) GetMessageName ¶
func (*ACLDel) GetMessageType ¶
func (*ACLDel) GetMessageType() api.MessageType
type ACLDelReply ¶
type ACLDelReply struct {
Retval int32
}
ACLDelReply represents the VPP binary API message 'acl_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 81:
["acl_del_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0xbbb83d84"} ],
func (*ACLDelReply) GetCrcString ¶
func (*ACLDelReply) GetCrcString() string
func (*ACLDelReply) GetMessageName ¶
func (*ACLDelReply) GetMessageName() string
func (*ACLDelReply) GetMessageType ¶
func (*ACLDelReply) GetMessageType() api.MessageType
type ACLDetails ¶
type ACLDetails struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []ACLRule }
ACLDetails represents the VPP binary API message 'acl_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 126:
["acl_details", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "acl_index"], ["u8", "tag", 64], ["u32", "count"], ["vl_api_acl_rule_t", "r", 0, "count"], {"crc" : "0x1c8916b7"} ],
func DumpACL ¶
func DumpACL(ch *govpp.Channel) (*ACLDetails, error)
DumpACL executes VPP binary API "acl_details".
func (*ACLDetails) GetCrcString ¶
func (*ACLDetails) GetCrcString() string
func (*ACLDetails) GetMessageName ¶
func (*ACLDetails) GetMessageName() string
func (*ACLDetails) GetMessageType ¶
func (*ACLDetails) GetMessageType() api.MessageType
type ACLDump ¶
type ACLDump struct {
ACLIndex uint32
}
ACLDump represents the VPP binary API message 'acl_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 119:
["acl_dump", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], {"crc" : "0xc188156d"} ],
func (*ACLDump) GetCrcString ¶
func (*ACLDump) GetMessageName ¶
func (*ACLDump) GetMessageType ¶
func (*ACLDump) GetMessageType() api.MessageType
type ACLInterfaceAddDel ¶
ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 87:
["acl_interface_add_del", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u8", "is_add"], ["u8", "is_input"], ["u32", "sw_if_index"], ["u32", "acl_index"], {"crc" : "0x98b53725"} ],
func (*ACLInterfaceAddDel) GetCrcString ¶
func (*ACLInterfaceAddDel) GetCrcString() string
func (*ACLInterfaceAddDel) GetMessageName ¶
func (*ACLInterfaceAddDel) GetMessageName() string
func (*ACLInterfaceAddDel) GetMessageType ¶
func (*ACLInterfaceAddDel) GetMessageType() api.MessageType
type ACLInterfaceAddDelReply ¶
type ACLInterfaceAddDelReply struct {
Retval int32
}
ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 97:
["acl_interface_add_del_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0xc1b3c077"} ],
func (*ACLInterfaceAddDelReply) GetCrcString ¶
func (*ACLInterfaceAddDelReply) GetCrcString() string
func (*ACLInterfaceAddDelReply) GetMessageName ¶
func (*ACLInterfaceAddDelReply) GetMessageName() string
func (*ACLInterfaceAddDelReply) GetMessageType ¶
func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType
type ACLInterfaceListDetails ¶
type ACLInterfaceListDetails struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` NInput uint8 Acls []uint32 }
ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 142:
["acl_interface_list_details", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "sw_if_index"], ["u8", "count"], ["u8", "n_input"], ["u32", "acls", 0, "count"], {"crc" : "0xc8150656"} ],
func (*ACLInterfaceListDetails) GetCrcString ¶
func (*ACLInterfaceListDetails) GetCrcString() string
func (*ACLInterfaceListDetails) GetMessageName ¶
func (*ACLInterfaceListDetails) GetMessageName() string
func (*ACLInterfaceListDetails) GetMessageType ¶
func (*ACLInterfaceListDetails) GetMessageType() api.MessageType
type ACLInterfaceListDump ¶
type ACLInterfaceListDump struct {
SwIfIndex uint32
}
ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 135:
["acl_interface_list_dump", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "sw_if_index"], {"crc" : "0xadfe84b8"} ],
func (*ACLInterfaceListDump) GetCrcString ¶
func (*ACLInterfaceListDump) GetCrcString() string
func (*ACLInterfaceListDump) GetMessageName ¶
func (*ACLInterfaceListDump) GetMessageName() string
func (*ACLInterfaceListDump) GetMessageType ¶
func (*ACLInterfaceListDump) GetMessageType() api.MessageType
type ACLInterfaceSetACLList ¶
type ACLInterfaceSetACLList struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` NInput uint8 Acls []uint32 }
ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'. Generated from '/usr/share/vpp/api/acl.api.json', line 103:
["acl_interface_set_acl_list", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "sw_if_index"], ["u8", "count"], ["u8", "n_input"], ["u32", "acls", 0, "count"], {"crc" : "0x7562419c"} ],
func (*ACLInterfaceSetACLList) GetCrcString ¶
func (*ACLInterfaceSetACLList) GetCrcString() string
func (*ACLInterfaceSetACLList) GetMessageName ¶
func (*ACLInterfaceSetACLList) GetMessageName() string
func (*ACLInterfaceSetACLList) GetMessageType ¶
func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType
type ACLInterfaceSetACLListReply ¶
type ACLInterfaceSetACLListReply struct {
Retval int32
}
ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 113:
["acl_interface_set_acl_list_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0x435ddc2b"} ],
func (*ACLInterfaceSetACLListReply) GetCrcString ¶
func (*ACLInterfaceSetACLListReply) GetCrcString() string
func (*ACLInterfaceSetACLListReply) GetMessageName ¶
func (*ACLInterfaceSetACLListReply) GetMessageName() string
func (*ACLInterfaceSetACLListReply) GetMessageType ¶
func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType
type ACLPluginControlPing ¶ added in v1.0.3
type ACLPluginControlPing struct { }
ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'. Generated from '/usr/share/vpp/api/acl.api.json', line 43:
["acl_plugin_control_ping", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], {"crc" : "0xfc22c86e"} ],
func (*ACLPluginControlPing) GetCrcString ¶ added in v1.0.3
func (*ACLPluginControlPing) GetCrcString() string
func (*ACLPluginControlPing) GetMessageName ¶ added in v1.0.3
func (*ACLPluginControlPing) GetMessageName() string
func (*ACLPluginControlPing) GetMessageType ¶ added in v1.0.3
func (*ACLPluginControlPing) GetMessageType() api.MessageType
type ACLPluginControlPingReply ¶ added in v1.0.3
ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 49:
["acl_plugin_control_ping_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], ["u32", "client_index"], ["u32", "vpe_pid"], {"crc" : "0xe07e9231"} ],
func (*ACLPluginControlPingReply) GetCrcString ¶ added in v1.0.3
func (*ACLPluginControlPingReply) GetCrcString() string
func (*ACLPluginControlPingReply) GetMessageName ¶ added in v1.0.3
func (*ACLPluginControlPingReply) GetMessageName() string
func (*ACLPluginControlPingReply) GetMessageType ¶ added in v1.0.3
func (*ACLPluginControlPingReply) GetMessageType() api.MessageType
type ACLPluginGetVersion ¶
type ACLPluginGetVersion struct { }
ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'. Generated from '/usr/share/vpp/api/acl.api.json', line 30:
["acl_plugin_get_version", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], {"crc" : "0xd7c07748"} ],
func (*ACLPluginGetVersion) GetCrcString ¶
func (*ACLPluginGetVersion) GetCrcString() string
func (*ACLPluginGetVersion) GetMessageName ¶
func (*ACLPluginGetVersion) GetMessageName() string
func (*ACLPluginGetVersion) GetMessageType ¶
func (*ACLPluginGetVersion) GetMessageType() api.MessageType
type ACLPluginGetVersionReply ¶
ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 36:
["acl_plugin_get_version_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "major"], ["u32", "minor"], {"crc" : "0x43eb59a5"} ],
func (*ACLPluginGetVersionReply) GetCrcString ¶
func (*ACLPluginGetVersionReply) GetCrcString() string
func (*ACLPluginGetVersionReply) GetMessageName ¶
func (*ACLPluginGetVersionReply) GetMessageName() string
func (*ACLPluginGetVersionReply) GetMessageType ¶
func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType
type ACLRule ¶
type ACLRule struct { IsPermit uint8 IsIpv6 uint8 SrcIPAddr []byte `struc:"[16]byte"` SrcIPPrefixLen uint8 DstIPAddr []byte `struc:"[16]byte"` DstIPPrefixLen uint8 Proto uint8 SrcportOrIcmptypeFirst uint16 SrcportOrIcmptypeLast uint16 DstportOrIcmpcodeFirst uint16 DstportOrIcmpcodeLast uint16 TCPFlagsMask uint8 TCPFlagsValue uint8 }
ACLRule represents the VPP binary API data type 'acl_rule'. Generated from '/usr/share/vpp/api/acl.api.json', line 3:
["acl_rule", ["u8", "is_permit"], ["u8", "is_ipv6"], ["u8", "src_ip_addr", 16], ["u8", "src_ip_prefix_len"], ["u8", "dst_ip_addr", 16], ["u8", "dst_ip_prefix_len"], ["u8", "proto"], ["u16", "srcport_or_icmptype_first"], ["u16", "srcport_or_icmptype_last"], ["u16", "dstport_or_icmpcode_first"], ["u16", "dstport_or_icmpcode_last"], ["u8", "tcp_flags_mask"], ["u8", "tcp_flags_value"], {"crc" : "0x2715e1c0"} ],
func (*ACLRule) GetCrcString ¶
func (*ACLRule) GetTypeName ¶
type MacipACLAdd ¶
type MacipACLAdd struct { Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLAdd represents the VPP binary API message 'macip_acl_add'. Generated from '/usr/share/vpp/api/acl.api.json', line 151:
["macip_acl_add", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u8", "tag", 64], ["u32", "count"], ["vl_api_macip_acl_rule_t", "r", 0, "count"], {"crc" : "0x33356284"} ],
func (*MacipACLAdd) GetCrcString ¶
func (*MacipACLAdd) GetCrcString() string
func (*MacipACLAdd) GetMessageName ¶
func (*MacipACLAdd) GetMessageName() string
func (*MacipACLAdd) GetMessageType ¶
func (*MacipACLAdd) GetMessageType() api.MessageType
type MacipACLAddReplace ¶ added in v1.0.5
type MacipACLAddReplace struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLAddReplace represents the VPP binary API message 'macip_acl_add_replace'. Generated from '/usr/share/vpp/api/acl.api.json', line 167:
["macip_acl_add_replace", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], ["u8", "tag", 64], ["u32", "count"], ["vl_api_macip_acl_rule_t", "r", 0, "count"], {"crc" : "0xd6f92681"} ],
func (*MacipACLAddReplace) GetCrcString ¶ added in v1.0.5
func (*MacipACLAddReplace) GetCrcString() string
func (*MacipACLAddReplace) GetMessageName ¶ added in v1.0.5
func (*MacipACLAddReplace) GetMessageName() string
func (*MacipACLAddReplace) GetMessageType ¶ added in v1.0.5
func (*MacipACLAddReplace) GetMessageType() api.MessageType
type MacipACLAddReplaceReply ¶ added in v1.0.5
MacipACLAddReplaceReply represents the VPP binary API message 'macip_acl_add_replace_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 177:
["macip_acl_add_replace_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "acl_index"], ["i32", "retval"], {"crc" : "0x650701c2"} ],
func (*MacipACLAddReplaceReply) GetCrcString ¶ added in v1.0.5
func (*MacipACLAddReplaceReply) GetCrcString() string
func (*MacipACLAddReplaceReply) GetMessageName ¶ added in v1.0.5
func (*MacipACLAddReplaceReply) GetMessageName() string
func (*MacipACLAddReplaceReply) GetMessageType ¶ added in v1.0.5
func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType
type MacipACLAddReply ¶
MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 160:
["macip_acl_add_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "acl_index"], ["i32", "retval"], {"crc" : "0x472edb4c"} ],
func (*MacipACLAddReply) GetCrcString ¶
func (*MacipACLAddReply) GetCrcString() string
func (*MacipACLAddReply) GetMessageName ¶
func (*MacipACLAddReply) GetMessageName() string
func (*MacipACLAddReply) GetMessageType ¶
func (*MacipACLAddReply) GetMessageType() api.MessageType
type MacipACLDel ¶
type MacipACLDel struct {
ACLIndex uint32
}
MacipACLDel represents the VPP binary API message 'macip_acl_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 184:
["macip_acl_del", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], {"crc" : "0xdde1141f"} ],
func (*MacipACLDel) GetCrcString ¶
func (*MacipACLDel) GetCrcString() string
func (*MacipACLDel) GetMessageName ¶
func (*MacipACLDel) GetMessageName() string
func (*MacipACLDel) GetMessageType ¶
func (*MacipACLDel) GetMessageType() api.MessageType
type MacipACLDelReply ¶
type MacipACLDelReply struct {
Retval int32
}
MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 191:
["macip_acl_del_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0xeeb60e0f"} ],
func (*MacipACLDelReply) GetCrcString ¶
func (*MacipACLDelReply) GetCrcString() string
func (*MacipACLDelReply) GetMessageName ¶
func (*MacipACLDelReply) GetMessageName() string
func (*MacipACLDelReply) GetMessageType ¶
func (*MacipACLDelReply) GetMessageType() api.MessageType
type MacipACLDetails ¶
type MacipACLDetails struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLDetails represents the VPP binary API message 'macip_acl_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 219:
["macip_acl_details", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "acl_index"], ["u8", "tag", 64], ["u32", "count"], ["vl_api_macip_acl_rule_t", "r", 0, "count"], {"crc" : "0xee1c50db"} ],
func (*MacipACLDetails) GetCrcString ¶
func (*MacipACLDetails) GetCrcString() string
func (*MacipACLDetails) GetMessageName ¶
func (*MacipACLDetails) GetMessageName() string
func (*MacipACLDetails) GetMessageType ¶
func (*MacipACLDetails) GetMessageType() api.MessageType
type MacipACLDump ¶
type MacipACLDump struct {
ACLIndex uint32
}
MacipACLDump represents the VPP binary API message 'macip_acl_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 212:
["macip_acl_dump", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "acl_index"], {"crc" : "0xd38227cb"} ],
func (*MacipACLDump) GetCrcString ¶
func (*MacipACLDump) GetCrcString() string
func (*MacipACLDump) GetMessageName ¶
func (*MacipACLDump) GetMessageName() string
func (*MacipACLDump) GetMessageType ¶
func (*MacipACLDump) GetMessageType() api.MessageType
type MacipACLInterfaceAddDel ¶
MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 197:
["macip_acl_interface_add_del", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u8", "is_add"], ["u32", "sw_if_index"], ["u32", "acl_index"], {"crc" : "0x03a4fab2"} ],
func (*MacipACLInterfaceAddDel) GetCrcString ¶
func (*MacipACLInterfaceAddDel) GetCrcString() string
func (*MacipACLInterfaceAddDel) GetMessageName ¶
func (*MacipACLInterfaceAddDel) GetMessageName() string
func (*MacipACLInterfaceAddDel) GetMessageType ¶
func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType
type MacipACLInterfaceAddDelReply ¶
type MacipACLInterfaceAddDelReply struct {
Retval int32
}
MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 206:
["macip_acl_interface_add_del_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["i32", "retval"], {"crc" : "0x9e9ee485"} ],
func (*MacipACLInterfaceAddDelReply) GetCrcString ¶
func (*MacipACLInterfaceAddDelReply) GetCrcString() string
func (*MacipACLInterfaceAddDelReply) GetMessageName ¶
func (*MacipACLInterfaceAddDelReply) GetMessageName() string
func (*MacipACLInterfaceAddDelReply) GetMessageType ¶
func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType
type MacipACLInterfaceGet ¶
type MacipACLInterfaceGet struct { }
MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'. Generated from '/usr/share/vpp/api/acl.api.json', line 228:
["macip_acl_interface_get", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], {"crc" : "0x317ce31c"} ],
func (*MacipACLInterfaceGet) GetCrcString ¶
func (*MacipACLInterfaceGet) GetCrcString() string
func (*MacipACLInterfaceGet) GetMessageName ¶
func (*MacipACLInterfaceGet) GetMessageName() string
func (*MacipACLInterfaceGet) GetMessageType ¶
func (*MacipACLInterfaceGet) GetMessageType() api.MessageType
type MacipACLInterfaceGetReply ¶
MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 234:
["macip_acl_interface_get_reply", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "count"], ["u32", "acls", 0, "count"], {"crc" : "0x6c86a56c"} ],
func (*MacipACLInterfaceGetReply) GetCrcString ¶
func (*MacipACLInterfaceGetReply) GetCrcString() string
func (*MacipACLInterfaceGetReply) GetMessageName ¶
func (*MacipACLInterfaceGetReply) GetMessageName() string
func (*MacipACLInterfaceGetReply) GetMessageType ¶
func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType
type MacipACLInterfaceListDetails ¶ added in v1.0.3
type MacipACLInterfaceListDetails struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` Acls []uint32 }
MacipACLInterfaceListDetails represents the VPP binary API message 'macip_acl_interface_list_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 248:
["macip_acl_interface_list_details", ["u16", "_vl_msg_id"], ["u32", "context"], ["u32", "sw_if_index"], ["u8", "count"], ["u32", "acls", 0, "count"], {"crc" : "0xd38dc074"} ]
func (*MacipACLInterfaceListDetails) GetCrcString ¶ added in v1.0.3
func (*MacipACLInterfaceListDetails) GetCrcString() string
func (*MacipACLInterfaceListDetails) GetMessageName ¶ added in v1.0.3
func (*MacipACLInterfaceListDetails) GetMessageName() string
func (*MacipACLInterfaceListDetails) GetMessageType ¶ added in v1.0.3
func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType
type MacipACLInterfaceListDump ¶ added in v1.0.3
type MacipACLInterfaceListDump struct {
SwIfIndex uint32
}
MacipACLInterfaceListDump represents the VPP binary API message 'macip_acl_interface_list_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 241:
["macip_acl_interface_list_dump", ["u16", "_vl_msg_id"], ["u32", "client_index"], ["u32", "context"], ["u32", "sw_if_index"], {"crc" : "0x10645403"} ],
func (*MacipACLInterfaceListDump) GetCrcString ¶ added in v1.0.3
func (*MacipACLInterfaceListDump) GetCrcString() string
func (*MacipACLInterfaceListDump) GetMessageName ¶ added in v1.0.3
func (*MacipACLInterfaceListDump) GetMessageName() string
func (*MacipACLInterfaceListDump) GetMessageType ¶ added in v1.0.3
func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType
type MacipACLRule ¶
type MacipACLRule struct { IsPermit uint8 IsIpv6 uint8 SrcMac []byte `struc:"[6]byte"` SrcMacMask []byte `struc:"[6]byte"` SrcIPAddr []byte `struc:"[16]byte"` SrcIPPrefixLen uint8 }
MacipACLRule represents the VPP binary API data type 'macip_acl_rule'. Generated from '/usr/share/vpp/api/acl.api.json', line 19:
["macip_acl_rule", ["u8", "is_permit"], ["u8", "is_ipv6"], ["u8", "src_mac", 6], ["u8", "src_mac_mask", 6], ["u8", "src_ip_addr", 16], ["u8", "src_ip_prefix_len"], {"crc" : "0x6723f13e"} ]
func (*MacipACLRule) GetCrcString ¶
func (*MacipACLRule) GetCrcString() string
func (*MacipACLRule) GetTypeName ¶
func (*MacipACLRule) GetTypeName() string