net: pim: add common pimhdr struct and helpers
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 31 Oct 2016 12:21:02 +0000 (13:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 20:18:29 +0000 (16:18 -0400)
commit556d299fcb4af8f2e8eacf311c4eee352c746788
tree662c8cf948ec61f99f691aeb913ab94d35903a30
parentf3a6f592e9873ff84cd007c2b94b32a4c178b141
net: pim: add common pimhdr struct and helpers

Add the common pimhdr structure and helpers to access it, also cleanup the
format of the header file.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pim.h