Searched hist:e6464b8c6361962f5ff99dc95d010b64432c27b5 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | addrconf.h | diff e6464b8c6361962f5ff99dc95d010b64432c27b5 Sun May 27 10:09:53 CDT 2018 David Ahern <dsahern@gmail.com> net/ipv6: Convert ipv6_add_addr to struct ifa6_config
Move config parameters for adding an ipv6 address to a struct. struct names stem from inet6_rtm_newaddr which is the modern handler for adding an address.
Start the conversion to ifa6_config with ipv6_add_addr. This is an argument move only; no functional change intended. Mapping of variable changes:
addr --> cfg->pfx peer_addr --> cfg->peer_pfx pfxlen --> cfg->plen flags --> cfg->ifa_flags
scope, valid_lft, prefered_lft have the same names within cfg (with corrected spelling).
Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | diff e6464b8c6361962f5ff99dc95d010b64432c27b5 Sun May 27 10:09:53 CDT 2018 David Ahern <dsahern@gmail.com> net/ipv6: Convert ipv6_add_addr to struct ifa6_config
Move config parameters for adding an ipv6 address to a struct. struct names stem from inet6_rtm_newaddr which is the modern handler for adding an address.
Start the conversion to ifa6_config with ipv6_add_addr. This is an argument move only; no functional change intended. Mapping of variable changes:
addr --> cfg->pfx peer_addr --> cfg->peer_pfx pfxlen --> cfg->plen flags --> cfg->ifa_flags
scope, valid_lft, prefered_lft have the same names within cfg (with corrected spelling).
Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|