On Jun 24, 2018, at 11:40 AM, Michael Richardson <m...@sandelman.ca> wrote:

> Questions:
>  1) should we have some test case or something that checks that the _MAX
>  values are identical?  Perhaps a compile-time test using #error?

That sounds like a good idea.  I've done that in 
3367fed4b1ff7341966428e5e59674475729cc1c.

>  2) should we move the LINKTYPE_ defines to another file, and generate that
>  file with a script?
>  Should we just generate dlt.h and that new file from a third file (YAML
>  or JSON or CSV format...)

I like the "third file" idea.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to