/Linux-v5.15/kernel/ |
D | notifier.c | 139 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() 161 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() 192 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain() 221 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register() 251 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister() 271 int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, in blocking_notifier_call_chain_robust() 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() [all …]
|
/Linux-v5.15/net/ipv4/ |
D | nexthop.c | 100 const struct nexthop *nh) in nh_notifier_single_info_init() 180 const struct nexthop *nh) in nh_notifier_grp_info_init() 192 const struct nexthop *nh) in nh_notifier_grp_info_fini() 203 const struct nexthop *nh) in nh_notifier_info_init() 214 const struct nexthop *nh) in nh_notifier_info_fini() 224 struct nexthop *nh, in call_nexthop_notifiers() 257 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local 389 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers() 425 struct nexthop *nh, in call_nexthop_notifier() 466 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group() [all …]
|
D | fib_semantics.c | 432 struct fib_nh *nh; in ip_fib_check_default() local 610 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init() 672 struct fib_nh *nh; in fib_get_nhs() local 820 const struct fib_nh *nh, in fib_encap_match() 858 struct fib_nh *nh = fib_info_nh(fi, 0); in fib_nh_match() local 994 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw() 1062 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw() 1156 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw() 1191 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-v5.15/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 40 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 461 static void print_addrs(struct nlmsghdr *nh, int pm_family, int total_len) in print_addrs() 494 struct nlmsghdr *nh; in get_addr() local 534 struct nlmsghdr *nh; in dump_addrs() local 555 struct nlmsghdr *nh; in flush_addrs() local [all …]
|
/Linux-v5.15/include/net/ |
D | nexthop.h | 99 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() 275 static inline bool nexthop_is_multipath(const struct nexthop *nh) in nexthop_is_multipath() 288 static inline unsigned int nexthop_num_path(const struct nexthop *nh) in nexthop_num_path() 316 int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh, in nexthop_mpath_fill_node() [all …]
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | ipsec.c | 172 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr() 177 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack() 197 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() 208 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() 214 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 221 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() 274 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 [all …]
|
/Linux-v5.15/net/ipv6/ |
D | route.c | 443 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local 464 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match() 490 struct fib6_nh *nh; member 493 static int __rt6_nh_dev_match(struct fib6_nh *nh, void *_arg) in __rt6_nh_dev_match() 503 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match() 529 struct fib6_nh *nh; in rt6_device_match() local 706 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() 728 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() 770 struct fib6_nh *nh; member 773 static int rt6_nh_find_match(struct fib6_nh *nh, void *_arg) in rt6_nh_find_match() [all …]
|
D | exthdrs.c | 117 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
|
D | exthdrs_core.c | 118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
|
D | datagram.c | 481 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-v5.15/samples/bpf/ |
D | xdp_router_ipv4_user.c | 94 struct nlmsghdr *nh; in recv_msg() local 122 static void read_route(struct nlmsghdr *nh, int nll) in read_route() 315 struct nlmsghdr *nh; in get_route_table() local 377 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp() 455 struct nlmsghdr *nh; in get_arp_table() local 523 struct nlmsghdr *nh; in monitor_route() local
|
/Linux-v5.15/net/nsh/ |
D | nsh.c | 16 struct nshhdr *nh; in nsh_push() local 49 struct nshhdr *nh; in nsh_pop() local
|
/Linux-v5.15/net/openvswitch/ |
D | actions.c | 313 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 …]
|
D | flow.c | 248 struct ipv6hdr *nh; in parse_ipv6hdr() local 485 struct nshhdr *nh; in parse_nsh() local 543 struct iphdr *nh; in key_extract_l3l4() local
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2955 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 2971 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 2980 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 2990 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 3004 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward() 3009 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha() 3017 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes() 3043 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif() 3048 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip() 3169 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local [all …]
|
D | spectrum_dpipe.c | 911 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-v5.15/arch/arm/vfp/ |
D | vfp.h | 44 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-v5.15/net/mpls/ |
D | af_mpls.c | 95 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via() 101 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() 1987 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local 2129 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_ipv6_route.c | 19 struct nexthop *nh; in dump_ipv6_route() local
|
/Linux-v5.15/net/decnet/ |
D | dn_fib.c | 194 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-v5.15/net/bridge/ |
D | br_netfilter_ipv6.c | 50 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
|
/Linux-v5.15/drivers/extcon/ |
D | extcon.h | 50 struct raw_notifier_head *nh; member
|
/Linux-v5.15/drivers/platform/surface/aggregator/ |
D | controller.c | 148 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-v5.15/tools/lib/bpf/ |
D | nlattr.h | 57 struct nlmsghdr nh; member
|
/Linux-v5.15/lib/mpi/ |
D | mpi-internal.h | 115 #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \ argument
|