ring: add necessary structures and helper functions for v3

Prepare and add some structures an helper functions for TPACKET_V3.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>