Add a routine to convert Ethernet packet types to strings.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 3 Nov 1998 07:45:10 +0000 (07:45 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 3 Nov 1998 07:45:10 +0000 (07:45 +0000)
commit5dc44bab5dc1121e2ee41c12716ee268dff7d6d1
tree9347e0924ee3cc6c296c732371d6b2947bfadfde
parent8b5abd1e8c4bdf48220c3c442b8e56128bec2ef3
Add a routine to convert Ethernet packet types to strings.

Use that routine in "ethertype()".

Have "dissect_arp()" handle hardware addresses that aren't
6-byte Ethernet addresses and protocol addresses that aren't
4-byte IPv4 addresses - currently, it just prints the first 16
hex digits, but it could be made to handle other types specially
just as it handles 6-byte Ethernet and 4-byte IPv4 addresses.

Have it decode a more complete set of hardware address types.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@78 f5534014-38df-0310-8fa8-9805f1628bb7
ethertype.c
packet-arp.c
packet.h