Re: [vpp-dev] Nested structure in vpp api file.

2020-02-03 Thread Ole Troan
Hi Himanshu, > Thanks for the reply. With the reference I was able to create nested > structure in .api file. > > BTW what do you mean by we support only a single VLA? In any message, including a nested one, only one field can be of variable length. That field must be last in the message. Th

Re: [vpp-dev] Nested structure in vpp api file.

2020-02-03 Thread Himanshu Rakshit
Hi Ole, Thanks for the reply. With the reference I was able to create nested structure in .api file. BTW what do you mean by *we support only a single VLA?* Thanks & Regards Himanshu On Mon, 3 Feb 2020 at 18:44, wrote: > Himanshu, > > > I want to write a vpp plugin. I take the sample-plugin a

Re: [vpp-dev] Nested structure in vpp api file.

2020-02-03 Thread Ole Troan
Himanshu, > I want to write a vpp plugin. I take the sample-plugin as a reference. I am > facing an issue while creating a nested structure in the .api file. > > What is the proper way of defining nested structure in the .api file. Look at e.g. ip.api or ip_types.api as examples. Note that we

[vpp-dev] Nested structure in vpp api file.

2020-02-03 Thread Himanshu Rakshit
Hi All, I want to write a vpp plugin. I take the sample-plugin as a reference. I am facing an issue while creating a nested structure in the .api file. What is the proper way of defining nested structure in the .api file. Thanks, Himanshu -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages