]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Hide media-specific addressing details from generic bearer code
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 7 Oct 2011 19:19:11 +0000 (15:19 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:36 +0000 (11:33 -0500)
commit54c2b63a81ed686c796a1ef9fc2f7b253ca8d5ef
tree57616bd9e10a70b9146cb46ccd8905ee2a75475d
parent27fd3a692b8d05414003fd70a0cdcd48a061ed90
tipc: Hide media-specific addressing details from generic bearer code

Reworks TIPC's media address data structure and associated processing
routines to transfer all media-specific details of address conversion
to the associated TIPC media adaptation code. TIPC's generic bearer code
now only needs to know which media type an address is associated with
and whether or not it is a broadcast address, and totally ignores the
"value" field that contains the actual media-specific addressing info.

These changes eliminate the need for a number of endianness conversion
operations and will make it easier for TIPC to support new media types
in the future.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/discover.c
net/tipc/eth_media.c
net/tipc/msg.c
net/tipc/msg.h