]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a31413181737883f3cd82577bfe0803f5c0e773
tree75a0be41c269d953a48edfa3d052a08352f85bcd
parent77b0a06c5a95a178ee501ec224a8609d2b918199
net: introduce proto_ports_offset()

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