]> git.karo-electronics.de Git - linux-beck.git/commit
RDMA/addr: Add support for translating IPv6 addresses
authorAleksey Senin <alekseys@voltaire.com>
Wed, 24 Dec 2008 18:16:37 +0000 (10:16 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 24 Dec 2008 18:16:37 +0000 (10:16 -0800)
commit38617c64bf9a10bf20e41d95b69bb81e8560fe9d
treec8ecf25f528bae1320c21d09eb61edb956f6d438
parent061e41fdb5047b1fb161e89664057835935ca1d2
RDMA/addr: Add support for translating IPv6 addresses

Add support for translating AF_INET6 addresses to the IB address
translation service.  This requires using struct sockaddr_storage
instead of struct sockaddr wherever an IPv6 address might be stored,
and adding cases to handle IPv6 in addition to IPv4 to the various
translation functions.

Signed-off-by: Aleksey Senin <aleksey@alst60.(none)>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/addr.c