Searched defs:nhc (Results 1 – 10 of 10) sorted by relevance
| /linux/net/ipv4/ |
| H A D | fib_semantics.c | 155 static void free_nh_exceptions(struct fib_nh_common *nhc) in free_nh_exceptions() 202 void fib_nh_common_release(struct fib_nh_common *nhc) in fib_nh_common_release() 493 static size_t fib_nexthop_nlmsg_size(const struct fib_nh_common *nhc, in fib_nexthop_nlmsg_size() 542 struct fib_nh_common *nhc = fib_info_nhc(fi, i); in fib_nlmsg_size() local 612 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_detect_death() local 641 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, in fib_nh_common_init() 1315 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc, in fib_info_update_nhc_saddr() 1335 struct fib_nh_common *nhc = res->nhc; in fib_result_prefsrc() local 1607 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_nexthop_info() 1676 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc, in fib_add_nexthop() [all …]
|
| H A D | route.c | 644 static void update_or_create_fnhe(struct fib_nh_common *nhc, __be32 daddr, in update_or_create_fnhe() 826 struct fib_nh_common *nhc; in __ip_do_redirect() local 1076 struct fib_nh_common *nhc; in __ip_rt_update_pmtu() local 1379 static void ip_del_fnhe(struct fib_nh_common *nhc, __be32 daddr) in ip_del_fnhe() 1413 static struct fib_nh_exception *find_exception(struct fib_nh_common *nhc, in find_exception() 1447 struct fib_nh_common *nhc = res->nhc; in ip_mtu_from_fib_result() local 1520 static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) in rt_cache_route() 1625 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in rt_set_nexthop() local 1846 struct fib_nh_common *nhc = FIB_RES_NHC(*res); in __mkroute_input() local 2269 struct fib_nh_common *nhc = res->fi ? res->nhc : NULL; in ip_rt_get_dev() local [all …]
|
| H A D | fib_frontend.c | 247 struct fib_nh_common *nhc = fib_info_nhc(res.fi, 0); in __inet_dev_addr_type() local 340 const struct fib_nh_common *nhc = fib_info_nhc(fi, ret); in fib_info_nh_uses_dev() local
|
| H A D | fib_rules.c | 155 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress() local
|
| H A D | fib_trie.c | 1402 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() local 2921 const struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_flag_trans() local 2970 struct fib_nh_common *nhc = fib_info_nhc(fi, 0); in fib_route_seq_show() local
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_router.c | 107 struct fib_nh_common *nhc, in prestera_util_nhc2nc_key() 134 struct fib_nh_common *nhc, in prestera_util_nhc_eq_n_cache_key() 304 prestera_util_kern_set_nh_offload(struct fib_nh_common *nhc, bool offloaded, bool trap) in prestera_util_kern_set_nh_offload() 584 struct fib_nh_common *nhc; in __prestera_kern_fib_cache_create_nhs() local 661 struct fib_nh_common *nhc; in __prestera_k_arb_fib_nh_offload_set() local 860 struct fib_nh_common *nhc; in __prestera_pr_k_arb_fc_lpm_info_calc() local
|
| /linux/include/net/ |
| H A D | ip_fib.h | 181 struct fib_nh_common *nhc; member 481 static inline bool nhc_l3mdev_matches_dev(const struct fib_nh_common *nhc, in nhc_l3mdev_matches_dev() 601 struct fib_nh_common *nhc = res->nhc; in fib_combine_itag() local
|
| H A D | nexthop.h | 359 struct fib_nh_common *nhc = &nhi->fib_nhc; in nexthop_mpath_fill_node() local
|
| H A D | vxlan.h | 566 struct fib_nh_common *nhc; in vxlan_fdb_nh_path_select() local
|
| /linux/net/core/ |
| H A D | filter.c | 6356 struct fib_nh_common *nhc; in bpf_ipv4_fib_lookup() local
|