Searched defs:nh (Results 51 - 68 of 68) sorted by relevance

123

/linux-master/net/ipv6/
H A Dip6_tunnel.c799 int nh, err; local
H A Dip6_fib.c997 static int fib6_nh_drop_pcpu_from(struct fib6_nh *nh, void *_arg) argument
[all...]
H A Droute.c446 const struct fib6_nh *nh = sibling->fib6_nh; local
467 __rt6_device_match(struct net *net, const struct fib6_nh *nh, const struct in6_addr *saddr, int oif, int flags) argument
493 struct fib6_nh *nh; member in struct:fib6_nh_dm_arg
496 __rt6_nh_dev_match(struct fib6_nh *nh, void *_arg) argument
506 rt6_nh_dev_match(struct net *net, struct nexthop *nh, struct fib6_result *res, const struct in6_addr *saddr, int oif, int flags) argument
532 struct fib6_nh *nh; local
711 rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, int strict) argument
733 find_match(struct fib6_nh *nh, u32 fib6_flags, int oif, int strict, int *mpri, bool *do_rr) argument
775 struct fib6_nh *nh; member in struct:fib6_nh_frl_arg
778 rt6_nh_find_match(struct fib6_nh *nh, void *_arg) argument
798 struct fib6_nh *nh; local
1133 const struct fib6_nh *nh = res->nh; local
1589 const struct fib6_nh *nh = res->nh; local
1617 fib6_nh_get_excptn_bucket(const struct fib6_nh *nh, spinlock_t *lock) argument
1647 fib6_nh_excptn_bucket_set_flushed(struct fib6_nh *nh, spinlock_t *lock) argument
1670 struct fib6_nh *nh = res->nh; local
1745 fib6_nh_flush_exceptions(struct fib6_nh *nh, struct fib6_info *from) argument
1775 rt6_nh_flush_exceptions(struct fib6_nh *nh, void *arg) argument
1839 fib6_nh_remove_exception(const struct fib6_nh *nh, int plen, const struct rt6_info *rt) argument
1882 rt6_nh_remove_exception_rt(struct fib6_nh *nh, void *_arg) argument
1923 fib6_nh_update_exception(const struct fib6_nh *nh, int plen, const struct rt6_info *rt) argument
1953 fib6_nh_find_match(struct fib6_nh *nh, void *_arg) argument
2021 rt6_exceptions_update_pmtu(struct inet6_dev *idev, const struct fib6_nh *nh, int mtu) argument
2050 fib6_nh_exceptions_clean_tohost(const struct fib6_nh *nh, const struct in6_addr *gateway) argument
2124 fib6_nh_age_exceptions(const struct fib6_nh *nh, struct fib6_gc_args *gc_args, unsigned long now) argument
2158 rt6_nh_age_exceptions(struct fib6_nh *nh, void *_arg) argument
3003 const struct fib6_nh *nh = res->nh; local
3035 fib6_nh_redirect_match(struct fib6_nh *nh, void *_arg) argument
3233 const struct fib6_nh *nh = res->nh; local
3694 struct nexthop *nh = NULL; local
3987 ip6_del_cached_rt(struct fib6_config *cfg, struct fib6_info *rt, struct fib6_nh *nh) argument
4008 fib6_nh_del_cached_rt(struct fib6_nh *nh, void *_arg) argument
4050 struct fib6_nh *nh; local
4345 struct fib6_nh *nh; local
4635 struct fib6_nh *nh; local
4919 fib6_nh_mtu_change(struct fib6_nh *nh, void *_arg) argument
5163 struct rt6_nh *nh; local
5251 struct rt6_nh *nh, *nh_safe; local
5518 rt6_nh_nlmsg_size(struct fib6_nh *nh, void *arg) argument
5546 struct fib6_nh *nh = f6i->fib6_nh; local
5576 rt6_fill_node_nexthop(struct sk_buff *skb, struct nexthop *nh, unsigned char *flags) argument
5789 fib6_info_nh_uses_dev(struct fib6_nh *nh, void *arg) argument
5834 rt6_nh_dump_exceptions(struct fib6_nh *nh, void *arg) argument
[all...]
H A Daddrconf.c6650 struct fib6_nh *nh = ifa->rt->fib6_nh; local
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_softmac.c121 int nh; local
/linux-master/drivers/net/
H A Dgeneve.c224 int nh, err = 0; local
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c2272 const struct fib_nh *nh; local
2726 struct fib_nh *nh; local
2749 struct fib_nh *nh; local
2777 struct fib_nh *nh; local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dipsec.c210 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) argument
215 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, argument
235 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, argument
246 rtattr_begin(struct nlmsghdr *nh, size_t req_sz, unsigned short rta_type) argument
252 rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) argument
259 veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, const char *peer, int ns) argument
312 struct nlmsghdr nh; member in struct:__anon226
362 struct nlmsghdr nh; member in struct:__anon227
402 struct nlmsghdr nh; member in struct:__anon228
429 struct nlmsghdr nh; member in struct:__anon229
826 xfrm_state_pack_algo(struct nlmsghdr *nh, size_t req_sz, struct xfrm_desc *desc) argument
919 struct nlmsghdr nh; member in struct:__anon234
1008 struct nlmsghdr nh; member in struct:__anon235
1012 struct nlmsghdr nh; member in struct:__anon236
1101 struct nlmsghdr nh; member in struct:__anon238
1176 struct nlmsghdr nh; member in struct:__anon239
1226 struct nlmsghdr nh; member in struct:__anon240
1277 struct nlmsghdr nh; member in struct:__anon241
1281 struct nlmsghdr nh; member in struct:__anon242
1367 struct nlmsghdr nh; member in struct:__anon244
1438 struct nlmsghdr nh; member in struct:__anon246
1510 struct nlmsghdr nh; member in struct:__anon248
1591 struct nlmsghdr nh; member in struct:__anon250
1648 struct nlmsghdr nh; member in struct:__anon252
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_nl.c4548 struct drbd_notification_header nh = { local
/linux-master/include/linux/
H A Dfilter.h710 struct bpf_nh_params nh; member in struct:bpf_redirect_info
/linux-master/drivers/of/
H A Dunittest.c356 struct node_hash *nh; local
[all...]
/linux-master/net/ipv4/
H A Dnexthop.c113 nh_notifier_single_info_init(struct nh_notifier_info *info, const struct nexthop *nh) argument
194 nh_notifier_grp_info_init(struct nh_notifier_info *info, const struct nexthop *nh) argument
206 nh_notifier_grp_info_fini(struct nh_notifier_info *info, const struct nexthop *nh) argument
217 nh_notifier_info_init(struct nh_notifier_info *info, const struct nexthop *nh) argument
228 nh_notifier_info_fini(struct nh_notifier_info *info, const struct nexthop *nh) argument
237 call_nexthop_notifiers(struct net *net, enum nexthop_event_type event_type, struct nexthop *nh, struct netlink_ext_ack *extack) argument
272 struct nexthop *nh; local
404 call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, struct netlink_ext_ack *extack) argument
439 call_nexthop_notifier(struct notifier_block *nb, struct net *net, enum nexthop_event_type event_type, struct nexthop *nh, struct netlink_ext_ack *extack) argument
482 nexthop_free_group(struct nexthop *nh) argument
505 nexthop_free_single(struct nexthop *nh) argument
523 struct nexthop *nh = container_of(head, struct nexthop, rcu); local
536 struct nexthop *nh; local
596 struct nexthop *nh; local
706 nh_notifier_grp_hw_stats_init(struct nh_notifier_info *info, const struct nexthop *nh) argument
747 nh_grp_hw_stats_apply_update(struct nexthop *nh, struct nh_notifier_info *info) argument
763 nh_grp_hw_stats_update(struct nexthop *nh, bool *hw_stats_used) argument
825 nla_put_nh_group_stats(struct sk_buff *skb, struct nexthop *nh, u32 op_flags) argument
867 nla_put_nh_group(struct sk_buff *skb, struct nexthop *nh, u32 op_flags) argument
910 nh_fill_node(struct sk_buff *skb, struct nexthop *nh, int event, u32 portid, u32 seq, unsigned int nlflags, u32 op_flags) argument
1001 nh_nlmsg_size_grp(struct nexthop *nh) argument
1014 nh_nlmsg_size_single(struct nexthop *nh) argument
1045 nh_nlmsg_size(struct nexthop *nh) argument
1059 nexthop_notify(int event, struct nexthop *nh, struct nl_info *info) argument
1132 nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh, struct nh_res_bucket *bucket, u16 bucket_index, int event, u32 portid, u32 seq, unsigned int nlflags, struct netlink_ext_ack *extack) argument
1184 struct nexthop *nh = nhge->nh_parent; local
1207 valid_group_nh(struct nexthop *nh, unsigned int npaths, bool *is_fdb, struct netlink_ext_ack *extack) argument
1239 nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, struct netlink_ext_ack *extack) argument
1302 struct nexthop *nh; local
1341 ipv6_good_nh(const struct fib6_nh *nh) argument
1357 ipv4_good_nh(const struct fib_nh *nh) argument
1374 nexthop_is_good_nh(const struct nexthop *nh) argument
1456 nexthop_select_path(struct nexthop *nh, int hash) argument
1474 nexthop_for_each_fib6_nh(struct nexthop *nh, int (*cb)(struct fib6_nh *nh, void *arg), void *arg) argument
1515 fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg, struct netlink_ext_ack *extack) argument
1596 fib_check_nexthop(struct nexthop *nh, u8 scope, struct netlink_ext_ack *extack) argument
1987 struct nexthop *nh = nhge->nh; local
2059 remove_nexthop_from_groups(struct net *net, struct nexthop *nh, struct nl_info *nlinfo) argument
2071 remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo) argument
2093 __remove_nexthop_fib(struct net *net, struct nexthop *nh) argument
2115 __remove_nexthop(struct net *net, struct nexthop *nh, struct nl_info *nlinfo) argument
2133 remove_nexthop(struct net *net, struct nexthop *nh, struct nl_info *nlinfo) argument
2153 nh_rt_cache_flush(struct net *net, struct nexthop *nh, struct nexthop *replaced_nh) argument
2430 __nexthop_replace_notify(struct net *net, struct nexthop *nh, struct nl_info *info) argument
2459 nexthop_replace_notify(struct net *net, struct nexthop *nh, struct nl_info *info) argument
2543 struct nexthop *nh; local
2649 struct nexthop *nh; local
2665 struct nexthop *nh; local
2767 nh_create_ipv4(struct net *net, struct nexthop *nh, struct nh_info *nhi, struct nh_config *cfg, struct netlink_ext_ack *extack) argument
2806 nh_create_ipv6(struct net *net, struct nexthop *nh, struct nh_info *nhi, struct nh_config *cfg, struct netlink_ext_ack *extack) argument
2845 struct nexthop *nh; local
2901 struct nexthop *nh; local
3201 struct nexthop *nh; local
3257 struct nexthop *nh; local
3287 struct nexthop *nh; local
3337 nh_dump_filtered(struct nexthop *nh, struct nh_dump_filter *filter, u8 family) argument
3443 rtm_dump_walk_nexthops(struct sk_buff *skb, struct netlink_callback *cb, struct rb_root *root, struct rtm_dump_nh_ctx *ctx, int (*nh_cb)(struct sk_buff *skb, struct netlink_callback *cb, struct nexthop *nh, void *data), void *data) argument
3458 struct nexthop *nh; local
3473 rtm_dump_nexthop_cb(struct sk_buff *skb, struct netlink_callback *cb, struct nexthop *nh, void *data) argument
3513 struct nexthop *nh; local
3591 struct rtm_dump_nh_ctx nh; member in struct:rtm_dump_res_bucket_ctx
3609 rtm_dump_nexthop_bucket_nh(struct sk_buff *skb, struct netlink_callback *cb, struct nexthop *nh, struct rtm_dump_nexthop_bucket_data *dd) argument
3652 rtm_dump_nexthop_bucket_cb(struct sk_buff *skb, struct netlink_callback *cb, struct nexthop *nh, void *data) argument
3676 struct nexthop *nh; local
3760 struct nexthop *nh; local
3855 struct nexthop *nh; local
[all...]
H A Droute.c1593 struct fib_nh *nh; local
/linux-master/include/net/
H A Ddsa.h127 struct raw_notifier_head nh; member in struct:dsa_switch_tree
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c159 struct nexthop *nh; local
827 struct nexthop *nh; local
924 struct nexthop *nh; local
2583 struct nexthop *nh; local
2618 struct nexthop *nh; local
2936 struct nexthop *nh = rtnl_dereference(f->nh); local
4769 vxlan_fdb_nh_flush(struct nexthop *nh) argument
4793 struct nexthop *nh; local
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c587 struct prestera_msg_nh nh[PRESTERA_NHGR_SIZE_MAX]; member in struct:prestera_msg_nh_req
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3091 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) argument
3195 mlxsw_sp_nexthop_sh_counter_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3227 mlxsw_sp_nexthop_sh_counter_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3244 mlxsw_sp_nexthop_counter_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3271 mlxsw_sp_nexthop_counter_disable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3284 mlxsw_sp_nexthop_counter_update(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3293 mlxsw_sp_nexthop_counter_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh, u64 *p_counter) argument
3303 mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router, struct mlxsw_sp_nexthop *nh) argument
3318 mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) argument
3323 mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) argument
3331 mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, u32 *p_adj_size, u32 *p_adj_hash_index) argument
3357 mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) argument
3364 mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) argument
3485 const struct mlxsw_sp_nexthop *nh; local
3547 const struct mlxsw_sp_nexthop *nh; local
3671 mlxsw_sp_nexthop_insert(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3678 mlxsw_sp_nexthop_remove(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
3740 __mlxsw_sp_nexthop_eth_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) argument
3782 mlxsw_sp_nexthop_eth_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) argument
3800 __mlxsw_sp_nexthop_ipip_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) argument
3812 mlxsw_sp_nexthop_ipip_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) argument
3831 mlxsw_sp_nexthop_update(struct mlxsw_sp *mlxsw_sp, u32 adj_index, struct mlxsw_sp_nexthop *nh, bool force, char *ratr_pl) argument
3855 struct mlxsw_sp_nexthop *nh; local
3994 struct mlxsw_sp_nexthop *nh; local
4027 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; local
4050 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; local
4067 struct mlxsw_sp_nexthop *nh; local
4093 mlxsw_sp_nexthop_bucket_offload_refresh(struct mlxsw_sp *mlxsw_sp, const struct mlxsw_sp_nexthop *nh, u16 bucket_index) argument
4137 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; local
4166 struct mlxsw_sp_nexthop *nh; local
4279 __mlxsw_sp_nexthop_neigh_update(struct mlxsw_sp_nexthop *nh, bool removing) argument
4299 struct mlxsw_sp_nexthop *nh; local
4353 struct mlxsw_sp_nexthop *nh; local
4375 mlxsw_sp_nexthop_crif_init(struct mlxsw_sp_nexthop *nh, struct mlxsw_sp_crif *crif) argument
4385 mlxsw_sp_nexthop_crif_fini(struct mlxsw_sp_nexthop *nh) argument
4394 mlxsw_sp_nexthop_neigh_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4453 mlxsw_sp_nexthop_neigh_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4492 mlxsw_sp_nexthop_ipip_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh, struct mlxsw_sp_ipip_entry *ipip_entry) argument
4512 mlxsw_sp_nexthop_ipip_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4535 mlxsw_sp_nexthop_type_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh, const struct net_device *dev) argument
4575 mlxsw_sp_nexthop_type_rif_made(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4588 mlxsw_sp_nexthop_type_rif_gone(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4601 mlxsw_sp_nexthop_type_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4608 mlxsw_sp_nexthop4_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop_group *nh_grp, struct mlxsw_sp_nexthop *nh, struct fib_nh *fib_nh) argument
4663 mlxsw_sp_nexthop4_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
4676 struct mlxsw_sp_nexthop *nh; local
4699 struct mlxsw_sp_nexthop *nh; local
4723 struct mlxsw_sp_nexthop *nh, *tmp; local
4752 struct mlxsw_sp_nexthop *nh, *tmp; local
4901 mlxsw_sp_nexthop_obj_single_validate(struct mlxsw_sp *mlxsw_sp, const struct nh_notifier_single_info *nh, struct netlink_ext_ack *extack) argument
4918 mlxsw_sp_nexthop_obj_group_entry_validate(struct mlxsw_sp *mlxsw_sp, const struct nh_notifier_single_info *nh, struct netlink_ext_ack *extack) argument
4953 const struct nh_notifier_single_info *nh; local
5024 const struct nh_notifier_single_info *nh; local
5041 struct nh_notifier_single_info *nh; local
5089 mlxsw_sp_nexthop_obj_blackhole_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
5101 mlxsw_sp_nexthop_obj_blackhole_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
5109 mlxsw_sp_nexthop_obj_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop_group *nh_grp, struct mlxsw_sp_nexthop *nh, struct nh_notifier_single_info *nh_obj, int weight) argument
5160 mlxsw_sp_nexthop_obj_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
5177 struct mlxsw_sp_nexthop *nh; local
5288 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; local
5455 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; local
5549 mlxsw_sp_nexthop_obj_bucket_adj_update(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh, struct nh_notifier_info *info) argument
5605 struct mlxsw_sp_nexthop *nh; local
5656 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[nhi]; local
5677 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[bucket]; local
5766 const struct fib_nh *nh = fib_info_nh(fi, 0); local
5778 struct mlxsw_sp_nexthop *nh; local
5828 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; local
5980 struct mlxsw_sp_nexthop *nh = &nh_grp->nhgi->nexthops[i]; local
6972 mlxsw_sp_nexthop6_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop_group *nh_grp, struct mlxsw_sp_nexthop *nh, const struct fib6_info *rt) argument
7009 mlxsw_sp_nexthop6_fini(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop *nh) argument
7031 struct mlxsw_sp_nexthop *nh; local
7085 struct mlxsw_sp_nexthop *nh = &nhgi->nexthops[i]; local
9839 struct mlxsw_sp_nexthop *nh, *tmp; local
[all...]
/linux-master/net/core/
H A Dfilter.c2193 bpf_out_neigh_v6(struct net *net, struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2244 __bpf_redirect_neigh_v6(struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2285 __bpf_redirect_neigh_v6(struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2294 bpf_out_neigh_v4(struct net *net, struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2349 __bpf_redirect_neigh_v4(struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2392 __bpf_redirect_neigh_v4(struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
2400 __bpf_redirect_neigh(struct sk_buff *skb, struct net_device *dev, struct bpf_nh_params *nh) argument
[all...]

Completed in 463 milliseconds

123