Home
last modified time | relevance | path

Searched refs:fib_nh_common (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dip_fib.h80 struct fib_nh_common { struct
104 struct fib_nh_common nh_common;
173 struct fib_nh_common *nhc;
200 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
451 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev()
467 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
483 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
487 void fib_nh_common_release(struct fib_nh_common *nhc);
493 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
499 struct fib_nh_common *nh in fib_combine_itag()
[all...]
H A Dnexthop.h60 struct fib_nh_common fib_nhc;
211 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()
252 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc()
276 struct fib_nh_common *nexthop_get_nhc_lookup(const struct nexthop *nh, in nexthop_get_nhc_lookup()
343 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc()
446 struct fib_nh_common *nexthop_fdb_nhc(struct nexthop *nh) in nexthop_fdb_nhc()
453 static inline struct fib_nh_common *nexthop_path_fdb_result(struct nexthop *nh, in nexthop_path_fdb_result()
H A Dip6_fib.h153 struct fib_nh_common nh_common;
H A Dvxlan.h503 struct fib_nh_common *nhc; in vxlan_fdb_nh_path_select()
/kernel/linux/linux-6.6/include/net/
H A Dip_fib.h81 struct fib_nh_common { struct
106 struct fib_nh_common nh_common;
176 struct fib_nh_common *nhc;
203 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
458 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev()
474 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
533 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc,
537 void fib_nh_common_release(struct fib_nh_common *nhc);
543 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
549 struct fib_nh_common *nh in fib_combine_itag()
[all...]
H A Dnexthop.h66 struct fib_nh_common fib_nhc;
325 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()
366 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc()
390 struct fib_nh_common *nexthop_get_nhc_lookup(const struct nexthop *nh, in nexthop_get_nhc_lookup()
457 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc()
537 struct fib_nh_common *nexthop_fdb_nhc(struct nexthop *nh) in nexthop_fdb_nhc()
544 static inline struct fib_nh_common *nexthop_path_fdb_result(struct nexthop *nh, in nexthop_path_fdb_result()
H A Dip6_fib.h154 struct fib_nh_common nh_common;
H A Dvxlan.h562 struct fib_nh_common *nhc; in vxlan_fdb_nh_path_select()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_semantics.c164 static void free_nh_exceptions(struct fib_nh_common *nhc) in free_nh_exceptions()
211 void fib_nh_common_release(struct fib_nh_common *nhc) in fib_nh_common_release()
494 struct fib_nh_common *nhc = fib_info_nhc(fi, i); in fib_nlmsg_size()
553 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_detect_death()
583 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, in fib_nh_common_init()
1344 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, in fib_info_update_nhc_saddr()
1364 struct fib_nh_common *nhc = res->nhc; in fib_result_prefsrc()
1654 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_nexthop_info()
1726 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_add_nexthop()
1851 const struct fib_nh_common *nh in fib_dump_info()
[all...]
H A Droute.c668 static void update_or_create_fnhe(struct fib_nh_common *nhc, __be32 daddr, in update_or_create_fnhe()
820 struct fib_nh_common *nhc; in __ip_do_redirect()
1066 struct fib_nh_common *nhc; in __ip_rt_update_pmtu()
1368 static void ip_del_fnhe(struct fib_nh_common *nhc, __be32 daddr) in ip_del_fnhe()
1402 static struct fib_nh_exception *find_exception(struct fib_nh_common *nhc, in find_exception()
1436 struct fib_nh_common *nhc = res->nhc; in ip_mtu_from_fib_result()
1509 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route()
1612 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in rt_set_nexthop()
1833 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in __mkroute_input()
2120 struct fib_nh_common *nh in ip_rt_get_dev()
[all...]
H A Dfib_rules.c151 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress()
H A Dfib_trie.c1376 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, in fib_lookup_good_nhc()
1528 struct fib_nh_common *nhc; in fib_table_lookup()
2907 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_flag_trans()
2956 struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_route_seq_show()
H A Dfib_frontend.c225 struct fib_nh_common *nhc = fib_info_nhc(res.fi, 0); in __inet_dev_addr_type()
318 const struct fib_nh_common *nhc = fib_info_nhc(fi, ret); in fib_info_nh_uses_dev()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_semantics.c166 static void free_nh_exceptions(struct fib_nh_common *nhc) in free_nh_exceptions()
213 void fib_nh_common_release(struct fib_nh_common *nhc) in fib_nh_common_release()
494 struct fib_nh_common *nhc = fib_info_nhc(fi, i); in fib_nlmsg_size()
554 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_detect_death()
584 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, in fib_nh_common_init()
1324 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, in fib_info_update_nhc_saddr()
1344 struct fib_nh_common *nhc = res->nhc; in fib_result_prefsrc()
1636 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_nexthop_info()
1707 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_add_nexthop()
1832 const struct fib_nh_common *nh in fib_dump_info()
[all...]
H A Droute.c638 static void update_or_create_fnhe(struct fib_nh_common *nhc, __be32 daddr, in update_or_create_fnhe()
791 struct fib_nh_common *nhc; in __ip_do_redirect()
1047 struct fib_nh_common *nhc; in __ip_rt_update_pmtu()
1330 static void ip_del_fnhe(struct fib_nh_common *nhc, __be32 daddr) in ip_del_fnhe()
1364 static struct fib_nh_exception *find_exception(struct fib_nh_common *nhc, in find_exception()
1398 struct fib_nh_common *nhc = res->nhc; in ip_mtu_from_fib_result()
1471 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route()
1579 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in rt_set_nexthop()
1795 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in __mkroute_input()
2201 struct fib_nh_common *nh in ip_rt_get_dev()
[all...]
H A Dfib_rules.c152 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress()
H A Dfib_trie.c1426 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, in fib_lookup_good_nhc()
1575 struct fib_nh_common *nhc; in fib_table_lookup()
2950 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_flag_trans()
2999 struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_route_seq_show()
H A Dfib_frontend.c226 struct fib_nh_common *nhc = fib_info_nhc(res.fi, 0); in __inet_dev_addr_type()
319 const struct fib_nh_common *nhc = fib_info_nhc(fi, ret); in fib_info_nh_uses_dev()
/kernel/linux/linux-5.10/include/trace/events/
H A Dfib.h16 const struct fib_nh_common *nhc, int err),
/kernel/linux/linux-6.6/include/trace/events/
H A Dfib.h16 const struct fib_nh_common *nhc, int err),
/kernel/linux/linux-5.10/net/core/
H A Dfilter.c5381 struct fib_nh_common *nhc; in bpf_ipv4_fib_lookup()
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c5809 struct fib_nh_common *nhc; in bpf_ipv4_fib_lookup()

Completed in 58 milliseconds