Home
last modified time | relevance | path

Searched defs:nlh (Results 26 – 50 of 135) sorted by relevance

123456

/Linux-v6.6/net/ieee802154/
Dnetlink.c47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local
76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
/Linux-v6.6/net/core/
Dfib_rules.c516 static int fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl2rule()
774 int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule()
882 int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule()
1012 struct nlmsghdr *nlh; in fib_nl_fill_rule() local
1116 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req()
1144 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule() local
1187 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Dnet_namespace.c746 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_newid()
827 struct nlmsghdr *nlh; in rtnl_net_fill() local
854 const struct nlmsghdr *nlh, in rtnl_net_valid_getid_req()
890 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_getid()
998 static int rtnl_valid_dump_net_req(const struct nlmsghdr *nlh, struct sock *sk, in rtnl_valid_dump_net_req()
1074 struct nlmsghdr *nlh, gfp_t gfp) in rtnl_net_notifyid()
Dneighbour.c1887 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_delete()
1952 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_add()
2157 struct nlmsghdr *nlh; in neightbl_fill_info() local
2251 struct nlmsghdr *nlh; in neightbl_fill_param_info() local
2304 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh, in neightbl_set()
2470 static int neightbl_valid_dump_info(const struct nlmsghdr *nlh, in neightbl_valid_dump_info()
2496 const struct nlmsghdr *nlh = cb->nlh; in neightbl_dump_info() local
2561 struct nlmsghdr *nlh; in neigh_fill_info() local
2622 struct nlmsghdr *nlh; in pneigh_fill_info() local
2789 static int neigh_valid_dump_req(const struct nlmsghdr *nlh, in neigh_valid_dump_req()
[all …]
/Linux-v6.6/drivers/infiniband/core/
Diwpm_util.c438 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg()
581 struct nlmsghdr *nlh; in send_mapinfo_num() local
620 struct nlmsghdr *nlh = NULL; in send_nlmsg_done() local
642 struct nlmsghdr *nlh; in iwpm_send_mapinfo() local
764 struct nlmsghdr *nlh; in iwpm_send_hello() local
Diwpm_msg.c67 struct nlmsghdr *nlh; in iwpm_register_pid() local
147 struct nlmsghdr *nlh; in iwpm_add_mapping() local
230 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() local
317 struct nlmsghdr *nlh; in iwpm_remove_mapping() local
Daddr.c83 static inline bool ib_nl_is_good_ip_resp(const struct nlmsghdr *nlh) in ib_nl_is_good_ip_resp()
99 static void ib_nl_process_good_ip_rsep(const struct nlmsghdr *nlh) in ib_nl_process_good_ip_rsep()
133 struct nlmsghdr *nlh, in ib_nl_handle_ip_res_resp()
151 struct nlmsghdr *nlh; in ib_nl_ip_send_msg() local
/Linux-v6.6/net/ipv4/
Ddevinet.c354 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa()
476 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
647 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_deladdr()
827 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
946 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newaddr()
1678 struct nlmsghdr *nlh; in inet_fill_ifaddr() local
1743 static int inet_valid_dump_ifaddr_req(const struct nlmsghdr *nlh, in inet_valid_dump_ifaddr_req()
1830 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_ifaddr() local
1912 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
2061 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() local
[all …]
Dfib_frontend.c728 struct nlmsghdr *nlh, struct fib_config *cfg, in rtm_to_fib_config()
855 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_delroute()
885 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newroute()
910 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in ip_valid_fib_dump_req()
988 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_fib() local
1378 struct nlmsghdr *nlh; in nl_fib_input() local
Dipmr.c730 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_destroy_unres() local
989 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_cache_resolve() local
2317 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2431 struct nlmsghdr *nlh; in igmpmsg_netlink_event() local
2478 const struct nlmsghdr *nlh, in ipmr_rtm_valid_getroute_req()
2532 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute()
2655 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2727 static int ipmr_rtm_route(struct sk_buff *skb, struct nlmsghdr *nlh, in ipmr_rtm_route()
2803 static int ipmr_valid_dumplink(const struct nlmsghdr *nlh, in ipmr_valid_dumplink()
2831 struct nlmsghdr *nlh = NULL; in ipmr_rtm_dumplink() local
/Linux-v6.6/net/mctp/
Dneigh.c115 static int mctp_rtm_newneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_newneigh()
173 static int mctp_rtm_delneigh(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_delneigh()
213 struct nlmsghdr *nlh; in mctp_fill_neigh() local
Ddevice.c66 struct nlmsghdr *nlh; in mctp_fill_addrinfo() local
190 static int mctp_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_newaddr()
253 static int mctp_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in mctp_rtm_deladdr()
/Linux-v6.6/tools/lib/bpf/
Dnlattr.c81 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
158 int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh) in libbpf_nla_dump_errormsg()
/Linux-v6.6/tools/include/uapi/linux/
Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/Linux-v6.6/tools/testing/selftests/net/af_unix/
Ddiag_uid.c81 struct nlmsghdr nlh; in send_request() member
152 struct nlmsghdr *nlh; in receive_response() local
/Linux-v6.6/net/smc/
Dsmc_stats.c267 void *nlh; in smc_nl_get_stats() local
331 void *nlh; in smc_nl_get_fback_details() local
/Linux-v6.6/net/netlink/
Dgenetlink.c752 struct nlmsghdr *nlh; in genlmsg_put() local
781 struct nlmsghdr *nlh, in genl_family_rcv_msg_attrs_parse()
817 struct nlmsghdr *nlh; member
909 struct nlmsghdr *nlh, in genl_family_rcv_msg_dumpit()
940 struct nlmsghdr *nlh, in genl_family_rcv_msg_doit()
983 struct nlmsghdr *nlh, struct genlmsghdr *hdr, in genl_header_check()
1014 struct nlmsghdr *nlh, in genl_family_rcv_msg()
1055 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in genl_rcv_msg()
/Linux-v6.6/net/sctp/
Ddiag.c130 struct nlmsghdr *nlh; in inet_sctp_diag_fill() local
222 const struct nlmsghdr *nlh; member
425 const struct nlmsghdr *nlh = cb->nlh; in sctp_diag_dump_one() local
/Linux-v6.6/include/uapi/linux/
Dnetlink.h103 #define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN)) argument
104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
107 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/Linux-v6.6/drivers/scsi/
Dscsi_netlink.c34 struct nlmsghdr *nlh; in scsi_nl_rcv_msg() local
Dscsi_transport_iscsi.c2570 struct nlmsghdr *nlh; in iscsi_recv_pdu() local
2609 struct nlmsghdr *nlh; in iscsi_offload_mesg() local
2642 struct nlmsghdr *nlh; in iscsi_conn_error_event() local
2703 struct nlmsghdr *nlh; in iscsi_conn_login_event() local
2738 struct nlmsghdr *nlh; in iscsi_post_host_event() local
2769 struct nlmsghdr *nlh; in iscsi_ping_comp_event() local
2798 struct nlmsghdr *nlh; in iscsi_if_send_reply() local
2813 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_if_get_stats()
2889 struct nlmsghdr *nlh; in iscsi_session_event() local
3319 iscsi_get_chap(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_get_chap()
[all …]
/Linux-v6.6/net/unix/
Ddiag.c128 struct nlmsghdr *nlh; in sk_diag_fill() local
259 const struct nlmsghdr *nlh, in unix_diag_get_exact()
/Linux-v6.6/net/netfilter/
Dnfnetlink_hook.c39 const struct nlmsghdr *nlh, in nf_netlink_dump_start_rcu()
163 struct nlmsghdr *nlh; in nfnl_hook_dump_one() local
/Linux-v6.6/net/ipv6/
Daddrconf.c528 struct nlmsghdr *nlh; in inet6_netconf_fill_devconf() local
608 const struct nlmsghdr *nlh, in inet6_netconf_valid_get_req()
647 struct nlmsghdr *nlh, in inet6_netconf_get_devconf()
712 const struct nlmsghdr *nlh = cb->nlh; in inet6_netconf_dump_devconf() local
4707 inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet6_rtm_deladdr()
4893 inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet6_rtm_newaddr()
4988 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg()
5056 struct nlmsghdr *nlh; in inet6_fill_ifaddr() local
5128 struct nlmsghdr *nlh; in inet6_fill_ifmcaddr() local
5163 struct nlmsghdr *nlh; in inet6_fill_ifacaddr() local
[all …]
/Linux-v6.6/tools/lib/thermal/
Dsampling.c13 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_thermal_sample() local

123456