Home
last modified time | relevance | path

Searched refs:preferred (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Ddevinet.c1465 unsigned long tstamp, u32 preferred, u32 valid) in put_cacheinfo() argument
1471 ci.ifa_prefered = preferred; in put_cacheinfo()
1482 u32 preferred, valid; in inet_fill_ifaddr() local
1496 preferred = ifa->ifa_preferred_lft; in inet_fill_ifaddr()
1498 if (preferred != INFINITY_LIFE_TIME) { in inet_fill_ifaddr()
1501 if (preferred > tval) in inet_fill_ifaddr()
1502 preferred -= tval; in inet_fill_ifaddr()
1504 preferred = 0; in inet_fill_ifaddr()
1513 preferred = INFINITY_LIFE_TIME; in inet_fill_ifaddr()
1526 preferred, valid)) in inet_fill_ifaddr()
/net/ipv6/
Daddrconf.c4068 unsigned long tstamp, u32 preferred, u32 valid) in put_cacheinfo() argument
4074 ci.ifa_prefered = preferred; in put_cacheinfo()
4105 u32 preferred, valid; in inet6_fill_ifaddr() local
4116 preferred = ifa->prefered_lft; in inet6_fill_ifaddr()
4118 if (preferred != INFINITY_LIFE_TIME) { in inet6_fill_ifaddr()
4120 if (preferred > tval) in inet6_fill_ifaddr()
4121 preferred -= tval; in inet6_fill_ifaddr()
4123 preferred = 0; in inet6_fill_ifaddr()
4132 preferred = INFINITY_LIFE_TIME; in inet6_fill_ifaddr()
4144 if (put_cacheinfo(skb, ifa->cstamp, ifa->tstamp, preferred, valid) < 0) in inet6_fill_ifaddr()