ring: move duplicate/generic code parts from rx/tx into ring.c
commit0f765f49ac231d99f493f00c0f0986fbeff2615d
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 31 May 2013 09:46:02 +0000 (31 11:46 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Fri, 31 May 2013 09:46:02 +0000 (31 11:46 +0200)
tree2e95098e81134cccd69a306fff3408309fdf9060
parenta75bad23ef43e05715e0bbf57bb24f682c1bdd13
ring: move duplicate/generic code parts from rx/tx into ring.c

We do not want to maintain duplicate code, so move this into a separate
file and name those *_generic() helpers.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
astraceroute/Makefile
netsniff-ng/Makefile
ring.c [new file with mode: 0644]
ring.h
ring_rx.c
ring_tx.c
trafgen/Makefile