Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] lightening libethereals dependencies

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 22 Mar 2001 11:06:30 -0800 (PST)
> I've moved some of the utilites that are in dissectors that packet.c 
> depends on into some utility modules in the epan directory.
> 
> In particular I've moved some utilities from packet-sna and packet-atalk 
> into epan/atalk-utils.{c,h} and epan/sna-utils.{c,h}.

Hmm.

Perhaps the similar routines for MAC and IP addresses ("ether_to_str()",
"ether_to_str_punct()", "ip_to_str()", "ip_to_str_buf()",
"ip6_to_str()") should be moved from "epan/packet.c", which is a bit of
a grab-bag of stuff, into "epan/ether-utils.c", "epan/ip-utils.c", and
"epan/ipv6-utils.c"?