summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorDaniel Borkmann2013-04-16 03:57:46 +0200
committerDavid S. Miller2013-04-16 22:43:34 +0200
commit184f489e9b8c40b4dd4883d3f1364f7786c8755c (patch)
tree0cb73f7297e1ef2685fcec6310d530ea2993d19e /net/ieee802154
parentsctp: Add buffer utilization fields to /proc/net/sctp/assocs (diff)
downloadkernel-qcow2-linux-184f489e9b8c40b4dd4883d3f1364f7786c8755c.tar.gz
kernel-qcow2-linux-184f489e9b8c40b4dd4883d3f1364f7786c8755c.tar.xz
kernel-qcow2-linux-184f489e9b8c40b4dd4883d3f1364f7786c8755c.zip
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 <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions