Define struct pkt_hdr and functions on it.
Intent is to minimize number of passed arguments to getpacket(),
adjustpacket() and processpacket().
Vitezslav Samel (9):
packet.c: define struct pkt_hdr and functions on it
detstats(): use new struct pkt_hdr
hostmon(): use new struct pkt_hdr
ifstats(): use new struct pkt_hdr
fix include dependency hell
ipmon(): use new struct pkt_hdr
packet_size_breakdown(): use new struct pkt_hdr
servmon(): use new struct pkt_hdr
packet.c: remove unused *packet()
src/detstats.c | 26 +++++-------
src/fltselect.c | 1 +
src/fltselect.h | 2 +-
src/hostmon.c | 40 +++++++++---------
src/ifstats.c | 25 +++++-------
src/itrafmon.c | 58 ++++++++++++--------------
src/othptab.c | 20 +++++----
src/othptab.h | 11 +++--
src/packet.c | 121 ++++++++++++++++++++++++++++++-------------------------
src/packet.h | 34 ++++++++++++---
src/pktsize.c | 15 +++----
src/serv.c | 25 +++++-------
12 files changed, 195 insertions(+), 183 deletions(-)
--
1.7.8.4