| /linux/kernel/ |
| H A D | notifier.c | 141 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 D | nexthop.c | 115 const struct nexthop *nh) in nh_notifier_single_info_init() 195 const struct nexthop *nh) in nh_notifier_grp_info_init() 207 const struct nexthop *nh) in nh_notifier_grp_info_fini() 218 const struct nexthop *nh) in nh_notifier_info_init() 229 const struct nexthop *nh) in nh_notifier_info_fini() 239 struct nexthop *nh, in call_nexthop_notifiers() 272 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local 403 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers() 440 struct nexthop *nh, in call_nexthop_notifier() 481 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group() [all …]
|
| H A D | fib_semantics.c | 478 struct fib_nh *nh; ip_fib_check_default() local 552 struct fib_nh *nh; fib_nlmsg_size() local 673 fib_nh_init(struct net * net,struct fib_nh * nh,struct fib_config * cfg,int nh_weight,struct netlink_ext_ack * extack) fib_nh_init() argument 748 struct fib_nh *nh; fib_get_nhs() local 908 fib_encap_match(struct net * net,u16 encap_type,struct nlattr * encap,const struct fib_nh * nh,const struct fib_config * cfg,struct netlink_ext_ack * extack) fib_encap_match() argument 952 struct fib_nh *nh; fib_nh_match() local 1102 fib_check_nh_v6_gw(struct net * net,struct fib_nh * nh,u32 table,struct netlink_ext_ack * extack) fib_check_nh_v6_gw() argument 1171 fib_check_nh_v4_gw(struct net * net,struct fib_nh * nh,u32 table,u8 scope,struct netlink_ext_ack * extack) fib_check_nh_v4_gw() argument 1265 fib_check_nh_nongw(struct net * net,struct fib_nh * nh,struct netlink_ext_ack * extack) fib_check_nh_nongw() argument 1300 fib_check_nh(struct net * net,struct fib_nh * nh,u32 table,u8 scope,struct netlink_ext_ack * extack) fib_check_nh() argument 1318 struct fib_nh *nh; fib_info_update_nhc_saddr() local 1341 struct fib_nh *nh; fib_result_prefsrc() local 1381 struct nexthop *nh = NULL; fib_create_info() local 1506 struct fib_nh *nh = fi->fib_nh; fib_create_info() local 1809 struct fib_nh *nh; fib_dump_info() local 1869 call_fib_nh_notifiers(struct fib_nh * nh,enum fib_event_type event_type) call_fib_nh_notifiers() argument 1927 struct fib_nh *nh; fib_sync_mtu() local 1948 struct fib_nh *nh; fib_sync_down_dev() local 2096 struct fib_nh *nh; fib_sync_up() local 2152 fib_good_nh(const struct fib_nh * nh) fib_good_nh() argument [all...] |
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | pm_nl_ctl.c | 50 struct nlmsghdr *nh = (void *)data; in init_genl_req() local 66 static int nl_error(struct nlmsghdr *nh) in nl_error() argument 108 struct nlmsghdr *nh; capture_events() local 218 do_nl_req(int fd,struct nlmsghdr * nh,int len,int max) do_nl_req() argument 329 struct nlmsghdr *nh; resolve_mptcp_pm_netlink() local 356 struct nlmsghdr *nh; dsf() local 468 struct nlmsghdr *nh; csf() local 600 struct nlmsghdr *nh; remove_addr() local 653 struct nlmsghdr *nh; announce_addr() local 777 struct nlmsghdr *nh; add_addr() local 912 struct nlmsghdr *nh; del_addr() local 1084 print_addrs(struct nlmsghdr * nh,int pm_family,int total_len) print_addrs() argument 1117 struct nlmsghdr *nh; get_addr() local 1169 struct nlmsghdr *nh; dump_addrs() local 1207 struct nlmsghdr *nh; flush_addrs() local 1219 print_limits(struct nlmsghdr * nh,int pm_family,int total_len) print_limits() argument 1261 struct nlmsghdr *nh; get_set_limits() local 1356 struct nlmsghdr *nh; set_flags() local [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | tap.c | 33 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() 68 static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type, in rtattr_add_any() 78 int (*fill_rtattr)(struct nlmsghdr *nh), in dev_create() 79 int (*fill_info_data)(struct nlmsghdr *nh)) in dev_create() 82 struct nlmsghdr nh; in dev_create() member 140 struct nlmsghdr nh; in dev_delete() member 171 static int macvtap_fill_rtattr(struct nlmsghdr *nh) in macvtap_fill_rtattr()
|
| H A D | ipsec.c | 210 rtattr_hdr(struct nlmsghdr * nh) rtattr_hdr() argument 215 rtattr_pack(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type,const void * payload,size_t size) rtattr_pack() argument 236 _rtattr_begin(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type,const void * payload,size_t size) _rtattr_begin() argument 247 rtattr_begin(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type) rtattr_begin() argument 253 rtattr_end(struct nlmsghdr * nh,struct rtattr * attr) rtattr_end() argument 260 veth_pack_peerb(struct nlmsghdr * nh,size_t req_sz,const char * peer,int ns) veth_pack_peerb() argument 313 struct nlmsghdr nh; veth_add() member 363 struct nlmsghdr nh; ip4_addr_set() member 403 struct nlmsghdr nh; link_set_up() member 430 struct nlmsghdr nh; ip4_route_set() member 827 xfrm_state_pack_algo(struct nlmsghdr * nh,size_t req_sz,struct xfrm_desc * desc) xfrm_state_pack_algo() argument 920 struct nlmsghdr nh; xfrm_state_add() member 1009 struct nlmsghdr nh; xfrm_state_check() member 1013 struct nlmsghdr nh; xfrm_state_check() member 1102 struct nlmsghdr nh; xfrm_policy_add() member 1177 struct nlmsghdr nh; xfrm_policy_del() member 1227 struct nlmsghdr nh; xfrm_state_del() member 1278 struct nlmsghdr nh; xfrm_state_allocspi() member 1282 struct nlmsghdr nh; xfrm_state_allocspi() member 1368 struct nlmsghdr nh; xfrm_monitor_acquire() member 1439 struct nlmsghdr nh; xfrm_expire_state() member 1511 struct nlmsghdr nh; xfrm_expire_policy() member 1592 struct nlmsghdr nh; xfrm_spdinfo_set_thresh() member 1649 struct nlmsghdr nh; xfrm_spdinfo_attrs() member [all...] |
| /linux/include/net/ |
| H A D | nexthop.h | 108 struct nexthop *nh; member 200 struct nh_notifier_single_info nh; member 241 struct nh_notifier_single_info *nh; member 266 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get() 271 static inline void nexthop_put(struct nexthop *nh) in nexthop_put() 283 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb() 298 static inline bool nexthop_has_v4(const struct nexthop *nh) in nexthop_has_v4() 309 static inline bool nexthop_is_multipath(const struct nexthop *nh) in nexthop_is_multipath() 322 static inline unsigned int nexthop_num_path(const struct nexthop *nh) in nexthop_num_path() 350 int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh, in nexthop_mpath_fill_node() [all …]
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | netlink.c | 60 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 D | xfrm_info.c | 171 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 D | route.c | 481 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local 505 __rt6_device_match(struct net * net,const struct fib6_nh * nh,const struct in6_addr * saddr,int oif,int flags) __rt6_device_match() argument 531 struct fib6_nh *nh; global() member 534 __rt6_nh_dev_match(struct fib6_nh * nh,void * _arg) __rt6_nh_dev_match() argument 544 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 570 struct fib6_nh *nh; rt6_device_match() local 751 rt6_score_route(const struct fib6_nh * nh,u32 fib6_flags,int oif,int strict) rt6_score_route() argument 773 find_match(struct fib6_nh * nh,u32 fib6_flags,int oif,int strict,int * mpri,bool * do_rr) find_match() argument 815 struct fib6_nh *nh; global() member 818 rt6_nh_find_match(struct fib6_nh * nh,void * _arg) rt6_nh_find_match() argument 840 struct fib6_nh *nh; __find_rr_leaf() local 1176 const struct fib6_nh *nh = res->nh; ip6_rt_copy_init() local 1641 const struct fib6_nh *nh = res->nh; fib6_mtu() local 1673 fib6_nh_get_excptn_bucket(const struct fib6_nh * nh,spinlock_t * lock) fib6_nh_get_excptn_bucket() argument 1703 fib6_nh_excptn_bucket_set_flushed(struct fib6_nh * nh,spinlock_t * lock) fib6_nh_excptn_bucket_set_flushed() argument 1726 struct fib6_nh *nh = res->nh; rt6_insert_exception() local 1802 fib6_nh_flush_exceptions(struct fib6_nh * nh,struct fib6_info * from) fib6_nh_flush_exceptions() argument 1832 rt6_nh_flush_exceptions(struct fib6_nh * nh,void * arg) rt6_nh_flush_exceptions() argument 1898 fib6_nh_remove_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_remove_exception() argument 1941 rt6_nh_remove_exception_rt(struct fib6_nh * nh,void * _arg) rt6_nh_remove_exception_rt() argument 1982 fib6_nh_update_exception(const struct fib6_nh * nh,int plen,const struct rt6_info * rt) fib6_nh_update_exception() argument 2012 fib6_nh_find_match(struct fib6_nh * nh,void * _arg) fib6_nh_find_match() argument 2083 rt6_exceptions_update_pmtu(struct inet6_dev * idev,const struct fib6_nh * nh,int mtu) rt6_exceptions_update_pmtu() argument 2111 fib6_nh_exceptions_clean_tohost(const struct fib6_nh * nh,const struct in6_addr * gateway) fib6_nh_exceptions_clean_tohost() argument 2186 fib6_nh_age_exceptions(const struct fib6_nh * nh,struct fib6_gc_args * gc_args,unsigned long now) fib6_nh_age_exceptions() argument 2220 rt6_nh_age_exceptions(struct fib6_nh * nh,void * _arg) rt6_nh_age_exceptions() argument 3073 const struct fib6_nh *nh = res->nh; ip6_redirect_nh_match() local 3105 fib6_nh_redirect_match(struct fib6_nh * nh,void * _arg) fib6_nh_redirect_match() argument 3306 const struct fib6_nh *nh = res->nh; ip6_mtu_from_fib6() local 3886 struct nexthop *nh; ip6_route_info_create_nh() local 4113 ip6_del_cached_rt(struct fib6_config * cfg,struct fib6_info * rt,struct fib6_nh * nh) ip6_del_cached_rt() argument 4133 fib6_nh_del_cached_rt(struct fib6_nh * nh,void * _arg) fib6_nh_del_cached_rt() argument 4175 struct fib6_nh *nh; ip6_route_del() local 4472 struct fib6_nh *nh; rt6_get_dflt_router() local 4771 struct fib6_nh *nh; fib6_clean_tohost() local 5056 fib6_nh_mtu_change(struct fib6_nh * nh,void * _arg) fib6_nh_mtu_change() argument 5356 struct rt6_nh *nh; ip6_route_info_append() local 5432 struct rt6_nh *nh, *nh_safe; ip6_route_multipath_add() local 5693 rt6_nh_nlmsg_size(struct fib6_nh * nh,void * arg) rt6_nh_nlmsg_size() argument 5714 struct fib6_nh *nh; rt6_nlmsg_size() local 5758 rt6_fill_node_nexthop(struct sk_buff * skb,struct nexthop * nh,unsigned char * flags) rt6_fill_node_nexthop() argument 5986 fib6_info_nh_uses_dev(struct fib6_nh * nh,void * arg) fib6_info_nh_uses_dev() argument 6036 rt6_nh_dump_exceptions(struct fib6_nh * nh,void * arg) rt6_nh_dump_exceptions() argument [all...] |
| H A D | exthdrs_core.c | 121 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
|
| H A D | datagram.c | 488 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local 637 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 63 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 D | actions.c | 288 struct nshhdr *nh = (struct nshhdr *)buffer; in push_nsh() local 322 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 348 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 406 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield() 419 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() 435 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl() 445 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 458 struct iphdr *nh; in set_ipv4() local 510 struct ipv6hdr *nh; in set_ipv6() local 1182 struct ipv6hdr *nh; in execute_dec_ttl() local [all …]
|
| H A D | flow.c | 269 static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, in get_ipv6_ext_hdrs() 387 struct ipv6hdr *nh; in parse_ipv6hdr() local 627 struct nshhdr *nh; in parse_nsh() local 685 struct iphdr *nh; in key_extract_l3l4() local
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 118 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via() 124 const struct mpls_nh *nh) in mpls_nh_via() 129 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size() 372 const struct mpls_nh *nh; in mpls_forward() local 624 struct mpls_nh *nh, in inet_fib_lookup_dev() 644 struct mpls_nh *nh, in inet_fib_lookup_dev() 653 struct mpls_nh *nh, in inet6_fib_lookup_dev() 674 struct mpls_nh *nh, in inet6_fib_lookup_dev() 683 struct mpls_nh *nh, int oif) in find_outdev() 715 struct mpls_nh *nh, int oif) in mpls_nh_assign_dev() [all …]
|
| /linux/net/nsh/ |
| H A D | nsh.c | 17 struct nshhdr *nh; in nsh_push() local 50 struct nshhdr *nh; in nsh_pop() local
|
| /linux/arch/arm/vfp/ |
| H A 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/tools/lib/bpf/ |
| H A D | netlink.c | 143 struct nlmsghdr *nh; in libbpf_netlink_recv() local 251 static int parse_genl_family_id(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_genl_family_id() 407 static int parse_xdp_features(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in parse_xdp_features() 697 static int get_tc_info(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, in get_tc_info()
|
| H A D | nlattr.h | 58 struct nlmsghdr nh; member
|
| /linux/drivers/extcon/ |
| H A D | extcon.h | 52 struct raw_notifier_head *nh; member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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/drivers/platform/surface/aggregator/ |
| H A 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/lib/crypto/mpi/ |
| H A D | mpi-internal.h | 108 #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \ argument
|
| /linux/scripts/crypto/ |
| H A D | gen-hash-testvecs.py | 196 def nh(key, msg): global() function
|