You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
91e2eb5684
commit
d76a436d50
@@ -52,6 +52,7 @@
|
||||
*/
|
||||
#define TIPC_MEDIA_INFO_SIZE 32
|
||||
#define TIPC_MEDIA_TYPE_OFFSET 3
|
||||
#define TIPC_MEDIA_ADDR_OFFSET 4
|
||||
|
||||
/*
|
||||
* Identifiers of supported TIPC media types
|
||||
|
||||
Reference in New Issue
Block a user