Home
last modified time | relevance | path

Searched refs:fib_nh_common (Results 1 – 7 of 7) sorted by relevance

/linux/include/net/
H A Dip_fib.h83 struct fib_nh_common { struct
108 struct fib_nh_common nh_common; argument
181 struct fib_nh_common *nhc;
208 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
482 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev()
498 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
586 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
590 void fib_nh_common_release(struct fib_nh_common *nhc);
596 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
602 struct fib_nh_common *nhc = res->nhc; in fib_combine_itag()
[all …]
H A Dnexthop.h68 struct fib_nh_common fib_nhc;
357 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()
398 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc()
422 struct fib_nh_common *nexthop_get_nhc_lookup(const struct nexthop *nh, in nexthop_get_nhc_lookup()
489 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc()
569 struct fib_nh_common *nexthop_fdb_nhc(struct nexthop *nh) in nexthop_fdb_nhc()
576 static inline struct fib_nh_common *nexthop_path_fdb_result(struct nexthop *nh, in nexthop_path_fdb_result()
H A Dvxlan.h568 struct fib_nh_common *nhc; in vxlan_fdb_nh_path_select()
H A Dip6_fib.h148 struct fib_nh_common nh_common;
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c107 struct fib_nh_common *nhc, in prestera_util_nhc2nc_key()
134 struct fib_nh_common *nhc, in prestera_util_nhc_eq_n_cache_key()
169 struct fib_nh_common *fib_nhc; in __prestera_fi_is_direct()
264 struct fib_nh_common *fib_nhc; in __prestera_util_kern_n_is_reachable_v4()
304 prestera_util_kern_set_nh_offload(struct fib_nh_common *nhc, bool offloaded, bool trap) in prestera_util_kern_set_nh_offload()
317 static struct fib_nh_common *
584 struct fib_nh_common *nhc; in __prestera_kern_fib_cache_create_nhs()
661 struct fib_nh_common *nhc; in __prestera_k_arb_fib_nh_offload_set()
860 struct fib_nh_common *nhc; in __prestera_pr_k_arb_fc_lpm_info_calc()
/linux/net/ipv4/
H A Dfib_trie.c1402 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, in fib_lookup_good_nhc()
1551 struct fib_nh_common *nhc; in fib_table_lookup()
2924 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_flag_trans()
2973 struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_route_seq_show()
/linux/net/core/
H A Dfilter.c6138 struct fib_nh_common *nhc; in bpf_ipv4_fib_lookup()