Searched refs:nh (Results 1 – 11 of 11) sorted by relevance
| /include/net/ |
| D | nexthop.h | 106 struct nexthop *nh; member 196 struct nh_notifier_single_info nh; member 237 struct nh_notifier_single_info *nh; member 262 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get() argument 264 return refcount_inc_not_zero(&nh->refcnt); in nexthop_get() 267 static inline void nexthop_put(struct nexthop *nh) in nexthop_put() argument 269 if (refcount_dec_and_test(&nh->refcnt)) in nexthop_put() 270 call_rcu_hurry(&nh->rcu, nexthop_free_rcu); in nexthop_put() 279 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb() argument 281 if (nh->is_group) { in nexthop_is_fdb() [all …]
|
| D | ip6_route.h | 76 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp() 316 if (a->nh || b->nh) in rt6_duplicate_nexthop() 317 return nexthop_cmp(a->nh, b->nh); in rt6_duplicate_nexthop()
|
| D | ip_fib.h | 160 struct nexthop *nh; member 560 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, 591 struct fib_nh *nh; in fib_combine_itag() local 593 nh = container_of(nhc, struct fib_nh, nh_common); in fib_combine_itag() 594 *itag = nh->nh_tclassid << 16; in fib_combine_itag() 641 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nh, 643 int fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nh,
|
| D | gro.h | 487 const void *nh = th - diff; in __gro_receive_network_flush() local 490 if (((struct iphdr *)nh)->version == 6) in __gro_receive_network_flush() 491 return ipv6_gro_flush(nh, nh2); in __gro_receive_network_flush() 493 return inet_gro_flush(nh, nh2, p, outer); in __gro_receive_network_flush()
|
| D | vxlan.h | 559 static inline bool vxlan_fdb_nh_path_select(struct nexthop *nh, in vxlan_fdb_nh_path_select() argument 565 nhc = nexthop_path_fdb_result(nh, hash >> 1); in vxlan_fdb_nh_path_select()
|
| D | ip6_fib.h | 207 struct nexthop *nh; member 232 struct fib6_nh *nh; member
|
| D | dsa.h | 126 struct raw_notifier_head nh; member
|
| /include/linux/ |
| D | notifier.h | 94 extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); 146 extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh, 148 extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh, 150 extern int raw_notifier_chain_register(struct raw_notifier_head *nh, 152 extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh, 156 struct atomic_notifier_head *nh, struct notifier_block *nb); 158 struct blocking_notifier_head *nh, struct notifier_block *nb); 160 extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, 162 extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, 164 extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh, [all …]
|
| D | filter.h | 760 struct bpf_nh_params nh; member 799 memset(&bpf_net_ctx->ri, 0, offsetof(struct bpf_net_context, ri.nh)); in bpf_net_ctx_get_ri()
|
| /include/trace/events/ |
| D | fib6.h | 65 if (res->nh && res->nh->fib_nh_dev) { 66 strscpy(__entry->name, res->nh->fib_nh_dev->name, IFNAMSIZ); 73 } else if (res->nh) { 75 *in6 = res->nh->fib_nh_gw6;
|
| /include/linux/mfd/ |
| D | iqs62x.h | 131 struct blocking_notifier_head nh; member
|