tipc: Add new address conversion routines for Ethernet media
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 7 Oct 2011 17:37:34 +0000 (13:37 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:27 +0000 (11:33 -0500)
commit4d163a326fa4868cce1bb75dd95855d40e5497c6
tree7c126c2875c638bd85c7edc083c3f014a57b6a42
parentc61b666e260d5cc2e0203b21c689321e6ab0d676
tipc: Add new address conversion routines for Ethernet media

Enhances TIPC's Ethernet media support to provide 3 new address conversion
routines, which allow TIPC to interpret an address that is in string form
and to convert an address to and from the 20 byte format used in TIPC's
neighbor discovery messages.

These routines are pre-requisites to a follow on commit that hides all
media-specific addressing details from TIPC's generic bearer code.

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