Lines Matching refs:res
210 __be32 fib_result_prefsrc(struct net *net, struct fib_result *res);
212 #define FIB_RES_NHC(res) ((res).nhc) argument
213 #define FIB_RES_DEV(res) (FIB_RES_NHC(res)->nhc_dev) argument
214 #define FIB_RES_OIF(res) (FIB_RES_NHC(res)->nhc_oif) argument
280 struct fib_result *res, int fib_flags);
317 struct fib_result *res, unsigned int flags) in fib_lookup() argument
326 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
372 struct fib_result *res, unsigned int flags);
375 struct fib_result *res, unsigned int flags) in fib_lookup() argument
382 return __fib_lookup(net, flp, res, flags); in fib_lookup()
386 res->tclassid = 0; in fib_lookup()
390 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
397 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
577 void fib_select_multipath(struct fib_result *res, int hash,
579 void fib_select_path(struct net *net, struct fib_result *res,
599 static inline void fib_combine_itag(u32 *itag, const struct fib_result *res) in fib_combine_itag() argument
602 struct fib_nh_common *nhc = res->nhc; in fib_combine_itag()
616 rtag = res->tclassid; in fib_combine_itag()
651 u32 ip_mtu_from_fib_result(struct fib_result *res, __be32 daddr);