OSDN Git Service

tipc: make media address offset a common define
authorErik Hugne <erik.hugne@ericsson.com>
Fri, 27 Feb 2015 07:56:58 +0000 (08:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 23:18:48 +0000 (18:18 -0500)
commitd76a436d50d1ebce352e1815eaea79a254b2b24f
tree6d5b3bdd02fd7586b54de631f806e76efcdbfb50
parent91e2eb56845a018e5c691acf87137baf05316c4e
tipc: make media address offset a common define

With the exception of infiniband media which does not use media
offsets, the media address is always located at offset 4 in the
media info field as defined by the protocol, so we move the
definition to the generic bearer.h

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.h
net/tipc/eth_media.c