summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-06-20 21:29:55 +0000
committerluigi <luigi@FreeBSD.org>2002-06-20 21:29:55 +0000
commit44cc39dc68fd4f5d03568c9ff13c5e4eb2ce789f (patch)
treed6fbb5da8ec0156fd317bb5663cf3d66bee8dbb5 /contrib/tcpdump/tcpdump.c
parentd0fe7ef0c80799f14a11f30e2a23335c2c83bfa2 (diff)
downloadFreeBSD-src-44cc39dc68fd4f5d03568c9ff13c5e4eb2ce789f.zip
FreeBSD-src-44cc39dc68fd4f5d03568c9ff13c5e4eb2ce789f.tar.gz
Add some #define's for mbuf annotations.
As the comment in the code says, eventually there will be a proper data structure (e.g NetBSD's struct m_tag) to store chains of annotations, and mbuf-handling procedures will handle these chains in the correct way. Right now, these chains do not exist, and we just use the constants defined here to implement simple ad-hoc solutions to remove some global variables used so far to pass around informations about packets being processed. Global variables are not only ugly and make the code unreadable, they also prevent from using parallelism in network stack processing. (the 3-days MFC only refers to this commit, i.e. the PACKET_TAG_* constants; the full mechanism will be committed and MFC'ed on a longer timescale). MFC after: 3 days
Diffstat (limited to 'contrib/tcpdump/tcpdump.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud