Home
last modified time | relevance | path

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

/include/net/
Dnexthop.h99 struct nexthop *nh; member
184 struct nh_notifier_single_info nh; member
212 struct nh_notifier_single_info *nh; member
232 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get() argument
234 return refcount_inc_not_zero(&nh->refcnt); in nexthop_get()
237 static inline void nexthop_put(struct nexthop *nh) in nexthop_put() argument
239 if (refcount_dec_and_test(&nh->refcnt)) in nexthop_put()
240 call_rcu(&nh->rcu, nexthop_free_rcu); in nexthop_put()
249 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb() argument
251 if (nh->is_group) { in nexthop_is_fdb()
[all …]
Dip6_route.h77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
309 if (a->nh || b->nh) in rt6_duplicate_nexthop()
310 return nexthop_cmp(a->nh, b->nh); in rt6_duplicate_nexthop()
Dip_fib.h154 struct nexthop *nh; member
519 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope,
550 struct fib_nh *nh; in fib_combine_itag() local
552 nh = container_of(nhc, struct fib_nh, nh_common); in fib_combine_itag()
553 *itag = nh->nh_tclassid << 16; in fib_combine_itag()
600 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nh,
602 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nh,
Dvxlan.h499 static inline bool vxlan_fdb_nh_path_select(struct nexthop *nh, in vxlan_fdb_nh_path_select() argument
505 nhc = nexthop_path_fdb_result(nh, hash >> 1); in vxlan_fdb_nh_path_select()
Dip6_fib.h209 struct nexthop *nh; member
237 struct fib6_nh *nh; member
Ddsa.h119 struct raw_notifier_head nh; member
/include/linux/
Dnotifier.h93 extern void srcu_init_notifier_head(struct srcu_notifier_head *nh);
144 extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh,
146 extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh,
148 extern int raw_notifier_chain_register(struct raw_notifier_head *nh,
150 extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh,
153 extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh,
155 extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh,
157 extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh,
159 extern int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh,
162 extern int atomic_notifier_call_chain(struct atomic_notifier_head *nh,
[all …]
Dfilter.h678 struct bpf_nh_params nh; member
/include/trace/events/
Dfib6.h65 if (res->nh && res->nh->fib_nh_dev) {
66 __assign_str(name, res->nh->fib_nh_dev);
76 } else if (res->nh) {
78 *in6 = res->nh->fib_nh_gw6;
/include/linux/mfd/
Diqs62x.h126 struct blocking_notifier_head nh; member