Lines Matching refs:ci
4607 struct ifa_cacheinfo *ci; in inet6_rtm_newaddr() local
4609 ci = nla_data(tb[IFA_CACHEINFO]); in inet6_rtm_newaddr()
4610 valid_lft = ci->ifa_valid; in inet6_rtm_newaddr()
4611 preferred_lft = ci->ifa_prefered; in inet6_rtm_newaddr()
4665 struct ifa_cacheinfo ci; in put_cacheinfo() local
4667 ci.cstamp = cstamp_delta(cstamp); in put_cacheinfo()
4668 ci.tstamp = cstamp_delta(tstamp); in put_cacheinfo()
4669 ci.ifa_prefered = preferred; in put_cacheinfo()
4670 ci.ifa_valid = valid; in put_cacheinfo()
4672 return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci); in put_cacheinfo()
5185 struct ifla_cacheinfo ci; in inet6_fill_ifla6_attrs() local
5189 ci.max_reasm_len = IPV6_MAXPLEN; in inet6_fill_ifla6_attrs()
5190 ci.tstamp = cstamp_delta(idev->tstamp); in inet6_fill_ifla6_attrs()
5191 ci.reachable_time = jiffies_to_msecs(idev->nd_parms->reachable_time); in inet6_fill_ifla6_attrs()
5192 ci.retrans_time = jiffies_to_msecs(NEIGH_VAR(idev->nd_parms, RETRANS_TIME)); in inet6_fill_ifla6_attrs()
5193 if (nla_put(skb, IFLA_INET6_CACHEINFO, sizeof(ci), &ci)) in inet6_fill_ifla6_attrs()
5511 struct prefix_cacheinfo ci; in inet6_fill_prefix() local
5533 ci.preferred_time = ntohl(pinfo->prefered); in inet6_fill_prefix()
5534 ci.valid_time = ntohl(pinfo->valid); in inet6_fill_prefix()
5535 if (nla_put(skb, PREFIX_CACHEINFO, sizeof(ci), &ci)) in inet6_fill_prefix()