Searched refs:f6i (Results 1 – 4 of 4) sorted by relevance
238 struct fib6_info *f6i; member262 static inline void fib6_clean_expires(struct fib6_info *f6i) in fib6_clean_expires() argument264 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires()265 f6i->expires = 0; in fib6_clean_expires()268 static inline void fib6_set_expires(struct fib6_info *f6i, in fib6_set_expires() argument271 f6i->expires = expires; in fib6_set_expires()272 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires()275 static inline bool fib6_check_expired(const struct fib6_info *f6i) in fib6_check_expired() argument277 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()278 return time_after(jiffies, f6i->expires); in fib6_check_expired()[all …]
74 static inline bool rt6_qualify_for_ecmp(const struct fib6_info *f6i) in rt6_qualify_for_ecmp() argument77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()78 f6i->fib6_nh->fib_nh_gw_family; in rt6_qualify_for_ecmp()126 int ip6_ins_rt(struct net *net, struct fib6_info *f6i);127 int ip6_del_rt(struct net *net, struct fib6_info *f6i, bool skip_notify);129 void rt6_flush_exceptions(struct fib6_info *f6i);130 void rt6_age_exceptions(struct fib6_info *f6i, struct fib6_gc_args *gc_args,133 static inline int ip6_route_get_saddr(struct net *net, struct fib6_info *f6i, in ip6_route_get_saddr() argument140 if (f6i && f6i->fib6_prefsrc.plen) { in ip6_route_get_saddr()141 *saddr = f6i->fib6_prefsrc.addr; in ip6_route_get_saddr()[all …]
523 static inline struct net_device *fib6_info_nh_dev(struct fib6_info *f6i) in fib6_info_nh_dev() argument527 fib6_nh = f6i->nh ? nexthop_fib6_nh(f6i->nh) : f6i->fib6_nh; in fib6_info_nh_dev()533 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result()
70 if (res->f6i == net->ipv6.fib6_null_entry) {