From 184f489e9b8c40b4dd4883d3f1364f7786c8755c Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 16 Apr 2013 01:57:46 +0000 Subject: [PATCH] packet: minor: add generic tpacket_uhdr to access packet headers There is no need to add a dozen unions each time at the start of the function. So, do this once and use it instead. Thus, we can remove some duplicate code and make it more readable. Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-format-patch failed