summaryrefslogtreecommitdiff
path: root/ring.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-31ring: setup frame structure for v2/v3 in a generic wayDaniel Borkmann1-6/+5
Prepare TPACKET_V3 for allowing to transparently setting up the frame structure such that we do not need to change much in the netsniff-ng/trafgen code. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-05-31ring: move duplicate/generic code parts from rx/tx into ring.cDaniel Borkmann1-0/+64
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>