Home
last modified time | relevance | path

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

12

/Linux-v4.19/kernel/
Dnotifier.c121 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register()
143 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister()
176 int __atomic_notifier_call_chain(struct atomic_notifier_head *nh, in __atomic_notifier_call_chain()
190 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain()
213 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register()
244 int blocking_notifier_chain_cond_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_cond_register()
266 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister()
304 int __blocking_notifier_call_chain(struct blocking_notifier_head *nh, in __blocking_notifier_call_chain()
325 int blocking_notifier_call_chain(struct blocking_notifier_head *nh, in blocking_notifier_call_chain()
347 int raw_notifier_chain_register(struct raw_notifier_head *nh, in raw_notifier_chain_register()
[all …]
/Linux-v4.19/net/ipv4/
Dfib_semantics.c160 static void free_nh_exceptions(struct fib_nh *nh) in free_nh_exceptions()
344 struct fib_nh *nh; in ip_fib_check_default() local
612 const struct fib_nh *nh, in fib_encap_match()
780 static int fib_check_nh(struct fib_config *cfg, struct fib_nh *nh, in fib_check_nh()
987 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh) in fib_info_update_nh_saddr()
1145 struct fib_nh *nh = fi->fib_nh; in fib_create_info() local
1203 struct fib_nh *nh = fi->fib_nh; in fib_create_info() local
1483 static void nh_update_mtu(struct fib_nh *nh, u32 new, u32 orig) in nh_update_mtu()
1515 struct fib_nh *nh; in fib_sync_mtu() local
1536 struct fib_nh *nh; in fib_sync_down_dev() local
[all …]
Droute.c635 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, in update_or_create_fnhe()
779 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_do_redirect() local
1025 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_rt_update_pmtu() local
1290 static void ip_del_fnhe(struct fib_nh *nh, __be32 daddr) in ip_del_fnhe()
1320 static struct fib_nh_exception *find_exception(struct fib_nh *nh, __be32 daddr) in find_exception()
1354 struct fib_nh *nh = &fi->fib_nh[res->nh_sel]; in ip_mtu_from_fib_result() local
1424 static bool rt_cache_route(struct fib_nh *nh, struct rtable *rt) in rt_cache_route()
1531 struct fib_nh *nh = &FIB_RES_NH(*res); in rt_set_nexthop() local
2073 struct fib_nh *nh = &FIB_RES_NH(*res); in ip_route_input_slow() local
2253 struct fib_nh *nh = &FIB_RES_NH(*res); in __mkroute_output() local
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c78 struct nlmsghdr *nh; in recv_msg() local
106 static void read_route(struct nlmsghdr *nh, int nll) in read_route()
299 struct nlmsghdr *nh; in get_route_table() local
361 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp()
437 struct nlmsghdr *nh; in get_arp_table() local
505 struct nlmsghdr *nh; in monitor_route() local
/Linux-v4.19/net/nsh/
Dnsh.c19 struct nshhdr *nh; in nsh_push() local
52 struct nshhdr *nh; in nsh_pop() local
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2612 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc()
2628 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free()
2637 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get()
2647 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next()
2661 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_offload()
2666 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha()
2673 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes()
2699 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif()
2704 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip()
2740 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local
[all …]
Dspectrum_router.h103 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument
Dspectrum_dpipe.c909 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_size() local
1063 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_dpipe_table_adj_entry_fill()
1087 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_entries_get() local
1180 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update() local
/Linux-v4.19/net/openvswitch/
Dactions.c385 const struct nshhdr *nh) in push_nsh()
416 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
442 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
498 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
506 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl()
519 struct iphdr *nh; in set_ipv4() local
571 struct ipv6hdr *nh; in set_ipv6() local
641 struct nshhdr *nh; in set_nsh() local
1342 struct nshhdr *nh = (struct nshhdr *)buffer; in do_execute_actions() local
Dflow.c260 struct ipv6hdr *nh; in parse_ipv6hdr() local
496 struct nshhdr *nh; in parse_nsh() local
616 struct iphdr *nh; in key_extract() local
/Linux-v4.19/arch/arm/vfp/
Dvfp.h47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128()
60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128()
75 u32 nh, nl, mh, ml; in mul64to128() local
113 static inline u64 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) in vfp_estimate_div128to64()
/Linux-v4.19/net/mpls/
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()
348 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()
1942 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local
2057 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size() local
[all …]
/Linux-v4.19/net/ipv6/
Dexthdrs.c122 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
730 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
747 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
791 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_calipso() local
Dmip6.c268 const unsigned char *nh = skb_network_header(skb); in mip6_destopt_offset() local
404 const unsigned char *nh = skb_network_header(skb); in mip6_rthdr_offset() local
Dexthdrs_core.c117 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
Ddatagram.c466 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local
604 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
/Linux-v4.19/net/decnet/
Ddn_fib.c195 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()
329 struct dn_fib_nh *nh = fi->fib_nh; in dn_fib_create_info() local
360 struct dn_fib_nh *nh = fi->fib_nh; in dn_fib_create_info() local
/Linux-v4.19/drivers/usb/typec/
Dbus.h26 struct blocking_notifier_head nh; member
/Linux-v4.19/net/bridge/
Dbr_netfilter_ipv6.c54 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
/Linux-v4.19/drivers/extcon/
Dextcon.h50 struct raw_notifier_head *nh; member
/Linux-v4.19/net/ipv4/netfilter/
Dipt_rpfilter.c52 struct fib_nh *nh = &res.fi->fib_nh[ret]; in rpfilter_lookup_reverse() local
Dnf_nat_masquerade_ipv4.c34 __be32 newsrc, nh; in nf_nat_masquerade_ipv4() local
Dnft_fib_ipv4.c154 struct fib_nh *nh = &res.fi->fib_nh[i]; in nft_fib4_eval() local
/Linux-v4.19/scripts/dtc/libfdt/
Dfdt_sw.c172 struct fdt_node_header *nh; in fdt_begin_node() local
/Linux-v4.19/tools/lib/bpf/
Dbpf.c509 struct nlmsghdr nh; in bpf_set_link_xdp_fd() member
513 struct nlmsghdr *nh; in bpf_set_link_xdp_fd() local

12