Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Dip_fib.h80 struct fib_nh_common { struct
104 struct fib_nh_common nh_common; argument
172 struct fib_nh_common *nhc;
199 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
432 void fib_nhc_update_mtu(struct fib_nh_common *nhc, u32 new, u32 orig);
448 int fib_nh_common_init(struct fib_nh_common *nhc, struct nlattr *fc_encap,
451 void fib_nh_common_release(struct fib_nh_common *nhc);
460 struct fib_nh_common *nhc = res->nhc; in fib_combine_itag()
515 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nh,
517 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nh,
Dnexthop.h57 struct fib_nh_common fib_nhc;
173 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node()
212 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc()
240 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc()
Dip6_fib.h126 struct fib_nh_common nh_common;
/Linux-v5.4/net/ipv4/
Dfib_semantics.c162 static void free_nh_exceptions(struct fib_nh_common *nhc) in free_nh_exceptions()
209 void fib_nh_common_release(struct fib_nh_common *nhc) in fib_nh_common_release()
484 struct fib_nh_common *nhc = fib_info_nhc(fi, i); in fib_nlmsg_size()
536 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_detect_death()
566 int fib_nh_common_init(struct fib_nh_common *nhc, struct nlattr *encap, in fib_nh_common_init()
1280 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, in fib_info_update_nhc_saddr()
1297 struct fib_nh_common *nhc = res->nhc; in fib_result_prefsrc()
1584 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_nexthop_info()
1656 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_add_nexthop()
1776 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_dump_info()
[all …]
Droute.c644 static void update_or_create_fnhe(struct fib_nh_common *nhc, __be32 daddr, in update_or_create_fnhe()
789 struct fib_nh_common *nhc = FIB_RES_NHC(res); in __ip_do_redirect()
1037 struct fib_nh_common *nhc = FIB_RES_NHC(res); in __ip_rt_update_pmtu()
1325 static void ip_del_fnhe(struct fib_nh_common *nhc, __be32 daddr) in ip_del_fnhe()
1359 static struct fib_nh_exception *find_exception(struct fib_nh_common *nhc, in find_exception()
1393 struct fib_nh_common *nhc = res->nhc; in ip_mtu_from_fib_result()
1466 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route()
1569 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in rt_set_nexthop()
1786 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in __mkroute_input()
2168 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in ip_route_input_slow()
[all …]
Dfib_rules.c146 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress()
Dfib_frontend.c235 struct fib_nh_common *nhc = fib_info_nhc(res.fi, 0); in __inet_dev_addr_type()
325 const struct fib_nh_common *nhc = fib_info_nhc(fi, ret); in fib_info_nh_uses_dev()
Dfib_trie.c1474 struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); in fib_table_lookup()
2752 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_flag_trans()
2801 struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_route_seq_show()
/Linux-v5.4/include/trace/events/
Dfib.h16 const struct fib_nh_common *nhc, int err),
/Linux-v5.4/net/core/
Dfilter.c4615 struct fib_nh_common *nhc; in bpf_ipv4_fib_lookup()