Re: [vpp-dev] macro definition

2016-10-13 Thread Burt Silverman
d the template string, it will be obvious where to find the > list of suffixes. > > > > Thanks… Dave > > > > *From:* vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] *On > Behalf Of *Burt Silverman > *Sent:* Wednesday, October 12, 2016 10:38 PM >

Re: [vpp-dev] macro definition

2016-10-13 Thread yug...@telincn.com
Thanks. yug...@telincn.com From: Dave Barach (dbarach) Date: 2016-10-13 19:20 To: Burt Silverman; yug...@telincn.com CC: vpp-dev Subject: RE: [vpp-dev] macro definition Here’s what I do... Use cscope [or some other tool] to search for the text string ETHERNET_TYPE_##. Symbols such as

Re: [vpp-dev] macro definition

2016-10-13 Thread Dave Barach (dbarach)
suffixes. Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Burt Silverman Sent: Wednesday, October 12, 2016 10:38 PM To: yug...@telincn.com Cc: vpp-dev Subject: Re: [vpp-dev] macro definition Ewan, There is a fragment of code in vnet/vnet/ethernet

Re: [vpp-dev] macro definition

2016-10-12 Thread Burt Silverman
Ewan, There is a fragment of code in vnet/vnet/ethernet/types.def from which you can derive the definitions. Because types.def is only a fragment of code, used in multiple ways, automated tools like Eclipse that normally do well with macros do not do well here. Burt On Fri, Oct 7, 2016 at 9:01 P

[vpp-dev] macro definition

2016-10-12 Thread yug...@telincn.com
Hi, there Thanks a lot for your time to read this. Where is the definitions of "ETHERNET_TYPE_ARP" "ETHERNET_TYPE_IP4". How can i add a new protocol type such as pppoe. Best wishes By Ewan yug...@telincn.com ___ vpp-dev mailing list vpp-dev@list