ring: Merge common ring_{rx,tx} initialization into own function
commit9a40de458b3884d9f526172110392501f075bd87
authorTobias Klauser <tklauser@distanz.ch>
Fri, 9 May 2014 13:46:38 +0000 (9 15:46 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 9 May 2014 13:46:38 +0000 (9 15:46 +0200)
treeff621d506b408a74a0ccea32e5f3f97b5ad0a210
parent61a233a283171832a1ac5d580cf9487f9b7aec0a
ring: Merge common ring_{rx,tx} initialization into own function

Instead of having to perform the individual steps to initialize a ring
and open coding them in multiple places, provide convenience functions
to do all at once. This has the nice side effect of allowing to make
most of these *_{rx,tx}_ring() functions static in their respective
module.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
astraceroute.c
netsniff-ng.c
ring_rx.c
ring_rx.h
ring_tx.c
ring_tx.h
trafgen.c