the first message is a regular message (1:1 message and response) second one is a dump (1:n), standard way of doing dumps is to send the message followed by a control ping, then collect responses until the control ping reply comes back. this is what the api does for you
Quoting mhemmatp via lists.fd.io ( http://lists.fd.io/ ) (2019-02-12 18:28:33) > > Thanks for your reply. I am going to send my own customized message for > my > plugin. I noticed that there are two approaches to send messages: some > messages like vapi_msg_show_version use vapi_send() and some message > like > vapi_msg_sw_interface_dump use vapi_sw_interface_dump to send the > message. > Are these two approaches applicable to any message? > > Regards,
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12240): https://lists.fd.io/g/vpp-dev/message/12240 Mute This Topic: https://lists.fd.io/mt/29749976/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
