Thread (7 messages) 7 messages, 2 authors, 2013-05-19

Re: [RESEND PATCH net-next v2] ipv6: add support of peer address

From: David Miller <davem@davemloft.net>
Date: 2013-05-19 22:10:02

From: Nicolas Dichtel <redacted>
Date: Fri, 17 May 2013 10:32:00 +0200
This patch adds the support of peer address for IPv6. For example, it is
possible to specify the remote end of a 6inY tunnel.
This was already possible in IPv4:
 ip addr add ip1 peer ip2 dev dev1

The peer address is specified with IFA_ADDRESS and the local address with
IFA_LOCAL (like explained in include/uapi/linux/if_addr.h).
Note that the API is not changed, because before this patch, it was not
possible to specify two different addresses in IFA_LOCAL and IFA_REMOTE.
There is a small change for the dump: if the peer is different from ::,
IFA_ADDRESS will contain the peer address instead of the local address.

Signed-off-by: Nicolas Dichtel <redacted>
Applied, thanks Nicolas.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help