Hi,

> Every API message has a ID number, where can I get the specific number?

The API client gets the message dictionary on connect.
The message ID numbers depend on the plugins loaded and so on.

There is an API where you can map name to ID.
vppapiclient.h:
  int vac_get_msg_index(unsigned char * name);

or you can iterate through
api_main_t *am = &api_main;
am->msg_index_by_name_and_crc;

Typically the language bindings would hide this for you. What are you trying to 
do?

Best regards,
Ole

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to