Re: [tcpdump-workers] compiler warnings on AIX and Solaris

2021-07-25 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message ---
On Sat, 24 Jul 2021 10:55:19 -0700
Guy Harris  wrote:

[...]

> If there's a way to force XL C to treat it as a hard error, we need
> to update the AC_LBL_CHECK_UNKNOWN_WARNING_OPTION_ERROR autoconf
> macro to set the compiler up to use it when testing whether compiler
> options are supported.
> 
> If there *isn't* a way to do that, the configure-script test also
> needs to scan the standard error of the compilation and look for the
> warning, and treat that as an indication of lack of support as well.
> (I think the equivalent test provided as part of CMake may already do
> that.)

The current master branch produces a much cleaner output for "make -s"
with XL C, thank you!

-- 
Denis Ovsienko
--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

[tcpdump-workers] Fwd: Wrong bytes for DSA To_CPU code.

2021-07-25 Thread Shady Atef via tcpdump-workers
--- Begin Message ---
I think the following page on the website has something wrong.
It lists b17,b16 and b12 as the code field for the To_CPU frames. While in
the `print_dsa.c` or the Linux kernel implementation, b18, b17 and b12 are
used.

https://www.tcpdump.org/linktypes/LINKTYPE_DSA_TAG_DSA.html

Another question, I work in a team building verification tool for Ethernet
designs.
Is there a method to differentiate between the normal Ethernet frames and
DSA-tagged one ? In other words, can a port multiplex between the two types
? or each port in a DSA device is known to utilize tagging or not ?
-- 
*Regards*
*Shady Atef .*


-- 
*Regards*
*Shady Atef .*
--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers