aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/ip/ip.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bin_api/ip/ip.ba.go')
-rw-r--r--examples/bin_api/ip/ip.ba.go376
1 files changed, 8 insertions, 368 deletions
diff --git a/examples/bin_api/ip/ip.ba.go b/examples/bin_api/ip/ip.ba.go
index 9dc3d56..abbddb9 100644
--- a/examples/bin_api/ip/ip.ba.go
+++ b/examples/bin_api/ip/ip.ba.go
@@ -1,18 +1,16 @@
// Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: ip.api.json
+// source: ip.api.json
/*
-Package ip is a generated VPP binary API of the 'ip' VPP module.
+ Package ip is a generated from VPP binary API module 'ip'.
-It is generated from this file:
- ip.api.json
+ It contains following objects:
+ 87 messages
+ 8 types
+ 1 enum
+ 1 union
+ 42 services
-It contains these VPP binary API objects:
- 87 messages
- 8 types
- 1 enum
- 1 union
- 42 services
*/
package ip
@@ -28,7 +26,6 @@ var _ = bytes.NewBuffer
/* Enums */
// AddressFamily represents the VPP binary API enum 'address_family'.
-// Generated from 'ip.api.json', line 2727:
//
// "address_family",
// [
@@ -53,7 +50,6 @@ const (
/* Types */
// IP4Address represents the VPP binary API type 'ip4_address'.
-// Generated from 'ip.api.json', line 2743:
//
// "ip4_address",
// [
@@ -77,7 +73,6 @@ func (*IP4Address) GetCrcString() string {
}
// IP6Address represents the VPP binary API type 'ip6_address'.
-// Generated from 'ip.api.json', line 2754:
//
// "ip6_address",
// [
@@ -101,7 +96,6 @@ func (*IP6Address) GetCrcString() string {
}
// Address represents the VPP binary API type 'address'.
-// Generated from 'ip.api.json', line 2765:
//
// "address",
// [
@@ -129,7 +123,6 @@ func (*Address) GetCrcString() string {
}
// Prefix represents the VPP binary API type 'prefix'.
-// Generated from 'ip.api.json', line 2779:
//
// "prefix",
// [
@@ -157,7 +150,6 @@ func (*Prefix) GetCrcString() string {
}
// FibMplsLabel represents the VPP binary API type 'fib_mpls_label'.
-// Generated from 'ip.api.json', line 2793:
//
// "fib_mpls_label",
// [
@@ -195,7 +187,6 @@ func (*FibMplsLabel) GetCrcString() string {
}
// FibPath represents the VPP binary API type 'fib_path'.
-// Generated from 'ip.api.json', line 2815:
//
// "fib_path",
// [
@@ -315,7 +306,6 @@ func (*FibPath) GetCrcString() string {
}
// IP6RaPrefixInfo represents the VPP binary API type 'ip6_ra_prefix_info'.
-// Generated from 'ip.api.json', line 2903:
//
// "ip6_ra_prefix_info",
// [
@@ -359,7 +349,6 @@ func (*IP6RaPrefixInfo) GetCrcString() string {
}
// ProxyArp represents the VPP binary API type 'proxy_arp'.
-// Generated from 'ip.api.json', line 2930:
//
// "proxy_arp",
// [
@@ -396,7 +385,6 @@ func (*ProxyArp) GetCrcString() string {
/* Unions */
// AddressUnion represents the VPP binary API union 'address_union'.
-// Generated from 'ip.api.json', line 2562:
//
// "address_union",
// [
@@ -451,7 +439,6 @@ func (u *AddressUnion) GetIP6() (a IP6Address) {
/* Messages */
// IPTableAddDel represents the VPP binary API message 'ip_table_add_del'.
-// Generated from 'ip.api.json', line 4:
//
// "ip_table_add_del",
// [
@@ -503,12 +490,8 @@ func (*IPTableAddDel) GetCrcString() string {
func (*IPTableAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPTableAddDel() api.Message {
- return &IPTableAddDel{}
-}
// IPTableAddDelReply represents the VPP binary API message 'ip_table_add_del_reply'.
-// Generated from 'ip.api.json', line 39:
//
// "ip_table_add_del_reply",
// [
@@ -540,12 +523,8 @@ func (*IPTableAddDelReply) GetCrcString() string {
func (*IPTableAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPTableAddDelReply() api.Message {
- return &IPTableAddDelReply{}
-}
// IPFibDump represents the VPP binary API message 'ip_fib_dump'.
-// Generated from 'ip.api.json', line 57:
//
// "ip_fib_dump",
// [
@@ -575,12 +554,8 @@ func (*IPFibDump) GetCrcString() string {
func (*IPFibDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPFibDump() api.Message {
- return &IPFibDump{}
-}
// IPFibDetails represents the VPP binary API message 'ip_fib_details'.
-// Generated from 'ip.api.json', line 75:
//
// "ip_fib_details",
// [
@@ -641,12 +616,8 @@ func (*IPFibDetails) GetCrcString() string {
func (*IPFibDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPFibDetails() api.Message {
- return &IPFibDetails{}
-}
// IP6FibDump represents the VPP binary API message 'ip6_fib_dump'.
-// Generated from 'ip.api.json', line 117:
//
// "ip6_fib_dump",
// [
@@ -676,12 +647,8 @@ func (*IP6FibDump) GetCrcString() string {
func (*IP6FibDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6FibDump() api.Message {
- return &IP6FibDump{}
-}
// IP6FibDetails represents the VPP binary API message 'ip6_fib_details'.
-// Generated from 'ip.api.json', line 135:
//
// "ip6_fib_details",
// [
@@ -742,12 +709,8 @@ func (*IP6FibDetails) GetCrcString() string {
func (*IP6FibDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIP6FibDetails() api.Message {
- return &IP6FibDetails{}
-}
// IPNeighborDump represents the VPP binary API message 'ip_neighbor_dump'.
-// Generated from 'ip.api.json', line 177:
//
// "ip_neighbor_dump",
// [
@@ -788,12 +751,8 @@ func (*IPNeighborDump) GetCrcString() string {
func (*IPNeighborDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPNeighborDump() api.Message {
- return &IPNeighborDump{}
-}
// IPNeighborDetails represents the VPP binary API message 'ip_neighbor_details'.
-// Generated from 'ip.api.json', line 203:
//
// "ip_neighbor_details",
// [
@@ -847,12 +806,8 @@ func (*IPNeighborDetails) GetCrcString() string {
func (*IPNeighborDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPNeighborDetails() api.Message {
- return &IPNeighborDetails{}
-}
// IPNeighborAddDel represents the VPP binary API message 'ip_neighbor_add_del'.
-// Generated from 'ip.api.json', line 239:
//
// "ip_neighbor_add_del",
// [
@@ -920,12 +875,8 @@ func (*IPNeighborAddDel) GetCrcString() string {
func (*IPNeighborAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPNeighborAddDel() api.Message {
- return &IPNeighborAddDel{}
-}
// IPNeighborAddDelReply represents the VPP binary API message 'ip_neighbor_add_del_reply'.
-// Generated from 'ip.api.json', line 287:
//
// "ip_neighbor_add_del_reply",
// [
@@ -957,12 +908,8 @@ func (*IPNeighborAddDelReply) GetCrcString() string {
func (*IPNeighborAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPNeighborAddDelReply() api.Message {
- return &IPNeighborAddDelReply{}
-}
// SetIPFlowHash represents the VPP binary API message 'set_ip_flow_hash'.
-// Generated from 'ip.api.json', line 305:
//
// "set_ip_flow_hash",
// [
@@ -1033,12 +980,8 @@ func (*SetIPFlowHash) GetCrcString() string {
func (*SetIPFlowHash) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSetIPFlowHash() api.Message {
- return &SetIPFlowHash{}
-}
// SetIPFlowHashReply represents the VPP binary API message 'set_ip_flow_hash_reply'.
-// Generated from 'ip.api.json', line 355:
//
// "set_ip_flow_hash_reply",
// [
@@ -1070,12 +1013,8 @@ func (*SetIPFlowHashReply) GetCrcString() string {
func (*SetIPFlowHashReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSetIPFlowHashReply() api.Message {
- return &SetIPFlowHashReply{}
-}
// SwInterfaceIP6ndRaConfig represents the VPP binary API message 'sw_interface_ip6nd_ra_config'.
-// Generated from 'ip.api.json', line 373:
//
// "sw_interface_ip6nd_ra_config",
// [
@@ -1176,12 +1115,8 @@ func (*SwInterfaceIP6ndRaConfig) GetCrcString() string {
func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceIP6ndRaConfig() api.Message {
- return &SwInterfaceIP6ndRaConfig{}
-}
// SwInterfaceIP6ndRaConfigReply represents the VPP binary API message 'sw_interface_ip6nd_ra_config_reply'.
-// Generated from 'ip.api.json', line 447:
//
// "sw_interface_ip6nd_ra_config_reply",
// [
@@ -1213,12 +1148,8 @@ func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string {
func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceIP6ndRaConfigReply() api.Message {
- return &SwInterfaceIP6ndRaConfigReply{}
-}
// SwInterfaceIP6ndRaPrefix represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix'.
-// Generated from 'ip.api.json', line 465:
//
// "sw_interface_ip6nd_ra_prefix",
// [
@@ -1305,12 +1236,8 @@ func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string {
func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceIP6ndRaPrefix() api.Message {
- return &SwInterfaceIP6ndRaPrefix{}
-}
// SwInterfaceIP6ndRaPrefixReply represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'.
-// Generated from 'ip.api.json', line 528:
//
// "sw_interface_ip6nd_ra_prefix_reply",
// [
@@ -1342,12 +1269,8 @@ func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string {
func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceIP6ndRaPrefixReply() api.Message {
- return &SwInterfaceIP6ndRaPrefixReply{}
-}
// IP6ndProxyAddDel represents the VPP binary API message 'ip6nd_proxy_add_del'.
-// Generated from 'ip.api.json', line 546:
//
// "ip6nd_proxy_add_del",
// [
@@ -1394,12 +1317,8 @@ func (*IP6ndProxyAddDel) GetCrcString() string {
func (*IP6ndProxyAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6ndProxyAddDel() api.Message {
- return &IP6ndProxyAddDel{}
-}
// IP6ndProxyAddDelReply represents the VPP binary API message 'ip6nd_proxy_add_del_reply'.
-// Generated from 'ip.api.json', line 577:
//
// "ip6nd_proxy_add_del_reply",
// [
@@ -1431,12 +1350,8 @@ func (*IP6ndProxyAddDelReply) GetCrcString() string {
func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIP6ndProxyAddDelReply() api.Message {
- return &IP6ndProxyAddDelReply{}
-}
// IP6ndProxyDetails represents the VPP binary API message 'ip6nd_proxy_details'.
-// Generated from 'ip.api.json', line 595:
//
// "ip6nd_proxy_details",
// [
@@ -1478,12 +1393,8 @@ func (*IP6ndProxyDetails) GetCrcString() string {
func (*IP6ndProxyDetails) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6ndProxyDetails() api.Message {
- return &IP6ndProxyDetails{}
-}
// IP6ndProxyDump represents the VPP binary API message 'ip6nd_proxy_dump'.
-// Generated from 'ip.api.json', line 622:
//
// "ip6nd_proxy_dump",
// [
@@ -1513,12 +1424,8 @@ func (*IP6ndProxyDump) GetCrcString() string {
func (*IP6ndProxyDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6ndProxyDump() api.Message {
- return &IP6ndProxyDump{}
-}
// IP6ndSendRouterSolicitation represents the VPP binary API message 'ip6nd_send_router_solicitation'.
-// Generated from 'ip.api.json', line 640:
//
// "ip6nd_send_router_solicitation",
// [
@@ -1579,12 +1486,8 @@ func (*IP6ndSendRouterSolicitation) GetCrcString() string {
func (*IP6ndSendRouterSolicitation) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6ndSendRouterSolicitation() api.Message {
- return &IP6ndSendRouterSolicitation{}
-}
// IP6ndSendRouterSolicitationReply represents the VPP binary API message 'ip6nd_send_router_solicitation_reply'.
-// Generated from 'ip.api.json', line 682:
//
// "ip6nd_send_router_solicitation_reply",
// [
@@ -1616,12 +1519,8 @@ func (*IP6ndSendRouterSolicitationReply) GetCrcString() string {
func (*IP6ndSendRouterSolicitationReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIP6ndSendRouterSolicitationReply() api.Message {
- return &IP6ndSendRouterSolicitationReply{}
-}
// SwInterfaceIP6EnableDisable represents the VPP binary API message 'sw_interface_ip6_enable_disable'.
-// Generated from 'ip.api.json', line 700:
//
// "sw_interface_ip6_enable_disable",
// [
@@ -1662,12 +1561,8 @@ func (*SwInterfaceIP6EnableDisable) GetCrcString() string {
func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceIP6EnableDisable() api.Message {
- return &SwInterfaceIP6EnableDisable{}
-}
// SwInterfaceIP6EnableDisableReply represents the VPP binary API message 'sw_interface_ip6_enable_disable_reply'.
-// Generated from 'ip.api.json', line 726:
//
// "sw_interface_ip6_enable_disable_reply",
// [
@@ -1699,12 +1594,8 @@ func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string {
func (*SwInterfaceIP6EnableDisableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceIP6EnableDisableReply() api.Message {
- return &SwInterfaceIP6EnableDisableReply{}
-}
// SwInterfaceIP6SetLinkLocalAddress represents the VPP binary API message 'sw_interface_ip6_set_link_local_address'.
-// Generated from 'ip.api.json', line 744:
//
// "sw_interface_ip6_set_link_local_address",
// [
@@ -1746,12 +1637,8 @@ func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string {
func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSwInterfaceIP6SetLinkLocalAddress() api.Message {
- return &SwInterfaceIP6SetLinkLocalAddress{}
-}
// SwInterfaceIP6SetLinkLocalAddressReply represents the VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.
-// Generated from 'ip.api.json', line 771:
//
// "sw_interface_ip6_set_link_local_address_reply",
// [
@@ -1783,12 +1670,8 @@ func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString() string {
func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSwInterfaceIP6SetLinkLocalAddressReply() api.Message {
- return &SwInterfaceIP6SetLinkLocalAddressReply{}
-}
// IPAddDelRoute represents the VPP binary API message 'ip_add_del_route'.
-// Generated from 'ip.api.json', line 789:
//
// "ip_add_del_route",
// [
@@ -1958,12 +1841,8 @@ func (*IPAddDelRoute) GetCrcString() string {
func (*IPAddDelRoute) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPAddDelRoute() api.Message {
- return &IPAddDelRoute{}
-}
// IPAddDelRouteReply represents the VPP binary API message 'ip_add_del_route_reply'.
-// Generated from 'ip.api.json', line 919:
//
// "ip_add_del_route_reply",
// [
@@ -1995,12 +1874,8 @@ func (*IPAddDelRouteReply) GetCrcString() string {
func (*IPAddDelRouteReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPAddDelRouteReply() api.Message {
- return &IPAddDelRouteReply{}
-}
// IPMrouteAddDel represents the VPP binary API message 'ip_mroute_add_del'.
-// Generated from 'ip.api.json', line 937:
//
// "ip_mroute_add_del",
// [
@@ -2104,12 +1979,8 @@ func (*IPMrouteAddDel) GetCrcString() string {
func (*IPMrouteAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPMrouteAddDel() api.Message {
- return &IPMrouteAddDel{}
-}
// IPMrouteAddDelReply represents the VPP binary API message 'ip_mroute_add_del_reply'.
-// Generated from 'ip.api.json', line 1014:
//
// "ip_mroute_add_del_reply",
// [
@@ -2141,12 +2012,8 @@ func (*IPMrouteAddDelReply) GetCrcString() string {
func (*IPMrouteAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPMrouteAddDelReply() api.Message {
- return &IPMrouteAddDelReply{}
-}
// IPMfibDump represents the VPP binary API message 'ip_mfib_dump'.
-// Generated from 'ip.api.json', line 1032:
//
// "ip_mfib_dump",
// [
@@ -2176,12 +2043,8 @@ func (*IPMfibDump) GetCrcString() string {
func (*IPMfibDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPMfibDump() api.Message {
- return &IPMfibDump{}
-}
// IPMfibDetails represents the VPP binary API message 'ip_mfib_details'.
-// Generated from 'ip.api.json', line 1050:
//
// "ip_mfib_details",
// [
@@ -2252,12 +2115,8 @@ func (*IPMfibDetails) GetCrcString() string {
func (*IPMfibDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPMfibDetails() api.Message {
- return &IPMfibDetails{}
-}
// IP6MfibDump represents the VPP binary API message 'ip6_mfib_dump'.
-// Generated from 'ip.api.json', line 1100:
//
// "ip6_mfib_dump",
// [
@@ -2287,12 +2146,8 @@ func (*IP6MfibDump) GetCrcString() string {
func (*IP6MfibDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIP6MfibDump() api.Message {
- return &IP6MfibDump{}
-}
// IP6MfibDetails represents the VPP binary API message 'ip6_mfib_details'.
-// Generated from 'ip.api.json', line 1118:
//
// "ip6_mfib_details",
// [
@@ -2353,12 +2208,8 @@ func (*IP6MfibDetails) GetCrcString() string {
func (*IP6MfibDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIP6MfibDetails() api.Message {
- return &IP6MfibDetails{}
-}
// IPAddressDetails represents the VPP binary API message 'ip_address_details'.
-// Generated from 'ip.api.json', line 1160:
//
// "ip_address_details",
// [
@@ -2410,12 +2261,8 @@ func (*IPAddressDetails) GetCrcString() string {
func (*IPAddressDetails) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPAddressDetails() api.Message {
- return &IPAddressDetails{}
-}
// IPAddressDump represents the VPP binary API message 'ip_address_dump'.
-// Generated from 'ip.api.json', line 1195:
//
// "ip_address_dump",
// [
@@ -2456,12 +2303,8 @@ func (*IPAddressDump) GetCrcString() string {
func (*IPAddressDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPAddressDump() api.Message {
- return &IPAddressDump{}
-}
// IPUnnumberedDetails represents the VPP binary API message 'ip_unnumbered_details'.
-// Generated from 'ip.api.json', line 1221:
//
// "ip_unnumbered_details",
// [
@@ -2502,12 +2345,8 @@ func (*IPUnnumberedDetails) GetCrcString() string {
func (*IPUnnumberedDetails) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPUnnumberedDetails() api.Message {
- return &IPUnnumberedDetails{}
-}
// IPUnnumberedDump represents the VPP binary API message 'ip_unnumbered_dump'.
-// Generated from 'ip.api.json', line 1247:
//
// "ip_unnumbered_dump",
// [
@@ -2543,12 +2382,8 @@ func (*IPUnnumberedDump) GetCrcString() string {
func (*IPUnnumberedDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPUnnumberedDump() api.Message {
- return &IPUnnumberedDump{}
-}
// IPDetails represents the VPP binary API message 'ip_details'.
-// Generated from 'ip.api.json', line 1269:
//
// "ip_details",
// [
@@ -2586,12 +2421,8 @@ func (*IPDetails) GetCrcString() string {
func (*IPDetails) GetMessageType() api.MessageType {
return api.OtherMessage
}
-func NewIPDetails() api.Message {
- return &IPDetails{}
-}
// IPDump represents the VPP binary API message 'ip_dump'.
-// Generated from 'ip.api.json', line 1291:
//
// "ip_dump",
// [
@@ -2627,12 +2458,8 @@ func (*IPDump) GetCrcString() string {
func (*IPDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPDump() api.Message {
- return &IPDump{}
-}
// MfibSignalDump represents the VPP binary API message 'mfib_signal_dump'.
-// Generated from 'ip.api.json', line 1313:
//
// "mfib_signal_dump",
// [
@@ -2662,12 +2489,8 @@ func (*MfibSignalDump) GetCrcString() string {
func (*MfibSignalDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMfibSignalDump() api.Message {
- return &MfibSignalDump{}
-}
// MfibSignalDetails represents the VPP binary API message 'mfib_signal_details'.
-// Generated from 'ip.api.json', line 1331:
//
// "mfib_signal_details",
// [
@@ -2736,12 +2559,8 @@ func (*MfibSignalDetails) GetCrcString() string {
func (*MfibSignalDetails) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewMfibSignalDetails() api.Message {
- return &MfibSignalDetails{}
-}
// IPPuntPolice represents the VPP binary API message 'ip_punt_police'.
-// Generated from 'ip.api.json', line 1380:
//
// "ip_punt_police",
// [
@@ -2787,12 +2606,8 @@ func (*IPPuntPolice) GetCrcString() string {
func (*IPPuntPolice) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPPuntPolice() api.Message {
- return &IPPuntPolice{}
-}
// IPPuntPoliceReply represents the VPP binary API message 'ip_punt_police_reply'.
-// Generated from 'ip.api.json', line 1410:
//
// "ip_punt_police_reply",
// [
@@ -2824,12 +2639,8 @@ func (*IPPuntPoliceReply) GetCrcString() string {
func (*IPPuntPoliceReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPPuntPoliceReply() api.Message {
- return &IPPuntPoliceReply{}
-}
// IPPuntRedirect represents the VPP binary API message 'ip_punt_redirect'.
-// Generated from 'ip.api.json', line 1428:
//
// "ip_punt_redirect",
// [
@@ -2886,12 +2697,8 @@ func (*IPPuntRedirect) GetCrcString() string {
func (*IPPuntRedirect) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPPuntRedirect() api.Message {
- return &IPPuntRedirect{}
-}
// IPPuntRedirectReply represents the VPP binary API message 'ip_punt_redirect_reply'.
-// Generated from 'ip.api.json', line 1467:
//
// "ip_punt_redirect_reply",
// [
@@ -2923,12 +2730,8 @@ func (*IPPuntRedirectReply) GetCrcString() string {
func (*IPPuntRedirectReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPPuntRedirectReply() api.Message {
- return &IPPuntRedirectReply{}
-}
// IPContainerProxyAddDel represents the VPP binary API message 'ip_container_proxy_add_del'.
-// Generated from 'ip.api.json', line 1485:
//
// "ip_container_proxy_add_del",
// [
@@ -2985,12 +2788,8 @@ func (*IPContainerProxyAddDel) GetCrcString() string {
func (*IPContainerProxyAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPContainerProxyAddDel() api.Message {
- return &IPContainerProxyAddDel{}
-}
// IPContainerProxyAddDelReply represents the VPP binary API message 'ip_container_proxy_add_del_reply'.
-// Generated from 'ip.api.json', line 1524:
//
// "ip_container_proxy_add_del_reply",
// [
@@ -3022,12 +2821,8 @@ func (*IPContainerProxyAddDelReply) GetCrcString() string {
func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPContainerProxyAddDelReply() api.Message {
- return &IPContainerProxyAddDelReply{}
-}
// IPSourceAndPortRangeCheckAddDel represents the VPP binary API message 'ip_source_and_port_range_check_add_del'.
-// Generated from 'ip.api.json', line 1542:
//
// "ip_source_and_port_range_check_add_del",
// [
@@ -3101,12 +2896,8 @@ func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPSourceAndPortRangeCheckAddDel() api.Message {
- return &IPSourceAndPortRangeCheckAddDel{}
-}
// IPSourceAndPortRangeCheckAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.
-// Generated from 'ip.api.json', line 1595:
//
// "ip_source_and_port_range_check_add_del_reply",
// [
@@ -3138,12 +2929,8 @@ func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString() string {
func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPSourceAndPortRangeCheckAddDelReply() api.Message {
- return &IPSourceAndPortRangeCheckAddDelReply{}
-}
// IPSourceAndPortRangeCheckInterfaceAddDel represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.
-// Generated from 'ip.api.json', line 1613:
//
// "ip_source_and_port_range_check_interface_add_del",
// [
@@ -3204,12 +2991,8 @@ func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString() string {
func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPSourceAndPortRangeCheckInterfaceAddDel() api.Message {
- return &IPSourceAndPortRangeCheckInterfaceAddDel{}
-}
// IPSourceAndPortRangeCheckInterfaceAddDelReply represents the VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.
-// Generated from 'ip.api.json', line 1655:
//
// "ip_source_and_port_range_check_interface_add_del_reply",
// [
@@ -3241,12 +3024,8 @@ func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString() string {
func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPSourceAndPortRangeCheckInterfaceAddDelReply() api.Message {
- return &IPSourceAndPortRangeCheckInterfaceAddDelReply{}
-}
// IPScanNeighborEnableDisable represents the VPP binary API message 'ip_scan_neighbor_enable_disable'.
-// Generated from 'ip.api.json', line 1673:
//
// "ip_scan_neighbor_enable_disable",
// [
@@ -3307,12 +3086,8 @@ func (*IPScanNeighborEnableDisable) GetCrcString() string {
func (*IPScanNeighborEnableDisable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPScanNeighborEnableDisable() api.Message {
- return &IPScanNeighborEnableDisable{}
-}
// IPScanNeighborEnableDisableReply represents the VPP binary API message 'ip_scan_neighbor_enable_disable_reply'.
-// Generated from 'ip.api.json', line 1715:
//
// "ip_scan_neighbor_enable_disable_reply",
// [
@@ -3344,12 +3119,8 @@ func (*IPScanNeighborEnableDisableReply) GetCrcString() string {
func (*IPScanNeighborEnableDisableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPScanNeighborEnableDisableReply() api.Message {
- return &IPScanNeighborEnableDisableReply{}
-}
// IPProbeNeighbor represents the VPP binary API message 'ip_probe_neighbor'.
-// Generated from 'ip.api.json', line 1733:
//
// "ip_probe_neighbor",
// [
@@ -3396,12 +3167,8 @@ func (*IPProbeNeighbor) GetCrcString() string {
func (*IPProbeNeighbor) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPProbeNeighbor() api.Message {
- return &IPProbeNeighbor{}
-}
// IPProbeNeighborReply represents the VPP binary API message 'ip_probe_neighbor_reply'.
-// Generated from 'ip.api.json', line 1764:
//
// "ip_probe_neighbor_reply",
// [
@@ -3433,12 +3200,8 @@ func (*IPProbeNeighborReply) GetCrcString() string {
func (*IPProbeNeighborReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPProbeNeighborReply() api.Message {
- return &IPProbeNeighborReply{}
-}
// WantIP4ArpEvents represents the VPP binary API message 'want_ip4_arp_events'.
-// Generated from 'ip.api.json', line 1782:
//
// "want_ip4_arp_events",
// [
@@ -3484,12 +3247,8 @@ func (*WantIP4ArpEvents) GetCrcString() string {
func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewWantIP4ArpEvents() api.Message {
- return &WantIP4ArpEvents{}
-}
// WantIP4ArpEventsReply represents the VPP binary API message 'want_ip4_arp_events_reply'.
-// Generated from 'ip.api.json', line 1812:
//
// "want_ip4_arp_events_reply",
// [
@@ -3521,12 +3280,8 @@ func (*WantIP4ArpEventsReply) GetCrcString() string {
func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewWantIP4ArpEventsReply() api.Message {
- return &WantIP4ArpEventsReply{}
-}
// IP4ArpEvent represents the VPP binary API message 'ip4_arp_event'.
-// Generated from 'ip.api.json', line 1830:
//
// "ip4_arp_event",
// [
@@ -3579,12 +3334,8 @@ func (*IP4ArpEvent) GetCrcString() string {
func (*IP4ArpEvent) GetMessageType() api.MessageType {
return api.EventMessage
}
-func NewIP4ArpEvent() api.Message {
- return &IP4ArpEvent{}
-}
// WantIP6NdEvents represents the VPP binary API message 'want_ip6_nd_events'.
-// Generated from 'ip.api.json', line 1865:
//
// "want_ip6_nd_events",
// [
@@ -3631,12 +3382,8 @@ func (*WantIP6NdEvents) GetCrcString() string {
func (*WantIP6NdEvents) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewWantIP6NdEvents() api.Message {
- return &WantIP6NdEvents{}
-}
// WantIP6NdEventsReply represents the VPP binary API message 'want_ip6_nd_events_reply'.
-// Generated from 'ip.api.json', line 1896:
//
// "want_ip6_nd_events_reply",
// [
@@ -3668,12 +3415,8 @@ func (*WantIP6NdEventsReply) GetCrcString() string {
func (*WantIP6NdEventsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewWantIP6NdEventsReply() api.Message {
- return &WantIP6NdEventsReply{}
-}
// IP6NdEvent represents the VPP binary API message 'ip6_nd_event'.
-// Generated from 'ip.api.json', line 1914:
//
// "ip6_nd_event",
// [
@@ -3727,12 +3470,8 @@ func (*IP6NdEvent) GetCrcString() string {
func (*IP6NdEvent) GetMessageType() api.MessageType {
return api.EventMessage
}
-func NewIP6NdEvent() api.Message {
- return &IP6NdEvent{}
-}
// WantIP6RaEvents represents the VPP binary API message 'want_ip6_ra_events'.
-// Generated from 'ip.api.json', line 1950:
//
// "want_ip6_ra_events",
// [
@@ -3773,12 +3512,8 @@ func (*WantIP6RaEvents) GetCrcString() string {
func (*WantIP6RaEvents) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewWantIP6RaEvents() api.Message {
- return &WantIP6RaEvents{}
-}
// WantIP6RaEventsReply represents the VPP binary API message 'want_ip6_ra_events_reply'.
-// Generated from 'ip.api.json', line 1976:
//
// "want_ip6_ra_events_reply",
// [
@@ -3810,12 +3545,8 @@ func (*WantIP6RaEventsReply) GetCrcString() string {
func (*WantIP6RaEventsReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewWantIP6RaEventsReply() api.Message {
- return &WantIP6RaEventsReply{}
-}
// IP6RaEvent represents the VPP binary API message 'ip6_ra_event'.
-// Generated from 'ip.api.json', line 1994:
//
// "ip6_ra_event",
// [
@@ -3895,12 +3626,8 @@ func (*IP6RaEvent) GetCrcString() string {
func (*IP6RaEvent) GetMessageType() api.MessageType {
return api.EventMessage
}
-func NewIP6RaEvent() api.Message {
- return &IP6RaEvent{}
-}
// ProxyArpAddDel represents the VPP binary API message 'proxy_arp_add_del'.
-// Generated from 'ip.api.json', line 2051:
//
// "proxy_arp_add_del",
// [
@@ -3941,12 +3668,8 @@ func (*ProxyArpAddDel) GetCrcString() string {
func (*ProxyArpAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewProxyArpAddDel() api.Message {
- return &ProxyArpAddDel{}
-}
// ProxyArpAddDelReply represents the VPP binary API message 'proxy_arp_add_del_reply'.
-// Generated from 'ip.api.json', line 2077:
//
// "proxy_arp_add_del_reply",
// [
@@ -3978,12 +3701,8 @@ func (*ProxyArpAddDelReply) GetCrcString() string {
func (*ProxyArpAddDelReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewProxyArpAddDelReply() api.Message {
- return &ProxyArpAddDelReply{}
-}
// ProxyArpDump represents the VPP binary API message 'proxy_arp_dump'.
-// Generated from 'ip.api.json', line 2095:
//
// "proxy_arp_dump",
// [
@@ -4013,12 +3732,8 @@ func (*ProxyArpDump) GetCrcString() string {
func (*ProxyArpDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewProxyArpDump() api.Message {
- return &ProxyArpDump{}
-}
// ProxyArpDetails represents the VPP binary API message 'proxy_arp_details'.
-// Generated from 'ip.api.json', line 2113:
//
// "proxy_arp_details",
// [
@@ -4050,12 +3765,8 @@ func (*ProxyArpDetails) GetCrcString() string {
func (*ProxyArpDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewProxyArpDetails() api.Message {
- return &ProxyArpDetails{}
-}
// ProxyArpIntfcEnableDisable represents the VPP binary API message 'proxy_arp_intfc_enable_disable'.
-// Generated from 'ip.api.json', line 2131:
//
// "proxy_arp_intfc_enable_disable",
// [
@@ -4096,12 +3807,8 @@ func (*ProxyArpIntfcEnableDisable) GetCrcString() string {
func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewProxyArpIntfcEnableDisable() api.Message {
- return &ProxyArpIntfcEnableDisable{}
-}
// ProxyArpIntfcEnableDisableReply represents the VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.
-// Generated from 'ip.api.json', line 2157:
//
// "proxy_arp_intfc_enable_disable_reply",
// [
@@ -4133,12 +3840,8 @@ func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string {
func (*ProxyArpIntfcEnableDisableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewProxyArpIntfcEnableDisableReply() api.Message {
- return &ProxyArpIntfcEnableDisableReply{}
-}
// ProxyArpIntfcDump represents the VPP binary API message 'proxy_arp_intfc_dump'.
-// Generated from 'ip.api.json', line 2175:
//
// "proxy_arp_intfc_dump",
// [
@@ -4168,12 +3871,8 @@ func (*ProxyArpIntfcDump) GetCrcString() string {
func (*ProxyArpIntfcDump) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewProxyArpIntfcDump() api.Message {
- return &ProxyArpIntfcDump{}
-}
// ProxyArpIntfcDetails represents the VPP binary API message 'proxy_arp_intfc_details'.
-// Generated from 'ip.api.json', line 2193:
//
// "proxy_arp_intfc_details",
// [
@@ -4205,12 +3904,8 @@ func (*ProxyArpIntfcDetails) GetCrcString() string {
func (*ProxyArpIntfcDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewProxyArpIntfcDetails() api.Message {
- return &ProxyArpIntfcDetails{}
-}
// ResetFib represents the VPP binary API message 'reset_fib'.
-// Generated from 'ip.api.json', line 2211:
//
// "reset_fib",
// [
@@ -4251,12 +3946,8 @@ func (*ResetFib) GetCrcString() string {
func (*ResetFib) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewResetFib() api.Message {
- return &ResetFib{}
-}
// ResetFibReply represents the VPP binary API message 'reset_fib_reply'.
-// Generated from 'ip.api.json', line 2237:
//
// "reset_fib_reply",
// [
@@ -4288,12 +3979,8 @@ func (*ResetFibReply) GetCrcString() string {
func (*ResetFibReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewResetFibReply() api.Message {
- return &ResetFibReply{}
-}
// SetArpNeighborLimit represents the VPP binary API message 'set_arp_neighbor_limit'.
-// Generated from 'ip.api.json', line 2255:
//
// "set_arp_neighbor_limit",
// [
@@ -4334,12 +4021,8 @@ func (*SetArpNeighborLimit) GetCrcString() string {
func (*SetArpNeighborLimit) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewSetArpNeighborLimit() api.Message {
- return &SetArpNeighborLimit{}
-}
// SetArpNeighborLimitReply represents the VPP binary API message 'set_arp_neighbor_limit_reply'.
-// Generated from 'ip.api.json', line 2281:
//
// "set_arp_neighbor_limit_reply",
// [
@@ -4371,12 +4054,8 @@ func (*SetArpNeighborLimitReply) GetCrcString() string {
func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewSetArpNeighborLimitReply() api.Message {
- return &SetArpNeighborLimitReply{}
-}
// IoamEnable represents the VPP binary API message 'ioam_enable'.
-// Generated from 'ip.api.json', line 2299:
//
// "ioam_enable",
// [
@@ -4437,12 +4116,8 @@ func (*IoamEnable) GetCrcString() string {
func (*IoamEnable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIoamEnable() api.Message {
- return &IoamEnable{}
-}
// IoamEnableReply represents the VPP binary API message 'ioam_enable_reply'.
-// Generated from 'ip.api.json', line 2341:
//
// "ioam_enable_reply",
// [
@@ -4474,12 +4149,8 @@ func (*IoamEnableReply) GetCrcString() string {
func (*IoamEnableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIoamEnableReply() api.Message {
- return &IoamEnableReply{}
-}
// IoamDisable represents the VPP binary API message 'ioam_disable'.
-// Generated from 'ip.api.json', line 2359:
//
// "ioam_disable",
// [
@@ -4515,12 +4186,8 @@ func (*IoamDisable) GetCrcString() string {
func (*IoamDisable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIoamDisable() api.Message {
- return &IoamDisable{}
-}
// IoamDisableReply represents the VPP binary API message 'ioam_disable_reply'.
-// Generated from 'ip.api.json', line 2381:
//
// "ioam_disable_reply",
// [
@@ -4552,12 +4219,8 @@ func (*IoamDisableReply) GetCrcString() string {
func (*IoamDisableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIoamDisableReply() api.Message {
- return &IoamDisableReply{}
-}
// IPReassemblySet represents the VPP binary API message 'ip_reassembly_set'.
-// Generated from 'ip.api.json', line 2399:
//
// "ip_reassembly_set",
// [
@@ -4608,12 +4271,8 @@ func (*IPReassemblySet) GetCrcString() string {
func (*IPReassemblySet) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPReassemblySet() api.Message {
- return &IPReassemblySet{}
-}
// IPReassemblySetReply represents the VPP binary API message 'ip_reassembly_set_reply'.
-// Generated from 'ip.api.json', line 2433:
//
// "ip_reassembly_set_reply",
// [
@@ -4645,12 +4304,8 @@ func (*IPReassemblySetReply) GetCrcString() string {
func (*IPReassemblySetReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPReassemblySetReply() api.Message {
- return &IPReassemblySetReply{}
-}
// IPReassemblyGet represents the VPP binary API message 'ip_reassembly_get'.
-// Generated from 'ip.api.json', line 2451:
//
// "ip_reassembly_get",
// [
@@ -4686,12 +4341,8 @@ func (*IPReassemblyGet) GetCrcString() string {
func (*IPReassemblyGet) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPReassemblyGet() api.Message {
- return &IPReassemblyGet{}
-}
// IPReassemblyGetReply represents the VPP binary API message 'ip_reassembly_get_reply'.
-// Generated from 'ip.api.json', line 2473:
//
// "ip_reassembly_get_reply",
// [
@@ -4747,12 +4398,8 @@ func (*IPReassemblyGetReply) GetCrcString() string {
func (*IPReassemblyGetReply) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPReassemblyGetReply() api.Message {
- return &IPReassemblyGetReply{}
-}
// IPReassemblyEnableDisable represents the VPP binary API message 'ip_reassembly_enable_disable'.
-// Generated from 'ip.api.json', line 2511:
//
// "ip_reassembly_enable_disable",
// [
@@ -4798,12 +4445,8 @@ func (*IPReassemblyEnableDisable) GetCrcString() string {
func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType {
return api.RequestMessage
}
-func NewIPReassemblyEnableDisable() api.Message {
- return &IPReassemblyEnableDisable{}
-}
// IPReassemblyEnableDisableReply represents the VPP binary API message 'ip_reassembly_enable_disable_reply'.
-// Generated from 'ip.api.json', line 2541:
//
// "ip_reassembly_enable_disable_reply",
// [
@@ -4835,9 +4478,6 @@ func (*IPReassemblyEnableDisableReply) GetCrcString() string {
func (*IPReassemblyEnableDisableReply) GetMessageType() api.MessageType {
return api.ReplyMessage
}
-func NewIPReassemblyEnableDisableReply() api.Message {
- return &IPReassemblyEnableDisableReply{}
-}
/* Services */