summaryrefslogtreecommitdiffstats
path: root/examples/binapi/ip/ip.ba.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-11-05 00:16:25 +0100
committerOndrej Fabry <ofabry@cisco.com>2019-11-05 00:16:25 +0100
commit2f75863ba9bff2d2f3488b70e441b5eefc91dfd2 (patch)
tree5c54cbb3ceb47f18c9baf5c477607c212c3bcb06 /examples/binapi/ip/ip.ba.go
parent73733b0a8ab8612233c98f9828f5f563c69fc2b7 (diff)
Begin development of next release 0.3.0
- update info in package ./version - update to Go 1.13 - regenerate ./examples/binapi for latest VPP: 19.08.1-release - clean code in proxy - refactor Makefile Change-Id: Ibf5c2682c2f4b3cbbea4aa1e35d3f02175d40a9b Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/binapi/ip/ip.ba.go')
-rw-r--r--examples/binapi/ip/ip.ba.go63
1 files changed, 36 insertions, 27 deletions
diff --git a/examples/binapi/ip/ip.ba.go b/examples/binapi/ip/ip.ba.go
index 3bdb551..62e5741 100644
--- a/examples/binapi/ip/ip.ba.go
+++ b/examples/binapi/ip/ip.ba.go
@@ -6,7 +6,7 @@ Package ip is a generated VPP binary API for 'ip' module.
It consists of:
9 enums
- 3 aliases
+ 6 aliases
17 types
1 union
93 messages
@@ -29,7 +29,7 @@ const (
// APIVersion is the API version of this module.
APIVersion = "3.0.0"
// VersionCrc is the CRC of this module.
- VersionCrc = 0x902699f5
+ VersionCrc = 0x251fc559
)
// AddressFamily represents VPP binary API enum 'address_family'.
@@ -416,12 +416,21 @@ func (x MfibItfFlags) String() string {
return strconv.Itoa(int(x))
}
+// AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.
+type AddressWithPrefix Prefix
+
// IP4Address represents VPP binary API alias 'ip4_address'.
type IP4Address [4]uint8
+// IP4AddressWithPrefix represents VPP binary API alias 'ip4_address_with_prefix'.
+type IP4AddressWithPrefix IP4Prefix
+
// IP6Address represents VPP binary API alias 'ip6_address'.
type IP6Address [16]uint8
+// IP6AddressWithPrefix represents VPP binary API alias 'ip6_address_with_prefix'.
+type IP6AddressWithPrefix IP6Prefix
+
// MacAddress represents VPP binary API alias 'mac_address'.
type MacAddress [6]uint8
@@ -745,7 +754,7 @@ func (*IP4ArpEvent) GetMessageName() string {
return "ip4_arp_event"
}
func (*IP4ArpEvent) GetCrcString() string {
- return "72cdde7c"
+ return "efad00cd"
}
func (*IP4ArpEvent) GetMessageType() api.MessageType {
return api.EventMessage
@@ -764,7 +773,7 @@ func (*IP6NdEvent) GetMessageName() string {
return "ip6_nd_event"
}
func (*IP6NdEvent) GetCrcString() string {
- return "3a23e7d4"
+ return "d676f6ca"
}
func (*IP6NdEvent) GetMessageType() api.MessageType {
return api.EventMessage
@@ -788,7 +797,7 @@ func (*IP6RaEvent) GetMessageName() string {
return "ip6_ra_event"
}
func (*IP6RaEvent) GetCrcString() string {
- return "34c9ddac"
+ return "170493ab"
}
func (*IP6RaEvent) GetMessageType() api.MessageType {
return api.EventMessage
@@ -805,7 +814,7 @@ func (*IP6ndProxyAddDel) GetMessageName() string {
return "ip6nd_proxy_add_del"
}
func (*IP6ndProxyAddDel) GetCrcString() string {
- return "bff10d55"
+ return "b431d174"
}
func (*IP6ndProxyAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -836,7 +845,7 @@ func (*IP6ndProxyDetails) GetMessageName() string {
return "ip6nd_proxy_details"
}
func (*IP6ndProxyDetails) GetCrcString() string {
- return "bbbd7894"
+ return "46bfb684"
}
func (*IP6ndProxyDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -893,14 +902,14 @@ func (*IP6ndSendRouterSolicitationReply) GetMessageType() api.MessageType {
// IPAddressDetails represents VPP binary API message 'ip_address_details'.
type IPAddressDetails struct {
SwIfIndex uint32
- Prefix Prefix
+ Prefix AddressWithPrefix
}
func (*IPAddressDetails) GetMessageName() string {
return "ip_address_details"
}
func (*IPAddressDetails) GetCrcString() string {
- return "2f1dbc7d"
+ return "7002eee7"
}
func (*IPAddressDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -933,7 +942,7 @@ func (*IPContainerProxyAddDel) GetMessageName() string {
return "ip_container_proxy_add_del"
}
func (*IPContainerProxyAddDel) GetCrcString() string {
- return "5ba831f3"
+ return "630352c5"
}
func (*IPContainerProxyAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -964,7 +973,7 @@ func (*IPContainerProxyDetails) GetMessageName() string {
return "ip_container_proxy_details"
}
func (*IPContainerProxyDetails) GetCrcString() string {
- return "2f1dbc7d"
+ return "550a6c28"
}
func (*IPContainerProxyDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1025,7 +1034,7 @@ func (*IPMrouteAddDel) GetMessageName() string {
return "ip_mroute_add_del"
}
func (*IPMrouteAddDel) GetCrcString() string {
- return "997baab2"
+ return "edbca49e"
}
func (*IPMrouteAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1056,7 +1065,7 @@ func (*IPMrouteDetails) GetMessageName() string {
return "ip_mroute_details"
}
func (*IPMrouteDetails) GetCrcString() string {
- return "39405e5a"
+ return "c1cb4b44"
}
func (*IPMrouteDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1115,7 +1124,7 @@ func (*IPNeighborAddDel) GetMessageName() string {
return "ip_neighbor_add_del"
}
func (*IPNeighborAddDel) GetCrcString() string {
- return "7a68a3c4"
+ return "029dad44"
}
func (*IPNeighborAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1146,7 +1155,7 @@ func (*IPNeighborDetails) GetMessageName() string {
return "ip_neighbor_details"
}
func (*IPNeighborDetails) GetCrcString() string {
- return "4a05f212"
+ return "c1a190ed"
}
func (*IPNeighborDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1178,7 +1187,7 @@ func (*IPProbeNeighbor) GetMessageName() string {
return "ip_probe_neighbor"
}
func (*IPProbeNeighbor) GetCrcString() string {
- return "2736142d"
+ return "37bc128d"
}
func (*IPProbeNeighbor) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1241,7 +1250,7 @@ func (*IPPuntRedirect) GetMessageName() string {
return "ip_punt_redirect"
}
func (*IPPuntRedirect) GetCrcString() string {
- return "70b793c6"
+ return "f9ea79a8"
}
func (*IPPuntRedirect) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1256,7 +1265,7 @@ func (*IPPuntRedirectDetails) GetMessageName() string {
return "ip_punt_redirect_details"
}
func (*IPPuntRedirectDetails) GetCrcString() string {
- return "07e504f8"
+ return "d6441360"
}
func (*IPPuntRedirectDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1405,7 +1414,7 @@ func (*IPRouteAddDel) GetMessageName() string {
return "ip_route_add_del"
}
func (*IPRouteAddDel) GetCrcString() string {
- return "83e086ce"
+ return "5ceee41c"
}
func (*IPRouteAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1436,7 +1445,7 @@ func (*IPRouteDetails) GetMessageName() string {
return "ip_route_details"
}
func (*IPRouteDetails) GetCrcString() string {
- return "acdee858"
+ return "d1ffaae1"
}
func (*IPRouteDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1506,7 +1515,7 @@ func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string {
return "ip_source_and_port_range_check_add_del"
}
func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string {
- return "b50ed159"
+ return "97e10a78"
}
func (*IPSourceAndPortRangeCheckAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1697,7 +1706,7 @@ func (*MfibSignalDetails) GetMessageName() string {
return "mfib_signal_details"
}
func (*MfibSignalDetails) GetCrcString() string {
- return "cd461bfa"
+ return "697ab6b4"
}
func (*MfibSignalDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -1726,7 +1735,7 @@ func (*ProxyArpAddDel) GetMessageName() string {
return "proxy_arp_add_del"
}
func (*ProxyArpAddDel) GetCrcString() string {
- return "93a0e853"
+ return "320b4c54"
}
func (*ProxyArpAddDel) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -1756,7 +1765,7 @@ func (*ProxyArpDetails) GetMessageName() string {
return "proxy_arp_details"
}
func (*ProxyArpDetails) GetCrcString() string {
- return "2515902a"
+ return "9228c150"
}
func (*ProxyArpDetails) GetMessageType() api.MessageType {
return api.ReplyMessage
@@ -2057,7 +2066,7 @@ func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string {
return "sw_interface_ip6nd_ra_prefix"
}
func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string {
- return "0f759f82"
+ return "6449c040"
}
func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -2089,7 +2098,7 @@ func (*WantIP4ArpEvents) GetMessageName() string {
return "want_ip4_arp_events"
}
func (*WantIP4ArpEvents) GetCrcString() string {
- return "70fd7195"
+ return "2678f421"
}
func (*WantIP4ArpEvents) GetMessageType() api.MessageType {
return api.RequestMessage
@@ -2121,7 +2130,7 @@ func (*WantIP6NdEvents) GetMessageName() string {
return "want_ip6_nd_events"
}
func (*WantIP6NdEvents) GetCrcString() string {
- return "ba330719"
+ return "08283da1"
}
func (*WantIP6NdEvents) GetMessageType() api.MessageType {
return api.RequestMessage