diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-15 04:08:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-15 04:08:53 +0000 |
commit | e06f0436a4d3ce4d7d57edbe51004ec609c54db8 (patch) | |
tree | bca3d7f9b02e14e511f000a8201304ac30ecc2cb /wiretap/wtap.h | |
parent | eece5cf1996fbdf0b2080dee2245b5b871a47bf9 (diff) |
We already define ETHERTYPE_LLDP in "etypes.h" - use that, don't define
our own.
Get rid of MAC_to_str() - ether_to_str() suffices.
Don't copy to on-the-stack fixed-size string buffers, just save the
results of various formatting calls as pointers.
Use tvb_format_text() to get displayable versions of text strings.
Use tvb_get_ipv4() and tvb_get_ipv6().
Don't put an item into the protocol tree as text and then put in a
hidden item that, if unhidden, would display the same or almost exactly
the same; just put the item into the tree unhidden.
svn path=/trunk/; revision=15808
Diffstat (limited to 'wiretap/wtap.h')
0 files changed, 0 insertions, 0 deletions