Home
last modified time | relevance | path

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

123456

/openbmc/linux/net/mpls/
H A Daf_mpls.c543 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route() local
1137 struct nlmsghdr *nlh; in mpls_netconf_fill_devconf() local
1213 const struct nlmsghdr *nlh, in mpls_netconf_valid_get_req()
1253 struct nlmsghdr *nlh, in mpls_netconf_get_devconf()
1304 const struct nlmsghdr *nlh = cb->nlh; in mpls_netconf_dump_devconf() local
1808 struct nlmsghdr *nlh, in rtm_to_route_config()
1993 struct nlmsghdr *nlh; in mpls_dump_route() local
2179 const struct nlmsghdr *nlh = cb->nlh; in mpls_dump_routes() local
2274 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
2301 const struct nlmsghdr *nlh, in mpls_valid_getroute_req()
[all …]
/openbmc/linux/net/core/
H A 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()
H A Dnet_namespace.c754 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_newid()
835 struct nlmsghdr *nlh; in rtnl_net_fill() local
862 const struct nlmsghdr *nlh, in rtnl_net_valid_getid_req()
898 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_getid()
1006 static int rtnl_valid_dump_net_req(const struct nlmsghdr *nlh, struct sock *sk, in rtnl_valid_dump_net_req()
1082 struct nlmsghdr *nlh, gfp_t gfp) in rtnl_net_notifyid()
H A Dneighbour.c1894 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_delete()
1959 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_add()
2164 struct nlmsghdr *nlh; in neightbl_fill_info() local
2258 struct nlmsghdr *nlh; in neightbl_fill_param_info() local
2477 static int neightbl_valid_dump_info(const struct nlmsghdr *nlh, in neightbl_valid_dump_info()
2503 const struct nlmsghdr *nlh = cb->nlh; in neightbl_dump_info() local
2568 struct nlmsghdr *nlh; in neigh_fill_info() local
2629 struct nlmsghdr *nlh; in pneigh_fill_info() local
2796 static int neigh_valid_dump_req(const struct nlmsghdr *nlh, in neigh_valid_dump_req()
2859 const struct nlmsghdr *nlh = cb->nlh; in neigh_dump_info() local
[all …]
/openbmc/linux/drivers/infiniband/core/
H A 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
H A 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
/openbmc/linux/net/mctp/
H A 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
H A 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()
/openbmc/linux/net/ipv4/
H A 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()
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()
1845 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_ifaddr() local
2075 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() local
2164 const struct nlmsghdr *nlh, in inet_netconf_valid_get_req()
2203 struct nlmsghdr *nlh, in inet_netconf_get_devconf()
[all …]
H A 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
H A 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
2318 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2432 struct nlmsghdr *nlh; in igmpmsg_netlink_event() local
2479 const struct nlmsghdr *nlh, in ipmr_rtm_valid_getroute_req()
2533 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute()
2656 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2728 static int ipmr_rtm_route(struct sk_buff *skb, struct nlmsghdr *nlh, in ipmr_rtm_route()
2804 static int ipmr_valid_dumplink(const struct nlmsghdr *nlh, in ipmr_valid_dumplink()
2832 struct nlmsghdr *nlh = NULL; in ipmr_rtm_dumplink() local
/openbmc/linux/tools/lib/bpf/
H A 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()
/openbmc/qemu/linux-user/
H A Dfd-trans.c311 static void tswap_nlmsghdr(struct nlmsghdr *nlh) in tswap_nlmsghdr()
320 static abi_long host_to_target_for_each_nlmsg(struct nlmsghdr *nlh, in host_to_target_for_each_nlmsg()
371 static abi_long target_to_host_for_each_nlmsg(struct nlmsghdr *nlh, in target_to_host_for_each_nlmsg()
1233 static abi_long host_to_target_data_route(struct nlmsghdr *nlh) in host_to_target_data_route()
1281 static inline abi_long host_to_target_nlmsg_route(struct nlmsghdr *nlh, in host_to_target_nlmsg_route()
1457 static abi_long target_to_host_data_route(struct nlmsghdr *nlh) in target_to_host_data_route()
1504 static abi_long target_to_host_nlmsg_route(struct nlmsghdr *nlh, size_t len) in target_to_host_nlmsg_route()
1510 static abi_long host_to_target_data_audit(struct nlmsghdr *nlh) in host_to_target_data_audit()
1521 static inline abi_long host_to_target_nlmsg_audit(struct nlmsghdr *nlh, in host_to_target_nlmsg_audit()
1527 static abi_long target_to_host_data_audit(struct nlmsghdr *nlh) in target_to_host_data_audit()
[all …]
/openbmc/linux/tools/include/uapi/linux/
H A 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
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c81 struct nlmsghdr nlh; in send_request() member
151 struct nlmsghdr *nlh; in receive_response() local
/openbmc/linux/net/smc/
H A Dsmc_stats.c267 void *nlh; in smc_nl_get_stats() local
331 void *nlh; in smc_nl_get_fback_details() local
/openbmc/linux/net/netlink/
H A 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()
/openbmc/linux/net/sctp/
H A 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
/openbmc/linux/drivers/scsi/
H A Dscsi_netlink.c34 struct nlmsghdr *nlh; in scsi_nl_rcv_msg() local
H A 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
2889 struct nlmsghdr *nlh; in iscsi_session_event() local
3319 iscsi_get_chap(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_get_chap()
3795 struct nlmsghdr *nlh, u32 pdu_len) in iscsi_if_transport_conn()
[all …]
/openbmc/linux/include/uapi/linux/
H A 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
/openbmc/linux/tools/lib/thermal/
H A Dsampling.c13 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_thermal_sample() local
H A Devents.c23 struct nlmsghdr *nlh = nlmsg_hdr(n); in handle_thermal_event() local
/openbmc/linux/net/unix/
H A Ddiag.c128 struct nlmsghdr *nlh; in sk_diag_fill() local
259 const struct nlmsghdr *nlh, in unix_diag_get_exact()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_hook.c39 const struct nlmsghdr *nlh, in nf_netlink_dump_start_rcu()
163 struct nlmsghdr *nlh; in nfnl_hook_dump_one() local

123456