Home
last modified time | relevance | path

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

1234

/openbmc/linux/kernel/
H A Dnotifier.c149 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register()
225 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain()
376 int blocking_notifier_call_chain(struct blocking_notifier_head *nh, in blocking_notifier_call_chain()
410 int raw_notifier_chain_register(struct raw_notifier_head *nh, in raw_notifier_chain_register()
427 int raw_notifier_chain_unregister(struct raw_notifier_head *nh, in raw_notifier_chain_unregister()
434 int raw_notifier_call_chain_robust(struct raw_notifier_head *nh, in raw_notifier_call_chain_robust()
458 int raw_notifier_call_chain(struct raw_notifier_head *nh, in raw_notifier_call_chain()
480 int srcu_notifier_chain_register(struct srcu_notifier_head *nh, in srcu_notifier_chain_register()
510 int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, in srcu_notifier_chain_unregister()
547 int srcu_notifier_call_chain(struct srcu_notifier_head *nh, in srcu_notifier_call_chain()
[all …]
/openbmc/linux/net/ipv4/
H A Dnexthop.c258 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
520 struct nexthop *nh; in nexthop_alloc() local
580 struct nexthop *nh; in nexthop_find_by_id() local
1085 struct nexthop *nh; in nh_check_attr_group() local
2423 struct nexthop *nh; in flush_all_nexthops() local
2439 struct nexthop *nh; in nexthop_create_group() local
2608 struct nexthop *nh; in nexthop_create() local
2664 struct nexthop *nh; in nexthop_add() local
2957 struct nexthop *nh; in rtm_new_nexthop() local
3020 struct nexthop *nh; in rtm_del_nexthop() local
[all …]
H A Dfib_semantics.c445 struct fib_nh *nh; in ip_fib_check_default() local
697 struct fib_nh *nh; in fib_get_nhs() local
857 const struct fib_nh *nh, in fib_encap_match()
901 struct fib_nh *nh; in fib_nh_match() local
1327 struct fib_nh *nh; in fib_info_update_nhc_saddr() local
1350 struct fib_nh *nh; in fib_result_prefsrc() local
1390 struct nexthop *nh = NULL; in fib_create_info() local
1840 struct fib_nh *nh; in fib_dump_info() local
1970 struct fib_nh *nh; in fib_sync_mtu() local
1991 struct fib_nh *nh; in fib_sync_down_dev() local
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c111 struct nlmsghdr *nh; in capture_events() local
319 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local
346 struct nlmsghdr *nh; in dsf() local
457 struct nlmsghdr *nh; in csf() local
582 struct nlmsghdr *nh; in remove_addr() local
635 struct nlmsghdr *nh; in announce_addr() local
759 struct nlmsghdr *nh; in add_addr() local
890 struct nlmsghdr *nh; in del_addr() local
1081 struct nlmsghdr *nh; in get_addr() local
1121 struct nlmsghdr *nh; in dump_addrs() local
[all …]
/openbmc/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 Dipsec.c312 struct nlmsghdr nh; in veth_add() member
362 struct nlmsghdr nh; in ip4_addr_set() member
402 struct nlmsghdr nh; in link_set_up() member
429 struct nlmsghdr nh; in ip4_route_set() member
919 struct nlmsghdr nh; in xfrm_state_add() member
1008 struct nlmsghdr nh; in xfrm_state_check() member
1012 struct nlmsghdr nh; in xfrm_state_check() member
1226 struct nlmsghdr nh; in xfrm_state_del() member
1367 struct nlmsghdr nh; in xfrm_monitor_acquire() member
1438 struct nlmsghdr nh; in xfrm_expire_state() member
[all …]
H A Dtun.c70 struct nlmsghdr nh; in tun_delete() member
/openbmc/linux/include/net/
H A 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()
237 static inline void nexthop_put(struct nexthop *nh) in nexthop_put()
249 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb()
264 static inline bool nexthop_has_v4(const struct nexthop *nh) in nexthop_has_v4()
357 struct nexthop *nh; in nexthop_path_fib_result() local
510 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result() local
529 static inline int nexthop_get_family(struct nexthop *nh) in nexthop_get_family()
[all …]
/openbmc/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
/openbmc/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
/openbmc/linux/net/ipv6/
H A Droute.c494 struct fib6_nh *nh; member
533 struct fib6_nh *nh; in rt6_device_match() local
777 struct fib6_nh *nh; member
800 struct fib6_nh *nh; in __find_rr_leaf() local
1664 struct fib6_nh *nh = res->nh; in rt6_insert_exception() local
3688 struct nexthop *nh = NULL; in ip6_route_info_create() local
3984 struct fib6_nh *nh) in ip6_del_cached_rt()
4046 struct fib6_nh *nh; in ip6_route_del() local
4340 struct fib6_nh *nh; in rt6_get_dflt_router() local
4631 struct fib6_nh *nh; in fib6_clean_tohost() local
[all …]
H A Dexthdrs.c118 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
895 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
974 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
1017 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
/openbmc/linux/net/openvswitch/
H A Dactions.c315 const struct nshhdr *nh) in push_nsh()
346 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
372 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
443 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
469 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl()
482 struct iphdr *nh; in set_ipv4() local
534 struct ipv6hdr *nh; in set_ipv6() local
603 struct nshhdr *nh; in set_nsh() local
1261 struct ipv6hdr *nh; in execute_dec_ttl() local
1275 struct iphdr *nh; in execute_dec_ttl() local
[all …]
H A Dflow.c273 static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, in get_ipv6_ext_hdrs()
391 struct ipv6hdr *nh; in parse_ipv6hdr() local
631 struct nshhdr *nh; in parse_nsh() local
689 struct iphdr *nh; in key_extract_l3l4() local
/openbmc/linux/net/nsh/
H A Dnsh.c17 struct nshhdr *nh; in nsh_push() local
50 struct nshhdr *nh; in nsh_pop() local
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3740 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3874 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
4046 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
4179 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4233 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4552 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4575 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
5054 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
5436 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
5529 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_group_info_init() local
[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
/openbmc/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()
/openbmc/linux/net/mpls/
H A Daf_mpls.c102 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()
2007 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local
2147 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local
2228 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c19 struct nexthop *nh; in dump_ipv6_route() local
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c143 struct nlmsghdr *nh; in libbpf_netlink_recv() local
249 static int parse_genl_family_id(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_genl_family_id()
405 static int parse_xdp_features(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_xdp_features()
681 static int get_tc_info(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in get_tc_info()
/openbmc/u-boot/tools/
H A Dmtk_image.c466 union nand_boot_header *nh = (union nand_boot_header *)ptr; in mtk_image_verify_nand_header() local
683 union nand_boot_header *nh = (union nand_boot_header *)ptr; in mtk_image_set_nand_header() local
/openbmc/linux/drivers/extcon/
H A Dextcon.h52 struct raw_notifier_head *nh; member
/openbmc/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()

1234