• Eric W. Biederman's avatar
    add support for the RTA_NEWDST attribute. · 6f7a9f4d
    Eric W. Biederman authored
    This attribute is like RTA_DST except it specifies the destination
    address to place on a packet when it leaves the host.  For ip based
    protocols this is destination NAT and not a common part of forwarding.
    For protocols like MPLS label swapping is something that typically
    happens on every hop.
    
    There is likely to be a RTA_NEWSRC at some point so RTA_NEWDST
    is printed as "as to"  and can be specified either as "as to"
    or just "as"
    Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    6f7a9f4d
iproute.c 47.1 KB