Home
last modified time | relevance | path

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

123

/linux/kernel/
A Dnotifier.c139 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register()
192 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain()
306 int blocking_notifier_call_chain(struct blocking_notifier_head *nh, in blocking_notifier_call_chain()
340 int raw_notifier_chain_register(struct raw_notifier_head *nh, in raw_notifier_chain_register()
357 int raw_notifier_chain_unregister(struct raw_notifier_head *nh, in raw_notifier_chain_unregister()
364 int raw_notifier_call_chain_robust(struct raw_notifier_head *nh, in raw_notifier_call_chain_robust()
388 int raw_notifier_call_chain(struct raw_notifier_head *nh, in raw_notifier_call_chain()
411 int srcu_notifier_chain_register(struct srcu_notifier_head *nh, in srcu_notifier_chain_register()
441 int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, in srcu_notifier_chain_unregister()
478 int srcu_notifier_call_chain(struct srcu_notifier_head *nh, in srcu_notifier_call_chain()
[all …]
/linux/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c40 struct nlmsghdr *nh = (void *)data; in init_genl_req() local
56 static void nl_error(struct nlmsghdr *nh) in nl_error()
87 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req()
153 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local
179 struct nlmsghdr *nh; in add_addr() local
310 struct nlmsghdr *nh; in del_addr() local
494 struct nlmsghdr *nh; in get_addr() local
534 struct nlmsghdr *nh; in dump_addrs() local
555 struct nlmsghdr *nh; in flush_addrs() local
609 struct nlmsghdr *nh; in get_set_limits() local
[all …]
/linux/net/ipv4/
A Dnexthop.c257 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
519 struct nexthop *nh; in nexthop_alloc() local
579 struct nexthop *nh; in nexthop_find_by_id() local
1083 struct nexthop *nh; in nh_check_attr_group() local
2399 struct nexthop *nh; in flush_all_nexthops() local
2415 struct nexthop *nh; in nexthop_create_group() local
2584 struct nexthop *nh; in nexthop_create() local
2640 struct nexthop *nh; in nexthop_add() local
2933 struct nexthop *nh; in rtm_new_nexthop() local
2996 struct nexthop *nh; in rtm_del_nexthop() local
[all …]
A Dfib_semantics.c432 struct fib_nh *nh; in ip_fib_check_default() local
685 struct fib_nh *nh; in fib_get_nhs() local
845 const struct fib_nh *nh, in fib_encap_match()
1328 struct fib_nh *nh; in fib_info_update_nhc_saddr() local
1348 struct fib_nh *nh; in fib_result_prefsrc() local
1387 struct nexthop *nh = NULL; in fib_create_info() local
1530 struct fib_nh *nh = fi->fib_nh; in fib_create_info() local
1834 struct fib_nh *nh; in fib_dump_info() local
1964 struct fib_nh *nh; in fib_sync_mtu() local
1987 struct fib_nh *nh; in fib_sync_down_dev() local
[all …]
/linux/include/net/
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
533 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result() local
552 static inline int nexthop_get_family(struct nexthop *nh) in nexthop_get_family()
[all …]
/linux/tools/testing/selftests/net/
A Dipsec.c274 struct nlmsghdr nh; in veth_add() member
324 struct nlmsghdr nh; in ip4_addr_set() member
364 struct nlmsghdr nh; in link_set_up() member
391 struct nlmsghdr nh; in ip4_route_set() member
934 struct nlmsghdr nh; in xfrm_state_add() member
1023 struct nlmsghdr nh; in xfrm_state_check() member
1027 struct nlmsghdr nh; in xfrm_state_check() member
1241 struct nlmsghdr nh; in xfrm_state_del() member
1382 struct nlmsghdr nh; in xfrm_monitor_acquire() member
1453 struct nlmsghdr nh; in xfrm_expire_state() member
[all …]
/linux/net/ipv6/
A Droute.c490 struct fib6_nh *nh; member
529 struct fib6_nh *nh; in rt6_device_match() local
770 struct fib6_nh *nh; member
793 struct fib6_nh *nh; in __find_rr_leaf() local
1659 struct fib6_nh *nh = res->nh; in rt6_insert_exception() local
3708 struct nexthop *nh = NULL; in ip6_route_info_create() local
4004 struct fib6_nh *nh) in ip6_del_cached_rt()
4066 struct fib6_nh *nh; in ip6_route_del() local
4360 struct fib6_nh *nh; in rt6_get_dflt_router() local
4639 struct fib6_nh *nh; in fib6_clean_tohost() local
[all …]
A Dexthdrs.c117 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
929 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
1000 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
1044 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_calipso() local
A Dexthdrs_core.c118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
A Ddatagram.c481 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local
619 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
/linux/net/nsh/
A Dnsh.c16 struct nshhdr *nh; in nsh_push() local
49 struct nshhdr *nh; in nsh_pop() local
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c94 struct nlmsghdr *nh; in recv_msg() local
122 static void read_route(struct nlmsghdr *nh, int nll) in read_route()
319 struct nlmsghdr *nh; in get_route_table() local
381 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp()
470 struct nlmsghdr *nh; in get_arp_table() local
538 struct nlmsghdr *nh; in monitor_route() local
/linux/net/openvswitch/
A Dactions.c313 const struct nshhdr *nh) in push_nsh()
344 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
370 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
426 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
434 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl()
447 struct iphdr *nh; in set_ipv4() local
499 struct ipv6hdr *nh; in set_ipv6() local
569 struct nshhdr *nh; in set_nsh() local
1206 struct ipv6hdr *nh; in execute_dec_ttl() local
1220 struct iphdr *nh; in execute_dec_ttl() local
[all …]
A Dflow.c249 struct ipv6hdr *nh; in parse_ipv6hdr() local
486 struct nshhdr *nh; in parse_nsh() local
544 struct iphdr *nh; in key_extract_l3l4() local
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c3598 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_update() local
3732 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_normalize() local
3904 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_group_refresh() local
4037 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_dead_neigh_replace() local
4089 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_neigh_update() local
4374 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop4_event() local
4396 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_update() local
4421 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_rif_migrate() local
4859 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_group_info_init() local
5241 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop_obj_bucket_replace() local
[all …]
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/arch/arm/vfp/
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/net/mpls/
A Daf_mpls.c101 const struct mpls_nh *nh) in mpls_nh_via()
106 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size()
347 struct mpls_nh *nh; in mpls_forward() local
648 struct mpls_nh *nh, int oif) in find_outdev()
680 struct mpls_nh *nh, int oif) in mpls_nh_assign_dev()
771 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg() local
800 struct mpls_nh *nh, int oif, struct nlattr *via, in mpls_nh_build()
2018 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local
2158 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local
2239 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_ipv6_route.c19 struct nexthop *nh; in dump_ipv6_route() local
/linux/net/decnet/
A Ddn_fib.c194 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) in dn_fib_check_nh()
328 struct dn_fib_nh *nh = fi->fib_nh; in dn_fib_create_info() local
359 struct dn_fib_nh *nh = fi->fib_nh; in dn_fib_create_info() local
/linux/net/bridge/
A Dbr_netfilter_ipv6.c50 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
/linux/drivers/extcon/
A Dextcon.h50 struct raw_notifier_head *nh; member
/linux/drivers/platform/surface/aggregator/
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/tools/lib/bpf/
A Dnlattr.h57 struct nlmsghdr nh; member
/linux/lib/mpi/
A Dmpi-internal.h115 #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \ argument

Completed in 97 milliseconds

123