From de8e6592e23a3819266cea5e9999c7c21fdd826f Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Mon, 4 Dec 2017 09:54:13 +0100 Subject: Fix events for mock adapter Change-Id: Iee5fa6282e845ed2aef76c9246a9068f3765139c Signed-off-by: Ondrej Fabry --- examples/bin_api/ip/ip.go | 77 ++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 38 deletions(-) (limited to 'examples/bin_api/ip/ip.go') diff --git a/examples/bin_api/ip/ip.go b/examples/bin_api/ip/ip.go index 884e218..cea5053 100644 --- a/examples/bin_api/ip/ip.go +++ b/examples/bin_api/ip/ip.go @@ -1,5 +1,6 @@ +// Code generated by govpp binapi-generator DO NOT EDIT. // Package ip represents the VPP binary API of the 'ip' VPP module. -// DO NOT EDIT. Generated from 'bin_api/ip.api.json' +// Generated from '../../bin_api/ip.api.json' package ip import "git.fd.io/govpp.git/api" @@ -8,7 +9,7 @@ import "git.fd.io/govpp.git/api" const VlAPIVersion = 0x50fe2434 // FibPath represents the VPP binary API data type 'fib_path'. -// Generated from 'bin_api/ip.api.json', line 3: +// Generated from '../../bin_api/ip.api.json', line 3: // // ["fib_path", // ["u32", "sw_if_index"], @@ -41,7 +42,7 @@ func (*FibPath) GetCrcString() string { } // IPFibDump represents the VPP binary API message 'ip_fib_dump'. -// Generated from 'bin_api/ip.api.json', line 16: +// Generated from '../../bin_api/ip.api.json', line 16: // // ["ip_fib_dump", // ["u16", "_vl_msg_id"], @@ -67,7 +68,7 @@ func NewIPFibDump() api.Message { } // IPFibDetails represents the VPP binary API message 'ip_fib_details'. -// Generated from 'bin_api/ip.api.json', line 22: +// Generated from '../../bin_api/ip.api.json', line 22: // // ["ip_fib_details", // ["u16", "_vl_msg_id"], @@ -102,7 +103,7 @@ func NewIPFibDetails() api.Message { } // IP6FibDump represents the VPP binary API message 'ip6_fib_dump'. -// Generated from 'bin_api/ip.api.json', line 32: +// Generated from '../../bin_api/ip.api.json', line 32: // // ["ip6_fib_dump", // ["u16", "_vl_msg_id"], @@ -128,7 +129,7 @@ func NewIP6FibDump() api.Message { } // IP6FibDetails represents the VPP binary API message 'ip6_fib_details'. -// Generated from 'bin_api/ip.api.json', line 38: +// Generated from '../../bin_api/ip.api.json', line 38: // // ["ip6_fib_details", // ["u16", "_vl_msg_id"], @@ -163,7 +164,7 @@ func NewIP6FibDetails() api.Message { } // IPNeighborDump represents the VPP binary API message 'ip_neighbor_dump'. -// Generated from 'bin_api/ip.api.json', line 48: +// Generated from '../../bin_api/ip.api.json', line 48: // // ["ip_neighbor_dump", // ["u16", "_vl_msg_id"], @@ -193,7 +194,7 @@ func NewIPNeighborDump() api.Message { } // IPNeighborDetails represents the VPP binary API message 'ip_neighbor_details'. -// Generated from 'bin_api/ip.api.json', line 56: +// Generated from '../../bin_api/ip.api.json', line 56: // // ["ip_neighbor_details", // ["u16", "_vl_msg_id"], @@ -226,7 +227,7 @@ func NewIPNeighborDetails() api.Message { } // IPNeighborAddDel represents the VPP binary API message 'ip_neighbor_add_del'. -// Generated from 'bin_api/ip.api.json', line 65: +// Generated from '../../bin_api/ip.api.json', line 65: // // ["ip_neighbor_add_del", // ["u16", "_vl_msg_id"], @@ -266,7 +267,7 @@ func NewIPNeighborAddDel() api.Message { } // IPNeighborAddDelReply represents the VPP binary API message 'ip_neighbor_add_del_reply'. -// Generated from 'bin_api/ip.api.json', line 78: +// Generated from '../../bin_api/ip.api.json', line 78: // // ["ip_neighbor_add_del_reply", // ["u16", "_vl_msg_id"], @@ -293,7 +294,7 @@ func NewIPNeighborAddDelReply() api.Message { } // SetIPFlowHash represents the VPP binary API message 'set_ip_flow_hash'. -// Generated from 'bin_api/ip.api.json', line 84: +// Generated from '../../bin_api/ip.api.json', line 84: // // ["set_ip_flow_hash", // ["u16", "_vl_msg_id"], @@ -335,7 +336,7 @@ func NewSetIPFlowHash() api.Message { } // SetIPFlowHashReply represents the VPP binary API message 'set_ip_flow_hash_reply'. -// Generated from 'bin_api/ip.api.json', line 98: +// Generated from '../../bin_api/ip.api.json', line 98: // // ["set_ip_flow_hash_reply", // ["u16", "_vl_msg_id"], @@ -362,7 +363,7 @@ func NewSetIPFlowHashReply() api.Message { } // SwInterfaceIP6ndRaConfig represents the VPP binary API message 'sw_interface_ip6nd_ra_config'. -// Generated from 'bin_api/ip.api.json', line 104: +// Generated from '../../bin_api/ip.api.json', line 104: // // ["sw_interface_ip6nd_ra_config", // ["u16", "_vl_msg_id"], @@ -416,7 +417,7 @@ func NewSwInterfaceIP6ndRaConfig() api.Message { } // SwInterfaceIP6ndRaConfigReply represents the VPP binary API message 'sw_interface_ip6nd_ra_config_reply'. -// Generated from 'bin_api/ip.api.json', line 124: +// Generated from '../../bin_api/ip.api.json', line 124: // // ["sw_interface_ip6nd_ra_config_reply", // ["u16", "_vl_msg_id"], @@ -443,7 +444,7 @@ func NewSwInterfaceIP6ndRaConfigReply() api.Message { } // SwInterfaceIP6ndRaPrefix represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix'. -// Generated from 'bin_api/ip.api.json', line 130: +// Generated from '../../bin_api/ip.api.json', line 130: // // ["sw_interface_ip6nd_ra_prefix", // ["u16", "_vl_msg_id"], @@ -491,7 +492,7 @@ func NewSwInterfaceIP6ndRaPrefix() api.Message { } // SwInterfaceIP6ndRaPrefixReply represents the VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'. -// Generated from 'bin_api/ip.api.json', line 147: +// Generated from '../../bin_api/ip.api.json', line 147: // // ["sw_interface_ip6nd_ra_prefix_reply", // ["u16", "_vl_msg_id"], @@ -518,7 +519,7 @@ func NewSwInterfaceIP6ndRaPrefixReply() api.Message { } // IP6ndProxyAddDel represents the VPP binary API message 'ip6nd_proxy_add_del'. -// Generated from 'bin_api/ip.api.json', line 153: +// Generated from '../../bin_api/ip.api.json', line 153: // // ["ip6nd_proxy_add_del", // ["u16", "_vl_msg_id"], @@ -550,7 +551,7 @@ func NewIP6ndProxyAddDel() api.Message { } // IP6ndProxyAddDelReply represents the VPP binary API message 'ip6nd_proxy_add_del_reply'. -// Generated from 'bin_api/ip.api.json', line 162: +// Generated from '../../bin_api/ip.api.json', line 162: // // ["ip6nd_proxy_add_del_reply", // ["u16", "_vl_msg_id"], @@ -577,7 +578,7 @@ func NewIP6ndProxyAddDelReply() api.Message { } // IP6ndProxyDetails represents the VPP binary API message 'ip6nd_proxy_details'. -// Generated from 'bin_api/ip.api.json', line 168: +// Generated from '../../bin_api/ip.api.json', line 168: // // ["ip6nd_proxy_details", // ["u16", "_vl_msg_id"], @@ -607,7 +608,7 @@ func NewIP6ndProxyDetails() api.Message { } // IP6ndProxyDump represents the VPP binary API message 'ip6nd_proxy_dump'. -// Generated from 'bin_api/ip.api.json', line 176: +// Generated from '../../bin_api/ip.api.json', line 176: // // ["ip6nd_proxy_dump", // ["u16", "_vl_msg_id"], @@ -633,7 +634,7 @@ func NewIP6ndProxyDump() api.Message { } // SwInterfaceIP6EnableDisable represents the VPP binary API message 'sw_interface_ip6_enable_disable'. -// Generated from 'bin_api/ip.api.json', line 182: +// Generated from '../../bin_api/ip.api.json', line 182: // // ["sw_interface_ip6_enable_disable", // ["u16", "_vl_msg_id"], @@ -663,7 +664,7 @@ func NewSwInterfaceIP6EnableDisable() api.Message { } // SwInterfaceIP6EnableDisableReply represents the VPP binary API message 'sw_interface_ip6_enable_disable_reply'. -// Generated from 'bin_api/ip.api.json', line 190: +// Generated from '../../bin_api/ip.api.json', line 190: // // ["sw_interface_ip6_enable_disable_reply", // ["u16", "_vl_msg_id"], @@ -690,7 +691,7 @@ func NewSwInterfaceIP6EnableDisableReply() api.Message { } // SwInterfaceIP6SetLinkLocalAddress represents the VPP binary API message 'sw_interface_ip6_set_link_local_address'. -// Generated from 'bin_api/ip.api.json', line 196: +// Generated from '../../bin_api/ip.api.json', line 196: // // ["sw_interface_ip6_set_link_local_address", // ["u16", "_vl_msg_id"], @@ -720,7 +721,7 @@ func NewSwInterfaceIP6SetLinkLocalAddress() api.Message { } // SwInterfaceIP6SetLinkLocalAddressReply represents the VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'. -// Generated from 'bin_api/ip.api.json', line 204: +// Generated from '../../bin_api/ip.api.json', line 204: // // ["sw_interface_ip6_set_link_local_address_reply", // ["u16", "_vl_msg_id"], @@ -747,7 +748,7 @@ func NewSwInterfaceIP6SetLinkLocalAddressReply() api.Message { } // IPAddDelRoute represents the VPP binary API message 'ip_add_del_route'. -// Generated from 'bin_api/ip.api.json', line 210: +// Generated from '../../bin_api/ip.api.json', line 210: // // ["ip_add_del_route", // ["u16", "_vl_msg_id"], @@ -819,7 +820,7 @@ func NewIPAddDelRoute() api.Message { } // IPAddDelRouteReply represents the VPP binary API message 'ip_add_del_route_reply'. -// Generated from 'bin_api/ip.api.json', line 239: +// Generated from '../../bin_api/ip.api.json', line 239: // // ["ip_add_del_route_reply", // ["u16", "_vl_msg_id"], @@ -846,7 +847,7 @@ func NewIPAddDelRouteReply() api.Message { } // IPMrouteAddDel represents the VPP binary API message 'ip_mroute_add_del'. -// Generated from 'bin_api/ip.api.json', line 245: +// Generated from '../../bin_api/ip.api.json', line 245: // // ["ip_mroute_add_del", // ["u16", "_vl_msg_id"], @@ -896,7 +897,7 @@ func NewIPMrouteAddDel() api.Message { } // IPMrouteAddDelReply represents the VPP binary API message 'ip_mroute_add_del_reply'. -// Generated from 'bin_api/ip.api.json', line 263: +// Generated from '../../bin_api/ip.api.json', line 263: // // ["ip_mroute_add_del_reply", // ["u16", "_vl_msg_id"], @@ -923,7 +924,7 @@ func NewIPMrouteAddDelReply() api.Message { } // IPMfibDump represents the VPP binary API message 'ip_mfib_dump'. -// Generated from 'bin_api/ip.api.json', line 269: +// Generated from '../../bin_api/ip.api.json', line 269: // // ["ip_mfib_dump", // ["u16", "_vl_msg_id"], @@ -949,7 +950,7 @@ func NewIPMfibDump() api.Message { } // IPMfibDetails represents the VPP binary API message 'ip_mfib_details'. -// Generated from 'bin_api/ip.api.json', line 275: +// Generated from '../../bin_api/ip.api.json', line 275: // // ["ip_mfib_details", // ["u16", "_vl_msg_id"], @@ -990,7 +991,7 @@ func NewIPMfibDetails() api.Message { } // IP6MfibDump represents the VPP binary API message 'ip6_mfib_dump'. -// Generated from 'bin_api/ip.api.json', line 288: +// Generated from '../../bin_api/ip.api.json', line 288: // // ["ip6_mfib_dump", // ["u16", "_vl_msg_id"], @@ -1016,7 +1017,7 @@ func NewIP6MfibDump() api.Message { } // IP6MfibDetails represents the VPP binary API message 'ip6_mfib_details'. -// Generated from 'bin_api/ip.api.json', line 294: +// Generated from '../../bin_api/ip.api.json', line 294: // // ["ip6_mfib_details", // ["u16", "_vl_msg_id"], @@ -1053,7 +1054,7 @@ func NewIP6MfibDetails() api.Message { } // IPAddressDetails represents the VPP binary API message 'ip_address_details'. -// Generated from 'bin_api/ip.api.json', line 305: +// Generated from '../../bin_api/ip.api.json', line 305: // // ["ip_address_details", // ["u16", "_vl_msg_id"], @@ -1087,7 +1088,7 @@ func NewIPAddressDetails() api.Message { } // IPAddressDump represents the VPP binary API message 'ip_address_dump'. -// Generated from 'bin_api/ip.api.json', line 315: +// Generated from '../../bin_api/ip.api.json', line 315: // // ["ip_address_dump", // ["u16", "_vl_msg_id"], @@ -1117,7 +1118,7 @@ func NewIPAddressDump() api.Message { } // IPDetails represents the VPP binary API message 'ip_details'. -// Generated from 'bin_api/ip.api.json', line 323: +// Generated from '../../bin_api/ip.api.json', line 323: // // ["ip_details", // ["u16", "_vl_msg_id"], @@ -1147,7 +1148,7 @@ func NewIPDetails() api.Message { } // IPDump represents the VPP binary API message 'ip_dump'. -// Generated from 'bin_api/ip.api.json', line 330: +// Generated from '../../bin_api/ip.api.json', line 330: // // ["ip_dump", // ["u16", "_vl_msg_id"], @@ -1175,7 +1176,7 @@ func NewIPDump() api.Message { } // MfibSignalDump represents the VPP binary API message 'mfib_signal_dump'. -// Generated from 'bin_api/ip.api.json', line 337: +// Generated from '../../bin_api/ip.api.json', line 337: // // ["mfib_signal_dump", // ["u16", "_vl_msg_id"], @@ -1201,7 +1202,7 @@ func NewMfibSignalDump() api.Message { } // MfibSignalDetails represents the VPP binary API message 'mfib_signal_details'. -// Generated from 'bin_api/ip.api.json', line 343: +// Generated from '../../bin_api/ip.api.json', line 343: // // ["mfib_signal_details", // ["u16", "_vl_msg_id"], -- cgit 1.2.3-korg