Home
last modified time | relevance | path

Searched defs:nh (Results 1 – 25 of 63) sorted by relevance

123

/linux/kernel/
H A Dnotifier.c141 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register()
164 int atomic_notifier_chain_register_unique_prio(struct atomic_notifier_head *nh, in atomic_notifier_chain_register_unique_prio()
186 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister()
217 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain()
239 bool atomic_notifier_call_chain_is_empty(struct atomic_notifier_head *nh) in atomic_notifier_call_chain_is_empty()
249 static int __blocking_notifier_chain_register(struct blocking_notifier_head *nh, in __blocking_notifier_chain_register()
279 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register()
296 int blocking_notifier_chain_register_unique_prio(struct blocking_notifier_head *nh, in blocking_notifier_chain_register_unique_prio()
313 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister()
333 int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, in blocking_notifier_call_chain_robust()
[all …]
/linux/net/ipv4/
H A Dnexthop.c114 const struct nexthop *nh) in nh_notifier_single_info_init() argument
195 nh_notifier_grp_info_init(struct nh_notifier_info * info,const struct nexthop * nh) nh_notifier_grp_info_init() argument
207 nh_notifier_grp_info_fini(struct nh_notifier_info * info,const struct nexthop * nh) nh_notifier_grp_info_fini() argument
218 nh_notifier_info_init(struct nh_notifier_info * info,const struct nexthop * nh) nh_notifier_info_init() argument
229 nh_notifier_info_fini(struct nh_notifier_info * info,const struct nexthop * nh) nh_notifier_info_fini() argument
239 call_nexthop_notifiers(struct net * net,enum nexthop_event_type event_type,struct nexthop * nh,struct netlink_ext_ack * extack) call_nexthop_notifiers() argument
272 struct nexthop *nh; nh_notifier_res_bucket_idle_timer_get() local
404 call_nexthop_res_table_notifiers(struct net * net,struct nexthop * nh,struct netlink_ext_ack * extack) call_nexthop_res_table_notifiers() argument
441 call_nexthop_notifier(struct notifier_block * nb,struct net * net,enum nexthop_event_type event_type,struct nexthop * nh,struct netlink_ext_ack * extack) call_nexthop_notifier() argument
482 nexthop_free_group(struct nexthop * nh) nexthop_free_group() argument
505 nexthop_free_single(struct nexthop * nh) nexthop_free_single() argument
523 struct nexthop *nh = container_of(head, struct nexthop, rcu); nexthop_free_rcu() local
536 struct nexthop *nh; nexthop_alloc() local
597 struct nexthop *nh; nexthop_find_by_id() local
708 nh_notifier_grp_hw_stats_init(struct nh_notifier_info * info,const struct nexthop * nh) nh_notifier_grp_hw_stats_init() argument
748 nh_grp_hw_stats_apply_update(struct nexthop * nh,struct nh_notifier_info * info) nh_grp_hw_stats_apply_update() argument
764 nh_grp_hw_stats_update(struct nexthop * nh,bool * hw_stats_used) nh_grp_hw_stats_update() argument
826 nla_put_nh_group_stats(struct sk_buff * skb,struct nexthop * nh,u32 op_flags) nla_put_nh_group_stats() argument
868 nla_put_nh_group(struct sk_buff * skb,struct nexthop * nh,u32 op_flags,u32 * resp_op_flags) nla_put_nh_group() argument
918 nh_fill_node(struct sk_buff * skb,struct nexthop * nh,int event,u32 portid,u32 seq,unsigned int nlflags,u32 op_flags) nh_fill_node() argument
1010 nh_nlmsg_size_grp(struct nexthop * nh) nh_nlmsg_size_grp() argument
1023 nh_nlmsg_size_single(struct nexthop * nh) nh_nlmsg_size_single() argument
1054 nh_nlmsg_size(struct nexthop * nh) nh_nlmsg_size() argument
1070 nexthop_notify(int event,struct nexthop * nh,struct nl_info * info) nexthop_notify() argument
1142 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) nh_fill_res_bucket() argument
1194 struct nexthop *nh = nhge->nh_parent; nexthop_bucket_notify() local
1216 valid_group_nh(struct nexthop * nh,unsigned int npaths,bool * is_fdb,struct netlink_ext_ack * extack) valid_group_nh() argument
1248 nh_check_attr_fdb_group(struct nexthop * nh,u8 * nh_family,struct netlink_ext_ack * extack) nh_check_attr_fdb_group() argument
1343 struct nexthop *nh; nh_check_attr_group_rtnl() local
1366 ipv6_good_nh(const struct fib6_nh * nh) ipv6_good_nh() argument
1382 ipv4_good_nh(const struct fib_nh * nh) ipv4_good_nh() argument
1399 nexthop_is_good_nh(const struct nexthop * nh) nexthop_is_good_nh() argument
1481 nexthop_select_path(struct nexthop * nh,int hash) nexthop_select_path() argument
1499 nexthop_for_each_fib6_nh(struct nexthop * nh,int (* cb)(struct fib6_nh * nh,void * arg),void * arg) nexthop_for_each_fib6_nh() argument
1500 nexthop_for_each_fib6_nh(struct nexthop * nh,int (* cb)(struct fib6_nh * nh,void * arg),void * arg) nexthop_for_each_fib6_nh() argument
1540 fib6_check_nexthop(struct nexthop * nh,struct fib6_config * cfg,struct netlink_ext_ack * extack) fib6_check_nexthop() argument
1621 fib_check_nexthop(struct nexthop * nh,u8 scope,struct netlink_ext_ack * extack) fib_check_nexthop() argument
2013 struct nexthop *nh = nhge->nh; remove_nh_grp_entry() local
2085 remove_nexthop_from_groups(struct net * net,struct nexthop * nh,struct nl_info * nlinfo) remove_nexthop_from_groups() argument
2097 remove_nexthop_group(struct nexthop * nh,struct nl_info * nlinfo) remove_nexthop_group() argument
2119 __remove_nexthop_fib(struct net * net,struct nexthop * nh) __remove_nexthop_fib() argument
2152 __remove_nexthop(struct net * net,struct nexthop * nh,struct nl_info * nlinfo) __remove_nexthop() argument
2170 remove_nexthop(struct net * net,struct nexthop * nh,struct nl_info * nlinfo) remove_nexthop() argument
2190 nh_rt_cache_flush(struct net * net,struct nexthop * nh,struct nexthop * replaced_nh) nh_rt_cache_flush() argument
2474 __nexthop_replace_notify(struct net * net,struct nexthop * nh,struct nl_info * info) __nexthop_replace_notify() argument
2503 nexthop_replace_notify(struct net * net,struct nexthop * nh,struct nl_info * info) nexthop_replace_notify() argument
2587 struct nexthop *nh; insert_nexthop() local
2693 struct nexthop *nh; flush_all_nexthops() local
2709 struct nexthop *nh; nexthop_create_group() local
2809 nh_create_ipv4(struct net * net,struct nexthop * nh,struct nh_info * nhi,struct nh_config * cfg,struct netlink_ext_ack * extack) nh_create_ipv4() argument
2848 nh_create_ipv6(struct net * net,struct nexthop * nh,struct nh_info * nhi,struct nh_config * cfg,struct netlink_ext_ack * extack) nh_create_ipv6() argument
2887 struct nexthop *nh; nexthop_create() local
2943 struct nexthop *nh; nexthop_add() local
3246 struct nexthop *nh; rtm_new_nexthop() local
3320 struct nexthop *nh; rtm_del_nexthop() local
3354 struct nexthop *nh; rtm_get_nexthop() local
3404 nh_dump_filtered(struct nexthop * nh,struct nh_dump_filter * filter,u8 family) nh_dump_filtered() argument
3513 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) rtm_dump_walk_nexthops() argument
3522 struct nexthop *nh; rtm_dump_walk_nexthops() local
3538 rtm_dump_nexthop_cb(struct sk_buff * skb,struct netlink_callback * cb,struct nexthop * nh,void * data) rtm_dump_nexthop_cb() argument
3577 struct nexthop *nh; nexthop_find_group_resilient() local
3655 struct rtm_dump_nh_ctx nh; global() member
3675 rtm_dump_nexthop_bucket_nh(struct sk_buff * skb,struct netlink_callback * cb,struct nexthop * nh,struct rtm_dump_nexthop_bucket_data * dd) rtm_dump_nexthop_bucket_nh() argument
3718 rtm_dump_nexthop_bucket_cb(struct sk_buff * skb,struct netlink_callback * cb,struct nexthop * nh,void * data) rtm_dump_nexthop_bucket_cb() argument
3740 struct nexthop *nh; rtm_dump_nexthop_bucket() local
3824 struct nexthop *nh; rtm_get_nexthop_bucket() local
3919 struct nexthop *nh; nexthops_dump() local
[all...]
H A Dfib_semantics.c480 struct fib_nh *nh; in ip_fib_check_default() local
646 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init()
721 struct fib_nh *nh; in fib_get_nhs() local
881 const struct fib_nh *nh, in fib_encap_match()
925 struct fib_nh *nh; in fib_nh_match() local
1075 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw()
1144 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw()
1238 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw()
1273 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh()
1291 struct fib_nh *nh; in fib_info_update_nhc_saddr() local
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c48 struct nlmsghdr *nh = (void *)data; in init_genl_req() local
64 static int nl_error(struct nlmsghdr *nh) in nl_error()
106 struct nlmsghdr *nh; in capture_events() local
216 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req()
327 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local
354 struct nlmsghdr *nh; in dsf() local
466 struct nlmsghdr *nh; in csf() local
598 struct nlmsghdr *nh; in remove_addr() local
651 struct nlmsghdr *nh; in announce_addr() local
775 struct nlmsghdr *nh; in add_addr() local
[all …]
/linux/tools/testing/selftests/net/
H A Dtap.c33 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add()
44 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin()
49 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
56 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str()
65 static struct rtattr *rtattr_add_strsz(struct nlmsghdr *nh, unsigned short type, in rtattr_add_strsz()
74 static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type, in rtattr_add_any()
84 int (*fill_rtattr)(struct nlmsghdr *nh), in dev_create()
85 int (*fill_info_data)(struct nlmsghdr *nh)) in dev_create()
88 struct nlmsghdr nh; in dev_create() member
146 struct nlmsghdr nh; in dev_delete() member
[all …]
H A Dtun.c70 struct nlmsghdr nh; in tun_delete() member
/linux/include/net/
H A Dnexthop.h106 struct nexthop *nh; member
196 struct nh_notifier_single_info nh; global() member
237 struct nh_notifier_single_info *nh; global() member
262 nexthop_get(struct nexthop * nh) nexthop_get() argument
267 nexthop_put(struct nexthop * nh) nexthop_put() argument
279 nexthop_is_fdb(const struct nexthop * nh) nexthop_is_fdb() argument
294 nexthop_has_v4(const struct nexthop * nh) nexthop_has_v4() argument
305 nexthop_is_multipath(const struct nexthop * nh) nexthop_is_multipath() argument
318 nexthop_num_path(const struct nexthop * nh) nexthop_num_path() argument
346 nexthop_mpath_fill_node(struct sk_buff * skb,struct nexthop * nh,u8 rt_family) nexthop_mpath_fill_node() argument
366 nexthop_is_blackhole(const struct nexthop * nh) nexthop_is_blackhole() argument
387 struct nexthop *nh; nexthop_path_fib_result() local
396 nexthop_fib_nhc(struct nexthop * nh,int nhsel) nexthop_fib_nhc() argument
420 nexthop_get_nhc_lookup(const struct nexthop * nh,int fib_flags,const struct flowi4 * flp,int * nhsel) nexthop_get_nhc_lookup() argument
451 nexthop_uses_dev(const struct nexthop * nh,const struct net_device * dev) nexthop_uses_dev() argument
510 nexthop_fib6_nh(struct nexthop * nh) nexthop_fib6_nh() argument
540 struct nexthop *nh = res->f6i->nh; nexthop_path_fib6_result() local
559 nexthop_get_family(struct nexthop * nh) nexthop_get_family() argument
567 nexthop_fdb_nhc(struct nexthop * nh) nexthop_fdb_nhc() argument
574 nexthop_path_fdb_result(struct nexthop * nh,int hash) nexthop_path_fdb_result() argument
[all...]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c60 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr()
65 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack()
85 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin()
96 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin()
102 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
109 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb()
139 struct nlmsghdr nh; in __add_veth() member
202 struct nlmsghdr nh; in __ip_addr_add() member
249 struct nlmsghdr nh; in __ip_route_add() member
311 struct nlmsghdr nh; in __link_set_up() member
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c171 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add()
182 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str()
191 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin()
196 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
206 struct nlmsghdr nh; in setup_xfrmi_external_dev() member
213 struct nlmsghdr *nh; in setup_xfrmi_external_dev() local
/linux/net/ipv6/
H A Droute.c481 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local
502 __rt6_device_match(struct net * net,const struct fib6_nh * nh,const struct in6_addr * saddr,int oif,int flags) __rt6_device_match() argument
528 struct fib6_nh *nh; global() member
531 __rt6_nh_dev_match(struct fib6_nh * nh,void * _arg) __rt6_nh_dev_match() argument
541 rt6_nh_dev_match(struct net * net,struct nexthop * nh,struct fib6_result * res,const struct in6_addr * saddr,int oif,int flags) rt6_nh_dev_match() argument
567 struct fib6_nh *nh; rt6_device_match() local
748 rt6_score_route(const struct fib6_nh * nh,u32 fib6_flags,int oif,int strict) rt6_score_route() argument
770 find_match(struct fib6_nh * nh,u32 fib6_flags,int oif,int strict,int * mpri,bool * do_rr) find_match() argument
812 struct fib6_nh *nh; global() member
815 rt6_nh_find_match(struct fib6_nh * nh,void * _arg) rt6_nh_find_match() argument
835 struct fib6_nh *nh; __find_rr_leaf() local
1171 const struct fib6_nh *nh = res->nh; ip6_rt_copy_init() local
1625 const struct fib6_nh *nh = res->nh; fib6_mtu() local
1653 fib6_nh_get_excptn_bucket(const struct fib6_nh * nh,spinlock_t * lock) fib6_nh_get_excptn_bucket() argument
1683 fib6_nh_excptn_bucket_set_flushed(struct fib6_nh * nh,spinlock_t * lock) fib6_nh_excptn_bucket_set_flushed() argument
1706 struct fib6_nh *nh = res->nh; rt6_insert_exception() local
1782 fib6_nh_flush_exceptions(struct fib6_nh * nh,struct fib6_info * from) fib6_nh_flush_exceptions() argument
1812 rt6_nh_flush_exceptions(struct fib6_nh * nh,void * arg) rt6_nh_flush_exceptions() argument
1878 fib6_nh_remove_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_remove_exception() argument
1921 rt6_nh_remove_exception_rt(struct fib6_nh * nh,void * _arg) rt6_nh_remove_exception_rt() argument
1962 fib6_nh_update_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_update_exception() argument
1992 fib6_nh_find_match(struct fib6_nh * nh,void * _arg) fib6_nh_find_match() argument
2061 rt6_exceptions_update_pmtu(struct inet6_dev * idev,const struct fib6_nh * nh,int mtu) rt6_exceptions_update_pmtu() argument
2089 fib6_nh_exceptions_clean_tohost(const struct fib6_nh * nh,const struct in6_addr * gateway) fib6_nh_exceptions_clean_tohost() argument
2164 fib6_nh_age_exceptions(const struct fib6_nh * nh,struct fib6_gc_args * gc_args,unsigned long now) fib6_nh_age_exceptions() argument
2198 rt6_nh_age_exceptions(struct fib6_nh * nh,void * _arg) rt6_nh_age_exceptions() argument
3049 const struct fib6_nh *nh = res->nh; ip6_redirect_nh_match() local
3081 fib6_nh_redirect_match(struct fib6_nh * nh,void * _arg) fib6_nh_redirect_match() argument
3284 const struct fib6_nh *nh = res->nh; ip6_mtu_from_fib6() local
3864 struct nexthop *nh; ip6_route_info_create_nh() local
4081 ip6_del_cached_rt(struct fib6_config * cfg,struct fib6_info * rt,struct fib6_nh * nh) ip6_del_cached_rt() argument
4101 fib6_nh_del_cached_rt(struct fib6_nh * nh,void * _arg) fib6_nh_del_cached_rt() argument
4143 struct fib6_nh *nh; ip6_route_del() local
4438 struct fib6_nh *nh; rt6_get_dflt_router() local
4737 struct fib6_nh *nh; fib6_clean_tohost() local
5021 fib6_nh_mtu_change(struct fib6_nh * nh,void * _arg) fib6_nh_mtu_change() argument
5318 struct rt6_nh *nh; ip6_route_info_append() local
5394 struct rt6_nh *nh, *nh_safe; ip6_route_multipath_add() local
5655 rt6_nh_nlmsg_size(struct fib6_nh * nh,void * arg) rt6_nh_nlmsg_size() argument
5676 struct fib6_nh *nh; rt6_nlmsg_size() local
5719 rt6_fill_node_nexthop(struct sk_buff * skb,struct nexthop * nh,unsigned char * flags) rt6_fill_node_nexthop() argument
5941 fib6_info_nh_uses_dev(struct fib6_nh * nh,void * arg) fib6_info_nh_uses_dev() argument
5991 rt6_nh_dump_exceptions(struct fib6_nh * nh,void * arg) rt6_nh_dump_exceptions() argument
[all...]
H A Dexthdrs.c119 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
888 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
970 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
1013 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_calipso() local
H A Dexthdrs_core.c118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
H A Ddatagram.c487 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local
625 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
[all...]
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c63 struct nlmsghdr *nh; in recv_msg() local
91 static void read_route(struct nlmsghdr *nh, int nll) in read_route()
254 struct nlmsghdr *nh; in get_route_table() local
316 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp()
391 struct nlmsghdr *nh; in get_arp_table() local
456 struct nlmsghdr *nh; in monitor_routes_thread() local
/linux/net/openvswitch/
H A Dactions.c287 struct nshhdr *nh = (struct nshhdr *)buffer; in push_nsh() local
321 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
347 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
405 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield()
418 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
434 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl()
444 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl()
457 struct iphdr *nh; in set_ipv4() local
509 struct ipv6hdr *nh; in set_ipv6() local
578 struct nshhdr *nh; in set_nsh() local
[all …]
H A Dflow.c273 get_ipv6_ext_hdrs(struct sk_buff * skb,struct ipv6hdr * nh,u16 * ext_hdrs) get_ipv6_ext_hdrs() argument
391 struct ipv6hdr *nh; parse_ipv6hdr() local
631 struct nshhdr *nh; parse_nsh() local
689 struct iphdr *nh; key_extract_l3l4() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3094 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev()
3199 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_get()
3228 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_sh_counter_put()
3245 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_enable()
3272 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_disable()
3285 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_update()
3294 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
3304 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
3318 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward()
3323 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
[all …]
H A Dspectrum_dpipe.c911 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_size() local
1065 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_dpipe_table_adj_entry_fill()
1089 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_entries_get() local
1183 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update() local
/linux/net/nsh/
H A Dnsh.c17 struct nshhdr *nh; in nsh_push() local
50 struct nshhdr *nh; in nsh_pop() local
/linux/net/mpls/
H A Daf_mpls.c96 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via()
102 const struct mpls_nh *nh) in mpls_nh_via()
107 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size()
347 const struct mpls_nh *nh; in mpls_forward() local
649 struct mpls_nh *nh, int oif) in find_outdev()
681 struct mpls_nh *nh, int oif) in mpls_nh_assign_dev()
772 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg() local
801 struct mpls_nh *nh, int oif, struct nlattr *via, in mpls_nh_build()
2005 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local
2145 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local
[all …]
/linux/arch/arm/vfp/
H A Dvfp.h44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128()
57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128()
72 u32 nh, nl, mh, ml; in mul64to128() local
110 static inline u64 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) in vfp_estimate_div128to64()
/linux/tools/lib/bpf/
H A Dnetlink.c143 struct nlmsghdr *nh; in libbpf_netlink_recv() local
249 parse_genl_family_id(struct nlmsghdr * nh,libbpf_dump_nlmsg_t fn,void * cookie) parse_genl_family_id() argument
405 parse_xdp_features(struct nlmsghdr * nh,libbpf_dump_nlmsg_t fn,void * cookie) parse_xdp_features() argument
681 get_tc_info(struct nlmsghdr * nh,libbpf_dump_nlmsg_t fn,void * cookie) get_tc_info() argument
[all...]
/linux/drivers/platform/surface/aggregator/
H A Dcontroller.c148 static int ssam_nfblk_call_chain(struct ssam_nf_head *nh, struct ssam_event *event) in ssam_nfblk_call_chain()
180 static int ssam_nfblk_insert(struct ssam_nf_head *nh, struct ssam_notifier_block *nb) in ssam_nfblk_insert()
215 static bool ssam_nfblk_find(struct ssam_nf_head *nh, struct ssam_notifier_block *nb) in ssam_nfblk_find()
247 static int ssam_nf_head_init(struct ssam_nf_head *nh) in ssam_nf_head_init()
263 static void ssam_nf_head_destroy(struct ssam_nf_head *nh) in ssam_nf_head_destroy()
/linux/drivers/extcon/
H A Dextcon.h52 struct raw_notifier_head *nh; member
/linux/drivers/net/vxlan/
H A Dvxlan_core.c165 struct nexthop *nh; in vxlan_fdb_info() local
798 struct nexthop *nh; in vxlan_fdb_nh_update() local
912 struct nexthop *nh; in __vxlan_fdb_free() local
1657 int nh; in vxlan_rcv() local
2633 struct nexthop *nh; in vxlan_xmit_nh() local
2664 struct nexthop *nh; in vxlan_xmit_nhid() local
2978 struct nexthop *nh = rtnl_dereference(f->nh); in vxlan_fdb_nhid_matches() local
4857 static void vxlan_fdb_nh_flush(struct nexthop *nh) in vxlan_fdb_nh_flush()
4878 struct nexthop *nh; in vxlan_nexthop_event() local

123