Documentation
¶
Overview ¶
Package ip represents the VPP binary API of the 'ip' VPP module. DO NOT EDIT. Generated from '/usr/share/vpp/api/ip.api.json'
Index ¶
- Constants
- Variables
- func NewIP6FibDetails() api.Message
- func NewIP6FibDump() api.Message
- func NewIP6MfibDetails() api.Message
- func NewIP6MfibDump() api.Message
- func NewIP6ndProxyAddDel() api.Message
- func NewIP6ndProxyAddDelReply() api.Message
- func NewIP6ndProxyDetails() api.Message
- func NewIP6ndProxyDump() api.Message
- func NewIPAddDelRoute() api.Message
- func NewIPAddDelRouteReply() api.Message
- func NewIPAddressDetails() api.Message
- func NewIPAddressDump() api.Message
- func NewIPDetails() api.Message
- func NewIPDump() api.Message
- func NewIPFibDetails() api.Message
- func NewIPFibDump() api.Message
- func NewIPMfibDetails() api.Message
- func NewIPMfibDump() api.Message
- func NewIPMrouteAddDel() api.Message
- func NewIPMrouteAddDelReply() api.Message
- func NewIPNeighborAddDel() api.Message
- func NewIPNeighborAddDelReply() api.Message
- func NewIPNeighborDetails() api.Message
- func NewIPNeighborDump() api.Message
- func NewIPTableAddDel() api.Message
- func NewIPTableAddDelReply() api.Message
- func NewMfibSignalDetails() api.Message
- func NewMfibSignalDump() api.Message
- func NewSetIPFlowHash() api.Message
- func NewSetIPFlowHashReply() api.Message
- func NewSwInterfaceIP6EnableDisable() api.Message
- func NewSwInterfaceIP6EnableDisableReply() api.Message
- func NewSwInterfaceIP6SetLinkLocalAddress() api.Message
- func NewSwInterfaceIP6SetLinkLocalAddressReply() api.Message
- func NewSwInterfaceIP6ndRaConfig() api.Message
- func NewSwInterfaceIP6ndRaConfigReply() api.Message
- func NewSwInterfaceIP6ndRaPrefix() api.Message
- func NewSwInterfaceIP6ndRaPrefixReply() api.Message
- type FibPath
- type IP6FibDetails
- type IP6FibDump
- type IP6MfibDetails
- type IP6MfibDump
- type IP6ndProxyAddDel
- type IP6ndProxyAddDelReply
- type IP6ndProxyDetails
- type IP6ndProxyDump
- type IPAddDelRoute
- type IPAddDelRouteReply
- type IPAddressDetails
- type IPAddressDump
- type IPDetails
- type IPDump
- type IPFibDetails
- type IPFibDump
- type IPMfibDetails
- type IPMfibDump
- type IPMrouteAddDel
- type IPMrouteAddDelReply
- type IPNeighborAddDel
- type IPNeighborAddDelReply
- type IPNeighborDetails
- type IPNeighborDump
- type IPTableAddDel
- type IPTableAddDelReply
- type MfibSignalDetails
- type MfibSignalDump
- type SetIPFlowHash
- type SetIPFlowHashReply
- type SwInterfaceIP6EnableDisable
- type SwInterfaceIP6EnableDisableReply
- type SwInterfaceIP6SetLinkLocalAddress
- type SwInterfaceIP6SetLinkLocalAddressReply
- type SwInterfaceIP6ndRaConfig
- type SwInterfaceIP6ndRaConfigReply
- type SwInterfaceIP6ndRaPrefix
- type SwInterfaceIP6ndRaPrefixReply
Constants ¶
const VlAPIVersion = 0x3e4696de
VlApiVersion contains version of the API.
Variables ¶
var Functions = map[string]reflect.Value{ "NewIP6FibDetails": reflect.ValueOf(NewIP6FibDetails), "NewIP6FibDump": reflect.ValueOf(NewIP6FibDump), "NewIP6MfibDetails": reflect.ValueOf(NewIP6MfibDetails), "NewIP6MfibDump": reflect.ValueOf(NewIP6MfibDump), "NewIP6ndProxyAddDel": reflect.ValueOf(NewIP6ndProxyAddDel), "NewIP6ndProxyAddDelReply": reflect.ValueOf(NewIP6ndProxyAddDelReply), "NewIP6ndProxyDetails": reflect.ValueOf(NewIP6ndProxyDetails), "NewIP6ndProxyDump": reflect.ValueOf(NewIP6ndProxyDump), "NewIPAddDelRoute": reflect.ValueOf(NewIPAddDelRoute), "NewIPAddDelRouteReply": reflect.ValueOf(NewIPAddDelRouteReply), "NewIPAddressDetails": reflect.ValueOf(NewIPAddressDetails), "NewIPAddressDump": reflect.ValueOf(NewIPAddressDump), "NewIPDetails": reflect.ValueOf(NewIPDetails), "NewIPDump": reflect.ValueOf(NewIPDump), "NewIPFibDetails": reflect.ValueOf(NewIPFibDetails), "NewIPFibDump": reflect.ValueOf(NewIPFibDump), "NewIPMfibDetails": reflect.ValueOf(NewIPMfibDetails), "NewIPMfibDump": reflect.ValueOf(NewIPMfibDump), "NewIPMrouteAddDel": reflect.ValueOf(NewIPMrouteAddDel), "NewIPMrouteAddDelReply": reflect.ValueOf(NewIPMrouteAddDelReply), "NewIPNeighborAddDel": reflect.ValueOf(NewIPNeighborAddDel), "NewIPNeighborAddDelReply": reflect.ValueOf(NewIPNeighborAddDelReply), "NewIPNeighborDetails": reflect.ValueOf(NewIPNeighborDetails), "NewIPNeighborDump": reflect.ValueOf(NewIPNeighborDump), "NewIPTableAddDel": reflect.ValueOf(NewIPTableAddDel), "NewIPTableAddDelReply": reflect.ValueOf(NewIPTableAddDelReply), "NewMfibSignalDetails": reflect.ValueOf(NewMfibSignalDetails), "NewMfibSignalDump": reflect.ValueOf(NewMfibSignalDump), "NewSetIPFlowHash": reflect.ValueOf(NewSetIPFlowHash), "NewSetIPFlowHashReply": reflect.ValueOf(NewSetIPFlowHashReply), "NewSwInterfaceIP6EnableDisable": reflect.ValueOf(NewSwInterfaceIP6EnableDisable), "NewSwInterfaceIP6EnableDisableReply": reflect.ValueOf(NewSwInterfaceIP6EnableDisableReply), "NewSwInterfaceIP6SetLinkLocalAddress": reflect.ValueOf(NewSwInterfaceIP6SetLinkLocalAddress), "NewSwInterfaceIP6SetLinkLocalAddressReply": reflect.ValueOf(NewSwInterfaceIP6SetLinkLocalAddressReply), "NewSwInterfaceIP6ndRaConfig": reflect.ValueOf(NewSwInterfaceIP6ndRaConfig), "NewSwInterfaceIP6ndRaConfigReply": reflect.ValueOf(NewSwInterfaceIP6ndRaConfigReply), "NewSwInterfaceIP6ndRaPrefix": reflect.ValueOf(NewSwInterfaceIP6ndRaPrefix), "NewSwInterfaceIP6ndRaPrefixReply": reflect.ValueOf(NewSwInterfaceIP6ndRaPrefixReply), }
var Types = map[string]reflect.Type{ "FibPath": reflect.TypeOf((*FibPath)(nil)).Elem(), "IP6FibDetails": reflect.TypeOf((*IP6FibDetails)(nil)).Elem(), "IP6FibDump": reflect.TypeOf((*IP6FibDump)(nil)).Elem(), "IP6MfibDetails": reflect.TypeOf((*IP6MfibDetails)(nil)).Elem(), "IP6MfibDump": reflect.TypeOf((*IP6MfibDump)(nil)).Elem(), "IP6ndProxyAddDel": reflect.TypeOf((*IP6ndProxyAddDel)(nil)).Elem(), "IP6ndProxyAddDelReply": reflect.TypeOf((*IP6ndProxyAddDelReply)(nil)).Elem(), "IP6ndProxyDetails": reflect.TypeOf((*IP6ndProxyDetails)(nil)).Elem(), "IP6ndProxyDump": reflect.TypeOf((*IP6ndProxyDump)(nil)).Elem(), "IPAddDelRoute": reflect.TypeOf((*IPAddDelRoute)(nil)).Elem(), "IPAddDelRouteReply": reflect.TypeOf((*IPAddDelRouteReply)(nil)).Elem(), "IPAddressDetails": reflect.TypeOf((*IPAddressDetails)(nil)).Elem(), "IPAddressDump": reflect.TypeOf((*IPAddressDump)(nil)).Elem(), "IPDetails": reflect.TypeOf((*IPDetails)(nil)).Elem(), "IPDump": reflect.TypeOf((*IPDump)(nil)).Elem(), "IPFibDetails": reflect.TypeOf((*IPFibDetails)(nil)).Elem(), "IPFibDump": reflect.TypeOf((*IPFibDump)(nil)).Elem(), "IPMfibDetails": reflect.TypeOf((*IPMfibDetails)(nil)).Elem(), "IPMfibDump": reflect.TypeOf((*IPMfibDump)(nil)).Elem(), "IPMrouteAddDel": reflect.TypeOf((*IPMrouteAddDel)(nil)).Elem(), "IPMrouteAddDelReply": reflect.TypeOf((*IPMrouteAddDelReply)(nil)).Elem(), "IPNeighborAddDel": reflect.TypeOf((*IPNeighborAddDel)(nil)).Elem(), "IPNeighborAddDelReply": reflect.TypeOf((*IPNeighborAddDelReply)(nil)).Elem(), "IPNeighborDetails": reflect.TypeOf((*IPNeighborDetails)(nil)).Elem(), "IPNeighborDump": reflect.TypeOf((*IPNeighborDump)(nil)).Elem(), "IPTableAddDel": reflect.TypeOf((*IPTableAddDel)(nil)).Elem(), "IPTableAddDelReply": reflect.TypeOf((*IPTableAddDelReply)(nil)).Elem(), "MfibSignalDetails": reflect.TypeOf((*MfibSignalDetails)(nil)).Elem(), "MfibSignalDump": reflect.TypeOf((*MfibSignalDump)(nil)).Elem(), "SetIPFlowHash": reflect.TypeOf((*SetIPFlowHash)(nil)).Elem(), "SetIPFlowHashReply": reflect.TypeOf((*SetIPFlowHashReply)(nil)).Elem(), "SwInterfaceIP6EnableDisable": reflect.TypeOf((*SwInterfaceIP6EnableDisable)(nil)).Elem(), "SwInterfaceIP6EnableDisableReply": reflect.TypeOf((*SwInterfaceIP6EnableDisableReply)(nil)).Elem(), "SwInterfaceIP6SetLinkLocalAddress": reflect.TypeOf((*SwInterfaceIP6SetLinkLocalAddress)(nil)).Elem(), "SwInterfaceIP6SetLinkLocalAddressReply": reflect.TypeOf((*SwInterfaceIP6SetLinkLocalAddressReply)(nil)).Elem(), "SwInterfaceIP6ndRaConfig": reflect.TypeOf((*SwInterfaceIP6ndRaConfig)(nil)).Elem(), "SwInterfaceIP6ndRaConfigReply": reflect.TypeOf((*SwInterfaceIP6ndRaConfigReply)(nil)).Elem(), "SwInterfaceIP6ndRaPrefix": reflect.TypeOf((*SwInterfaceIP6ndRaPrefix)(nil)).Elem(), "SwInterfaceIP6ndRaPrefixReply": reflect.TypeOf((*SwInterfaceIP6ndRaPrefixReply)(nil)).Elem(), }
Functions ¶
func NewSwInterfaceIP6SetLinkLocalAddressReply ¶
Types ¶
type FibPath ¶
type FibPath struct {
SwIfIndex uint32
Weight uint8
Preference uint8
IsLocal uint8
IsDrop uint8
IsUnreach uint8
IsProhibit uint8
Afi uint8
NextHop []byte `struc:"[16]byte"`
}
FibPath represents the VPP binary API data type 'fib_path'. Generated from '/usr/share/vpp/api/ip.api.json', line 3:
["fib_path",
["u32", "sw_if_index"],
["u8", "weight"],
["u8", "preference"],
["u8", "is_local"],
["u8", "is_drop"],
["u8", "is_unreach"],
["u8", "is_prohibit"],
["u8", "afi"],
["u8", "next_hop", 16],
{"crc" : "0x39f4808f"}
]
type IP6FibDetails ¶
type IP6FibDetails struct {
TableID uint32
AddressLength uint8
Address []byte `struc:"[16]byte"`
Count uint32 `struc:"sizeof=Path"`
Path []FibPath
}
IP6FibDetails represents the VPP binary API message 'ip6_fib_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 54:
["ip6_fib_details",
["u16", "_vl_msg_id"],
["u32", "context"],
["u32", "table_id"],
["u8", "address_length"],
["u8", "address", 16],
["u32", "count"],
["vl_api_fib_path_t", "path", 0, "count"],
{"crc" : "0xe0825cb5"}
],
func (*IP6FibDetails) GetCrcString ¶
func (*IP6FibDetails) GetCrcString() string
func (*IP6FibDetails) GetMessageName ¶
func (*IP6FibDetails) GetMessageName() string
func (*IP6FibDetails) GetMessageType ¶
func (*IP6FibDetails) GetMessageType() api.MessageType
type IP6FibDump ¶
type IP6FibDump struct {
}
IP6FibDump represents the VPP binary API message 'ip6_fib_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 48:
["ip6_fib_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0x25c89676"}
],
func (*IP6FibDump) GetCrcString ¶
func (*IP6FibDump) GetCrcString() string
func (*IP6FibDump) GetMessageName ¶
func (*IP6FibDump) GetMessageName() string
func (*IP6FibDump) GetMessageType ¶
func (*IP6FibDump) GetMessageType() api.MessageType
type IP6MfibDetails ¶
type IP6MfibDetails struct {
TableID uint32
AddressLength uint8
GrpAddress []byte `struc:"[16]byte"`
SrcAddress []byte `struc:"[16]byte"`
Count uint32 `struc:"sizeof=Path"`
Path []FibPath
}
IP6MfibDetails represents the VPP binary API message 'ip6_mfib_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 311:
["ip6_mfib_details",
["u16", "_vl_msg_id"],
["u32", "context"],
["u32", "table_id"],
["u8", "address_length"],
["u8", "grp_address", 16],
["u8", "src_address", 16],
["u32", "count"],
["vl_api_fib_path_t", "path", 0, "count"],
{"crc" : "0x921b153f"}
],
func (*IP6MfibDetails) GetCrcString ¶
func (*IP6MfibDetails) GetCrcString() string
func (*IP6MfibDetails) GetMessageName ¶
func (*IP6MfibDetails) GetMessageName() string
func (*IP6MfibDetails) GetMessageType ¶
func (*IP6MfibDetails) GetMessageType() api.MessageType
type IP6MfibDump ¶
type IP6MfibDump struct {
}
IP6MfibDump represents the VPP binary API message 'ip6_mfib_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 305:
["ip6_mfib_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0x0839e143"}
],
func (*IP6MfibDump) GetCrcString ¶
func (*IP6MfibDump) GetCrcString() string
func (*IP6MfibDump) GetMessageName ¶
func (*IP6MfibDump) GetMessageName() string
func (*IP6MfibDump) GetMessageType ¶
func (*IP6MfibDump) GetMessageType() api.MessageType
type IP6ndProxyAddDel ¶
IP6ndProxyAddDel represents the VPP binary API message 'ip6nd_proxy_add_del'. Generated from '/usr/share/vpp/api/ip.api.json', line 169:
["ip6nd_proxy_add_del",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "is_del"],
["u8", "address", 16],
{"crc" : "0xc56f802d"}
],
func (*IP6ndProxyAddDel) GetCrcString ¶
func (*IP6ndProxyAddDel) GetCrcString() string
func (*IP6ndProxyAddDel) GetMessageName ¶
func (*IP6ndProxyAddDel) GetMessageName() string
func (*IP6ndProxyAddDel) GetMessageType ¶
func (*IP6ndProxyAddDel) GetMessageType() api.MessageType
type IP6ndProxyAddDelReply ¶
type IP6ndProxyAddDelReply struct {
Retval int32
}
IP6ndProxyAddDelReply represents the VPP binary API message 'ip6nd_proxy_add_del_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 178:
["ip6nd_proxy_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x00ddc2d5"}
],
func (*IP6ndProxyAddDelReply) GetCrcString ¶
func (*IP6ndProxyAddDelReply) GetCrcString() string
func (*IP6ndProxyAddDelReply) GetMessageName ¶
func (*IP6ndProxyAddDelReply) GetMessageName() string
func (*IP6ndProxyAddDelReply) GetMessageType ¶
func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType
type IP6ndProxyDetails ¶
IP6ndProxyDetails represents the VPP binary API message 'ip6nd_proxy_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 184:
["ip6nd_proxy_details",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "address", 16],
{"crc" : "0xf805ccc1"}
],
func (*IP6ndProxyDetails) GetCrcString ¶
func (*IP6ndProxyDetails) GetCrcString() string
func (*IP6ndProxyDetails) GetMessageName ¶
func (*IP6ndProxyDetails) GetMessageName() string
func (*IP6ndProxyDetails) GetMessageType ¶
func (*IP6ndProxyDetails) GetMessageType() api.MessageType
type IP6ndProxyDump ¶
type IP6ndProxyDump struct {
}
IP6ndProxyDump represents the VPP binary API message 'ip6nd_proxy_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 192:
["ip6nd_proxy_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0x21597d88"}
],
func (*IP6ndProxyDump) GetCrcString ¶
func (*IP6ndProxyDump) GetCrcString() string
func (*IP6ndProxyDump) GetMessageName ¶
func (*IP6ndProxyDump) GetMessageName() string
func (*IP6ndProxyDump) GetMessageType ¶
func (*IP6ndProxyDump) GetMessageType() api.MessageType
type IPAddDelRoute ¶
type IPAddDelRoute struct {
NextHopSwIfIndex uint32
TableID uint32
ClassifyTableIndex uint32
NextHopTableID uint32
CreateVrfIfNeeded uint8
IsAdd uint8
IsDrop uint8
IsUnreach uint8
IsProhibit uint8
IsIpv6 uint8
IsLocal uint8
IsClassify uint8
IsMultipath uint8
IsResolveHost uint8
IsResolveAttached uint8
NotLast uint8
NextHopWeight uint8
NextHopPreference uint8
DstAddressLength uint8
DstAddress []byte `struc:"[16]byte"`
NextHopAddress []byte `struc:"[16]byte"`
NextHopNOutLabels uint8 `struc:"sizeof=NextHopOutLabelStack"`
NextHopViaLabel uint32
NextHopOutLabelStack []uint32
}
IPAddDelRoute represents the VPP binary API message 'ip_add_del_route'. Generated from '/usr/share/vpp/api/ip.api.json', line 226:
["ip_add_del_route",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "next_hop_sw_if_index"],
["u32", "table_id"],
["u32", "classify_table_index"],
["u32", "next_hop_table_id"],
["u8", "create_vrf_if_needed"],
["u8", "is_add"],
["u8", "is_drop"],
["u8", "is_unreach"],
["u8", "is_prohibit"],
["u8", "is_ipv6"],
["u8", "is_local"],
["u8", "is_classify"],
["u8", "is_multipath"],
["u8", "is_resolve_host"],
["u8", "is_resolve_attached"],
["u8", "not_last"],
["u8", "next_hop_weight"],
["u8", "next_hop_preference"],
["u8", "dst_address_length"],
["u8", "dst_address", 16],
["u8", "next_hop_address", 16],
["u8", "next_hop_n_out_labels"],
["u32", "next_hop_via_label"],
["u32", "next_hop_out_label_stack", 0, "next_hop_n_out_labels"],
{"crc" : "0x93e81ee6"}
],
func (*IPAddDelRoute) GetCrcString ¶
func (*IPAddDelRoute) GetCrcString() string
func (*IPAddDelRoute) GetMessageName ¶
func (*IPAddDelRoute) GetMessageName() string
func (*IPAddDelRoute) GetMessageType ¶
func (*IPAddDelRoute) GetMessageType() api.MessageType
type IPAddDelRouteReply ¶
type IPAddDelRouteReply struct {
Retval int32
}
IPAddDelRouteReply represents the VPP binary API message 'ip_add_del_route_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 256:
["ip_add_del_route_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xea57492b"}
],
func (*IPAddDelRouteReply) GetCrcString ¶
func (*IPAddDelRouteReply) GetCrcString() string
func (*IPAddDelRouteReply) GetMessageName ¶
func (*IPAddDelRouteReply) GetMessageName() string
func (*IPAddDelRouteReply) GetMessageType ¶
func (*IPAddDelRouteReply) GetMessageType() api.MessageType
type IPAddressDetails ¶
type IPAddressDetails struct {
IP []byte `struc:"[16]byte"`
PrefixLength uint8
SwIfIndex uint32
IsIpv6 uint8
}
IPAddressDetails represents the VPP binary API message 'ip_address_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 322:
["ip_address_details",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u8", "ip", 16],
["u8", "prefix_length"],
["u32", "sw_if_index"],
["u8", "is_ipv6"],
{"crc" : "0x190d4266"}
],
func (*IPAddressDetails) GetCrcString ¶
func (*IPAddressDetails) GetCrcString() string
func (*IPAddressDetails) GetMessageName ¶
func (*IPAddressDetails) GetMessageName() string
func (*IPAddressDetails) GetMessageType ¶
func (*IPAddressDetails) GetMessageType() api.MessageType
type IPAddressDump ¶
IPAddressDump represents the VPP binary API message 'ip_address_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 332:
["ip_address_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "is_ipv6"],
{"crc" : "0x632e859a"}
],
func (*IPAddressDump) GetCrcString ¶
func (*IPAddressDump) GetCrcString() string
func (*IPAddressDump) GetMessageName ¶
func (*IPAddressDump) GetMessageName() string
func (*IPAddressDump) GetMessageType ¶
func (*IPAddressDump) GetMessageType() api.MessageType
type IPDetails ¶
IPDetails represents the VPP binary API message 'ip_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 340:
["ip_details",
["u16", "_vl_msg_id"],
["u32", "sw_if_index"],
["u32", "context"],
["u8", "is_ipv6"],
{"crc" : "0x695c8227"}
],
func (*IPDetails) GetMessageType ¶
func (*IPDetails) GetMessageType() api.MessageType
type IPDump ¶
type IPDump struct {
IsIpv6 uint8
}
IPDump represents the VPP binary API message 'ip_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 347:
["ip_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u8", "is_ipv6"],
{"crc" : "0x3c1e33e0"}
],
func (*IPDump) GetMessageType ¶
func (*IPDump) GetMessageType() api.MessageType
type IPFibDetails ¶
type IPFibDetails struct {
TableID uint32
AddressLength uint8
Address []byte `struc:"[4]byte"`
Count uint32 `struc:"sizeof=Path"`
Path []FibPath
}
IPFibDetails represents the VPP binary API message 'ip_fib_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 38:
["ip_fib_details",
["u16", "_vl_msg_id"],
["u32", "context"],
["u32", "table_id"],
["u8", "address_length"],
["u8", "address", 4],
["u32", "count"],
["vl_api_fib_path_t", "path", 0, "count"],
{"crc" : "0xfd8c6584"}
],
func (*IPFibDetails) GetCrcString ¶
func (*IPFibDetails) GetCrcString() string
func (*IPFibDetails) GetMessageName ¶
func (*IPFibDetails) GetMessageName() string
func (*IPFibDetails) GetMessageType ¶
func (*IPFibDetails) GetMessageType() api.MessageType
type IPFibDump ¶
type IPFibDump struct {
}
IPFibDump represents the VPP binary API message 'ip_fib_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 32:
["ip_fib_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0x5fe56ca3"}
],
func (*IPFibDump) GetMessageType ¶
func (*IPFibDump) GetMessageType() api.MessageType
type IPMfibDetails ¶
type IPMfibDetails struct {
TableID uint32
EntryFlags uint32
RpfID uint32
AddressLength uint8
GrpAddress []byte `struc:"[4]byte"`
SrcAddress []byte `struc:"[4]byte"`
Count uint32 `struc:"sizeof=Path"`
Path []FibPath
}
IPMfibDetails represents the VPP binary API message 'ip_mfib_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 292:
["ip_mfib_details",
["u16", "_vl_msg_id"],
["u32", "context"],
["u32", "table_id"],
["u32", "entry_flags"],
["u32", "rpf_id"],
["u8", "address_length"],
["u8", "grp_address", 4],
["u8", "src_address", 4],
["u32", "count"],
["vl_api_fib_path_t", "path", 0, "count"],
{"crc" : "0x395e5699"}
],
func (*IPMfibDetails) GetCrcString ¶
func (*IPMfibDetails) GetCrcString() string
func (*IPMfibDetails) GetMessageName ¶
func (*IPMfibDetails) GetMessageName() string
func (*IPMfibDetails) GetMessageType ¶
func (*IPMfibDetails) GetMessageType() api.MessageType
type IPMfibDump ¶
type IPMfibDump struct {
}
IPMfibDump represents the VPP binary API message 'ip_mfib_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 286:
["ip_mfib_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0xee61390e"}
],
func (*IPMfibDump) GetCrcString ¶
func (*IPMfibDump) GetCrcString() string
func (*IPMfibDump) GetMessageName ¶
func (*IPMfibDump) GetMessageName() string
func (*IPMfibDump) GetMessageType ¶
func (*IPMfibDump) GetMessageType() api.MessageType
type IPMrouteAddDel ¶
type IPMrouteAddDel struct {
NextHopSwIfIndex uint32
TableID uint32
EntryFlags uint32
ItfFlags uint32
RpfID uint32
GrpAddressLength uint16
CreateVrfIfNeeded uint8
IsAdd uint8
IsIpv6 uint8
IsLocal uint8
GrpAddress []byte `struc:"[16]byte"`
SrcAddress []byte `struc:"[16]byte"`
}
IPMrouteAddDel represents the VPP binary API message 'ip_mroute_add_del'. Generated from '/usr/share/vpp/api/ip.api.json', line 262:
["ip_mroute_add_del",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "next_hop_sw_if_index"],
["u32", "table_id"],
["u32", "entry_flags"],
["u32", "itf_flags"],
["u32", "rpf_id"],
["u16", "grp_address_length"],
["u8", "create_vrf_if_needed"],
["u8", "is_add"],
["u8", "is_ipv6"],
["u8", "is_local"],
["u8", "grp_address", 16],
["u8", "src_address", 16],
{"crc" : "0x8f5f21a8"}
],
func (*IPMrouteAddDel) GetCrcString ¶
func (*IPMrouteAddDel) GetCrcString() string
func (*IPMrouteAddDel) GetMessageName ¶
func (*IPMrouteAddDel) GetMessageName() string
func (*IPMrouteAddDel) GetMessageType ¶
func (*IPMrouteAddDel) GetMessageType() api.MessageType
type IPMrouteAddDelReply ¶
type IPMrouteAddDelReply struct {
Retval int32
}
IPMrouteAddDelReply represents the VPP binary API message 'ip_mroute_add_del_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 280:
["ip_mroute_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x8cabe02c"}
],
func (*IPMrouteAddDelReply) GetCrcString ¶
func (*IPMrouteAddDelReply) GetCrcString() string
func (*IPMrouteAddDelReply) GetMessageName ¶
func (*IPMrouteAddDelReply) GetMessageName() string
func (*IPMrouteAddDelReply) GetMessageType ¶
func (*IPMrouteAddDelReply) GetMessageType() api.MessageType
type IPNeighborAddDel ¶
type IPNeighborAddDel struct {
SwIfIndex uint32
IsAdd uint8
IsIpv6 uint8
IsStatic uint8
IsNoAdjFib uint8
MacAddress []byte `struc:"[6]byte"`
DstAddress []byte `struc:"[16]byte"`
}
IPNeighborAddDel represents the VPP binary API message 'ip_neighbor_add_del'. Generated from '/usr/share/vpp/api/ip.api.json', line 81:
["ip_neighbor_add_del",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "is_add"],
["u8", "is_ipv6"],
["u8", "is_static"],
["u8", "is_no_adj_fib"],
["u8", "mac_address", 6],
["u8", "dst_address", 16],
{"crc" : "0x5a0d070b"}
],
func (*IPNeighborAddDel) GetCrcString ¶
func (*IPNeighborAddDel) GetCrcString() string
func (*IPNeighborAddDel) GetMessageName ¶
func (*IPNeighborAddDel) GetMessageName() string
func (*IPNeighborAddDel) GetMessageType ¶
func (*IPNeighborAddDel) GetMessageType() api.MessageType
type IPNeighborAddDelReply ¶
type IPNeighborAddDelReply struct {
Retval int32
}
IPNeighborAddDelReply represents the VPP binary API message 'ip_neighbor_add_del_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 94:
["ip_neighbor_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xe5b0f318"}
],
func (*IPNeighborAddDelReply) GetCrcString ¶
func (*IPNeighborAddDelReply) GetCrcString() string
func (*IPNeighborAddDelReply) GetMessageName ¶
func (*IPNeighborAddDelReply) GetMessageName() string
func (*IPNeighborAddDelReply) GetMessageType ¶
func (*IPNeighborAddDelReply) GetMessageType() api.MessageType
type IPNeighborDetails ¶
type IPNeighborDetails struct {
IsStatic uint8
IsIpv6 uint8
MacAddress []byte `struc:"[6]byte"`
IPAddress []byte `struc:"[16]byte"`
}
IPNeighborDetails represents the VPP binary API message 'ip_neighbor_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 72:
["ip_neighbor_details",
["u16", "_vl_msg_id"],
["u32", "context"],
["u8", "is_static"],
["u8", "is_ipv6"],
["u8", "mac_address", 6],
["u8", "ip_address", 16],
{"crc" : "0x3a00e32a"}
],
func (*IPNeighborDetails) GetCrcString ¶
func (*IPNeighborDetails) GetCrcString() string
func (*IPNeighborDetails) GetMessageName ¶
func (*IPNeighborDetails) GetMessageName() string
func (*IPNeighborDetails) GetMessageType ¶
func (*IPNeighborDetails) GetMessageType() api.MessageType
type IPNeighborDump ¶
IPNeighborDump represents the VPP binary API message 'ip_neighbor_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 64:
["ip_neighbor_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "is_ipv6"],
{"crc" : "0x3289e160"}
],
func (*IPNeighborDump) GetCrcString ¶
func (*IPNeighborDump) GetCrcString() string
func (*IPNeighborDump) GetMessageName ¶
func (*IPNeighborDump) GetMessageName() string
func (*IPNeighborDump) GetMessageType ¶
func (*IPNeighborDump) GetMessageType() api.MessageType
type IPTableAddDel ¶
IPTableAddDel represents the VPP binary API message 'ip_table_add_del'. Generated from '/usr/share/vpp/api/ip.api.json', line 17:
["ip_table_add_del",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "table_id"],
["u8", "is_ipv6"],
["u8", "is_add"],
{"crc" : "0xff1fffe6"}
],
func (*IPTableAddDel) GetCrcString ¶
func (*IPTableAddDel) GetCrcString() string
func (*IPTableAddDel) GetMessageName ¶
func (*IPTableAddDel) GetMessageName() string
func (*IPTableAddDel) GetMessageType ¶
func (*IPTableAddDel) GetMessageType() api.MessageType
type IPTableAddDelReply ¶
type IPTableAddDelReply struct {
Retval int32
}
IPTableAddDelReply represents the VPP binary API message 'ip_table_add_del_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 26:
["ip_table_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x7da725be"}
],
func (*IPTableAddDelReply) GetCrcString ¶
func (*IPTableAddDelReply) GetCrcString() string
func (*IPTableAddDelReply) GetMessageName ¶
func (*IPTableAddDelReply) GetMessageName() string
func (*IPTableAddDelReply) GetMessageType ¶
func (*IPTableAddDelReply) GetMessageType() api.MessageType
type MfibSignalDetails ¶
type MfibSignalDetails struct {
SwIfIndex uint32
TableID uint32
GrpAddressLen uint16
GrpAddress []byte `struc:"[16]byte"`
SrcAddress []byte `struc:"[16]byte"`
IPPacketLen uint16
IPPacketData []byte `struc:"[256]byte"`
}
MfibSignalDetails represents the VPP binary API message 'mfib_signal_details'. Generated from '/usr/share/vpp/api/ip.api.json', line 360:
["mfib_signal_details",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u32", "table_id"],
["u16", "grp_address_len"],
["u8", "grp_address", 16],
["u8", "src_address", 16],
["u16", "ip_packet_len"],
["u8", "ip_packet_data", 256],
{"crc" : "0x6ba92c72"}
]
func (*MfibSignalDetails) GetCrcString ¶
func (*MfibSignalDetails) GetCrcString() string
func (*MfibSignalDetails) GetMessageName ¶
func (*MfibSignalDetails) GetMessageName() string
func (*MfibSignalDetails) GetMessageType ¶
func (*MfibSignalDetails) GetMessageType() api.MessageType
type MfibSignalDump ¶
type MfibSignalDump struct {
}
MfibSignalDump represents the VPP binary API message 'mfib_signal_dump'. Generated from '/usr/share/vpp/api/ip.api.json', line 354:
["mfib_signal_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0xbbbbd40d"}
],
func (*MfibSignalDump) GetCrcString ¶
func (*MfibSignalDump) GetCrcString() string
func (*MfibSignalDump) GetMessageName ¶
func (*MfibSignalDump) GetMessageName() string
func (*MfibSignalDump) GetMessageType ¶
func (*MfibSignalDump) GetMessageType() api.MessageType
type SetIPFlowHash ¶
type SetIPFlowHash struct {
VrfID uint32
IsIpv6 uint8
Src uint8
Dst uint8
Sport uint8
Dport uint8
Proto uint8
Reverse uint8
}
SetIPFlowHash represents the VPP binary API message 'set_ip_flow_hash'. Generated from '/usr/share/vpp/api/ip.api.json', line 100:
["set_ip_flow_hash",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "vrf_id"],
["u8", "is_ipv6"],
["u8", "src"],
["u8", "dst"],
["u8", "sport"],
["u8", "dport"],
["u8", "proto"],
["u8", "reverse"],
{"crc" : "0x92ad3798"}
],
func (*SetIPFlowHash) GetCrcString ¶
func (*SetIPFlowHash) GetCrcString() string
func (*SetIPFlowHash) GetMessageName ¶
func (*SetIPFlowHash) GetMessageName() string
func (*SetIPFlowHash) GetMessageType ¶
func (*SetIPFlowHash) GetMessageType() api.MessageType
type SetIPFlowHashReply ¶
type SetIPFlowHashReply struct {
Retval int32
}
SetIPFlowHashReply represents the VPP binary API message 'set_ip_flow_hash_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 114:
["set_ip_flow_hash_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x35a9e5eb"}
],
func (*SetIPFlowHashReply) GetCrcString ¶
func (*SetIPFlowHashReply) GetCrcString() string
func (*SetIPFlowHashReply) GetMessageName ¶
func (*SetIPFlowHashReply) GetMessageName() string
func (*SetIPFlowHashReply) GetMessageType ¶
func (*SetIPFlowHashReply) GetMessageType() api.MessageType
type SwInterfaceIP6EnableDisable ¶
SwInterfaceIP6EnableDisable represents the VPP binary API message 'sw_interface_ip6_enable_disable'. Generated from '/usr/share/vpp/api/ip.api.json', line 198:
["sw_interface_ip6_enable_disable",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "enable"],
{"crc" : "0x4a4e5405"}
],
func (*SwInterfaceIP6EnableDisable) GetCrcString ¶
func (*SwInterfaceIP6EnableDisable) GetCrcString() string
func (*SwInterfaceIP6EnableDisable) GetMessageName ¶
func (*SwInterfaceIP6EnableDisable) GetMessageName() string
func (*SwInterfaceIP6EnableDisable) GetMessageType ¶
func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType
type SwInterfaceIP6EnableDisableReply ¶
type SwInterfaceIP6EnableDisableReply struct {
Retval int32
}
SwInterfaceIP6EnableDisableReply represents the VPP binary API message 'sw_interface_ip6_enable_disable_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 206:
["sw_interface_ip6_enable_disable_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xeb8b4a40"}
],
func (*SwInterfaceIP6EnableDisableReply) GetCrcString ¶
func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string
func (*SwInterfaceIP6EnableDisableReply) GetMessageName ¶
func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string
func (*SwInterfaceIP6EnableDisableReply) GetMessageType ¶
func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType
type SwInterfaceIP6SetLinkLocalAddress ¶
type SwInterfaceIP6SetLinkLocalAddress struct {
SwIfIndex uint32
Address []byte `struc:"[16]byte"`
}
SwInterfaceIP6SetLinkLocalAddress represents the VPP binary API message 'sw_interface_ip6_set_link_local_address'. Generated from '/usr/share/vpp/api/ip.api.json', line 212:
["sw_interface_ip6_set_link_local_address",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "address", 16],
{"crc" : "0x3db6d52b"}
],
func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString ¶
func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName ¶
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType ¶
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType
type SwInterfaceIP6SetLinkLocalAddressReply ¶
type SwInterfaceIP6SetLinkLocalAddressReply struct {
Retval int32
}
SwInterfaceIP6SetLinkLocalAddressReply represents the VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 220:
["sw_interface_ip6_set_link_local_address_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x0a781e17"}
],
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString ¶
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName ¶
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName() string
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType ¶
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType
type SwInterfaceIP6ndRaConfig ¶
type SwInterfaceIP6ndRaConfig struct {
SwIfIndex uint32
Suppress uint8
Managed uint8
Other uint8
LlOption uint8
SendUnicast uint8
Cease uint8
IsNo uint8
DefaultRouter uint8
MaxInterval uint32
MinInterval uint32
Lifetime uint32
InitialCount uint32
InitialInterval uint32
}
SwInterfaceIP6ndRaConfig represents the VPP binary API message 'sw_interface_ip6nd_ra_config'. Generated from '/usr/share/vpp/api/ip.api.json', line 120:
["sw_interface_ip6nd_ra_config",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "suppress"],
["u8", "managed"],
["u8", "other"],
["u8", "ll_option"],
["u8", "send_unicast"],
["u8", "cease"],
["u8", "is_no"],
["u8", "default_router"],
["u32", "max_interval"],
["u32", "min_interval"],
["u32", "lifetime"],
["u32", "initial_count"],
["u32", "initial_interval"],
{"crc" : "0xec4a29f6"}
],
func (*SwInterfaceIP6ndRaConfig) GetCrcString ¶
func (*SwInterfaceIP6ndRaConfig) GetCrcString() string
func (*SwInterfaceIP6ndRaConfig) GetMessageName ¶
func (*SwInterfaceIP6ndRaConfig) GetMessageName() string
func (*SwInterfaceIP6ndRaConfig) GetMessageType ¶
func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType
type SwInterfaceIP6ndRaConfigReply ¶
type SwInterfaceIP6ndRaConfigReply struct {
Retval int32
}
SwInterfaceIP6ndRaConfigReply represents the VPP binary API message 'sw_interface_ip6nd_ra_config_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 140:
["sw_interface_ip6nd_ra_config_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x16e25c5b"}
],
func (*SwInterfaceIP6ndRaConfigReply) GetCrcString ¶
func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string
func (*SwInterfaceIP6ndRaConfigReply) GetMessageName ¶
func (*SwInterfaceIP6ndRaConfigReply) GetMessageName() string
func (*SwInterfaceIP6ndRaConfigReply) GetMessageType ¶
func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType
type SwInterfaceIP6ndRaPrefix ¶
type SwInterfaceIP6ndRaPrefix struct {
SwIfIndex uint32
Address []byte `struc:"[16]byte"`
AddressLength uint8
UseDefault uint8
NoAdvertise uint8
OffLink uint8
NoAutoconfig uint8
NoOnlink uint8
IsNo uint8
ValLifetime uint32
PrefLifetime uint32
}
SwInterfaceIP6ndRaPrefix represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix'. Generated from '/usr/share/vpp/api/ip.api.json', line 146:
["sw_interface_ip6nd_ra_prefix",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "sw_if_index"],
["u8", "address", 16],
["u8", "address_length"],
["u8", "use_default"],
["u8", "no_advertise"],
["u8", "off_link"],
["u8", "no_autoconfig"],
["u8", "no_onlink"],
["u8", "is_no"],
["u32", "val_lifetime"],
["u32", "pref_lifetime"],
{"crc" : "0x5db6555c"}
],
func (*SwInterfaceIP6ndRaPrefix) GetCrcString ¶
func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string
func (*SwInterfaceIP6ndRaPrefix) GetMessageName ¶
func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string
func (*SwInterfaceIP6ndRaPrefix) GetMessageType ¶
func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType
type SwInterfaceIP6ndRaPrefixReply ¶
type SwInterfaceIP6ndRaPrefixReply struct {
Retval int32
}
SwInterfaceIP6ndRaPrefixReply represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'. Generated from '/usr/share/vpp/api/ip.api.json', line 163:
["sw_interface_ip6nd_ra_prefix_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x8050adb3"}
],
func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString ¶
func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string
func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName ¶
func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName() string
func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType ¶
func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType
Source Files
¶
- ip.go
- pkgreflect.go