net: introduce proto_ports_offset()
authorChangli Gao <xiaosuo@gmail.com>
Tue, 17 Aug 2010 19:03:44 +0000 (19:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2010 00:16:23 +0000 (17:16 -0700)
Introduce proto_ports_offset() for getting the position of the ports or
SPI in the message of a protocol.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in.h

Simple merge