Home
last modified time | relevance | path

Searched refs:nlmsghdr (Results 1 – 105 of 105) sorted by relevance

/linux-4.4.14/include/net/
Dnetlink.h226 struct nlmsghdr *nlh;
232 int (*cb)(struct sk_buff *, struct nlmsghdr *));
292 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
301 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
311 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
323 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
335 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
336 nlh->nlmsg_len >= sizeof(struct nlmsghdr) && in nlmsg_ok()
348 static inline struct nlmsghdr *
[all …]
Dgenetlink.h91 struct nlmsghdr * nlhdr;
201 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr, in genlmsg_nlhdr()
204 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr()
218 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
367 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len()
Drtnetlink.h7 typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *);
9 typedef u16 (*rtnl_calcit_func)(struct sk_buff *, struct nlmsghdr *);
18 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
Ddn_fib.h81 struct nlattr *attrs[], struct nlmsghdr *n,
84 struct nlattr *attrs[], struct nlmsghdr *n,
104 const struct nlmsghdr *nlh, int *errp);
Dswitchdev.h190 struct nlmsghdr *nlh, u16 flags);
192 struct nlmsghdr *nlh, u16 flags);
273 struct nlmsghdr *nlh, in switchdev_port_bridge_setlink()
280 struct nlmsghdr *nlh, in switchdev_port_bridge_dellink()
/linux-4.4.14/include/rdma/
Drdma_netlink.h45 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq,
56 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
66 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh,
77 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh,
/linux-4.4.14/include/uapi/linux/
Dnetlink.h42 struct nlmsghdr { struct
82 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
87 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
89 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
102 struct nlmsghdr msg;
/linux-4.4.14/include/linux/
Dinet_diag.h9 struct nlmsghdr;
20 const struct nlmsghdr *nlh,
35 const struct nlmsghdr *unlh);
41 struct sk_buff *in_skb, const struct nlmsghdr *nlh,
Dsock_diag.h11 struct nlmsghdr;
16 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
23 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
24 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
Dnetlink.h13 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr()
15 return (struct nlmsghdr *)skb->data; in nlmsg_hdr()
69 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
133 const struct nlmsghdr *nlh;
152 struct nlmsghdr *
164 const struct nlmsghdr *nlh,
167 const struct nlmsghdr *nlh, in netlink_dump_start()
Drtnetlink.h13 u32 group, struct nlmsghdr *nlh, gfp_t flags);
Dnetdevice.h1197 struct nlmsghdr *nlh,
1205 struct nlmsghdr *nlh,
/linux-4.4.14/drivers/infiniband/core/
Dnetlink.c113 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg()
132 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr()
149 static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in ibnl_rcv_msg()
195 struct nlmsghdr *nlh; in ibnl_rcv_reply_skb()
230 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_unicast()
237 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_multicast()
Diwpm_util.c450 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg()
592 struct nlmsghdr *nlh; in send_mapinfo_num()
629 struct nlmsghdr *nlh = NULL; in send_nlmsg_done()
640 ret = ibnl_unicast(skb, (struct nlmsghdr *)skb->data, iwpm_pid); in send_nlmsg_done()
650 struct nlmsghdr *nlh; in iwpm_send_mapinfo()
Diwpm_util.h246 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh,
Diwpm_msg.c61 struct nlmsghdr *nlh; in iwpm_register_pid()
138 struct nlmsghdr *nlh; in iwpm_add_mapping()
208 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping()
282 struct nlmsghdr *nlh; in iwpm_remove_mapping()
Dsa_query.c518 struct nlmsghdr *nlh; in ib_nl_send_msg()
616 const struct nlmsghdr *nlh) in ib_nl_process_good_resolve_rsp()
709 const struct nlmsghdr *nlh = (struct nlmsghdr *)cb->nlh; in ib_nl_handle_set_timeout()
765 static inline int ib_nl_is_good_resolve_resp(const struct nlmsghdr *nlh) in ib_nl_is_good_resolve_resp()
784 const struct nlmsghdr *nlh = (struct nlmsghdr *)cb->nlh; in ib_nl_handle_resolve_resp()
Dcma.c3954 struct nlmsghdr *nlh; in cma_get_id_stats()
/linux-4.4.14/net/dcb/
Ddcbnl.c197 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg()
201 struct nlmsghdr *nlh; in dcbnl_newmsg()
221 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
232 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
277 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
291 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
335 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
381 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
414 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
424 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
[all …]
/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c24 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
49 struct nlmsghdr *nlh; in netlink_rcv_cb()
56 nlh = (struct nlmsghdr *)skb->data; in netlink_rcv_cb()
120 struct nlmsghdr *nlh; in netlink_send()
/linux-4.4.14/include/linux/netfilter/
Dnfnetlink.h12 const struct nlmsghdr *nlh,
15 const struct nlmsghdr *nlh,
18 const struct nlmsghdr *nlh,
/linux-4.4.14/Documentation/connector/
Ducon.c62 struct nlmsghdr *nlh; in netlink_send()
70 nlh = (struct nlmsghdr *)buf; in netlink_send()
116 struct nlmsghdr *reply; in main()
228 reply = (struct nlmsghdr *)buf; in main()
Dcn_test.c59 struct nlmsghdr *nlh;
Dconnector.txt110 nlmsghdr->nlmsg_seq too.
/linux-4.4.14/crypto/
Dcrypto_user.c193 struct nlmsghdr *nlh; in crypto_report_alg()
218 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report()
288 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg()
324 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg()
387 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg()
444 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng()
468 int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **);
481 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in crypto_user_rcv_msg()
/linux-4.4.14/drivers/staging/gdm724x/
Dnetlink_k.c46 struct nlmsghdr *nlh; in netlink_rcv_cb()
62 nlh = (struct nlmsghdr *)skb->data; in netlink_rcv_cb()
119 struct nlmsghdr *nlh; in netlink_send()
/linux-4.4.14/net/core/
Dsock_diag.c18 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh);
169 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
177 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
217 static int __sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_rcv_msg()
244 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in sock_diag_rcv_msg()
Dfib_rules.c65 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
268 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_newrule()
428 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_delrule()
564 struct nlmsghdr *nlh; in fib_nl_fill_rule()
693 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
Ddrop_monitor.c141 struct nlmsghdr *nlh; in trace_drop_common()
156 nlh = (struct nlmsghdr *)dskb->data; in trace_drop_common()
Drtnetlink.c643 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
1199 struct nlmsghdr *nlh; in rtnl_fill_ifinfo()
1947 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_setlink()
2040 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_dellink()
2165 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_newlink()
2410 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh) in rtnl_getlink()
2458 static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_calcit()
2571 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill()
2688 static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_add()
2787 static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_del()
[all …]
Dnet_namespace.c541 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_newid()
594 struct nlmsghdr *nlh; in rtnl_net_fill()
615 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_getid()
Dneighbour.c1594 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_delete()
1651 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_add()
1792 struct nlmsghdr *nlh; in neightbl_fill_info()
1884 struct nlmsghdr *nlh; in neightbl_fill_param_info()
1936 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh) in neightbl_set()
2153 struct nlmsghdr *nlh; in neigh_fill_info()
2205 struct nlmsghdr *nlh; in pneigh_fill_info()
2264 const struct nlmsghdr *nlh = cb->nlh; in neigh_dump_table()
/linux-4.4.14/net/wimax/
Dop-msg.c186 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data_len()
208 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_data()
229 struct nlmsghdr *nlh = (void *) msg->head; in wimax_msg_len()
337 struct nlmsghdr *nlh = info->nlhdr; in wimax_gnl_doit_msg_from_user()
/linux-4.4.14/net/ipv4/
Dinet_diag.c111 const struct nlmsghdr *unlh) in inet_sk_diag_fill()
118 struct nlmsghdr *nlh; in inet_sk_diag_fill()
259 const struct nlmsghdr *unlh) in inet_csk_diag_fill()
268 const struct nlmsghdr *unlh) in inet_twsk_diag_fill()
272 struct nlmsghdr *nlh; in inet_twsk_diag_fill()
304 const struct nlmsghdr *unlh) in inet_req_diag_fill()
307 struct nlmsghdr *nlh; in inet_req_diag_fill()
339 const struct nlmsghdr *unlh) in sk_diag_fill()
355 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk()
418 const struct nlmsghdr *nlh, in inet_diag_get_exact()
[all …]
Dudp_diag.c35 const struct nlmsghdr *nlh, in udp_dump_one()
155 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one()
183 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
Dtcp_diag.c43 static int tcp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in tcp_diag_dump_one()
Ddevinet.c177 static void rtmsg_ifa(int event, struct in_ifaddr *, struct nlmsghdr *, u32);
327 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa()
440 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
575 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_deladdr()
746 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
847 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newaddr()
1511 struct nlmsghdr *nlh; in inet_fill_ifaddr()
1624 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
1759 struct nlmsghdr *nlh; in inet_netconf_fill_devconf()
1837 struct nlmsghdr *nlh) in inet_netconf_get_devconf()
Dfib_frontend.c633 struct nlmsghdr *nlh, struct fib_config *cfg) in rtm_to_fib_config()
709 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_delroute()
731 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newroute()
1078 struct nlmsghdr *nlh; in nl_fib_input()
Dipmr.c631 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres()
915 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve()
2264 struct nlmsghdr *nlh; in ipmr_fill_mroute()
Droute.c2417 struct nlmsghdr *nlh; in rt_fill_info()
2524 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet_rtm_getroute()
Dfib_semantics.c1219 struct nlmsghdr *nlh; in fib_dump_info()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c740 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
745 static struct nlmsghdr *
749 struct nlmsghdr *nlh; in start_msg()
830 const struct nlmsghdr *nlh, in ip_set_none()
838 const struct nlmsghdr *nlh, in ip_set_create()
981 const struct nlmsghdr *nlh, in ip_set_destroy()
1057 const struct nlmsghdr *nlh, in ip_set_flush()
1097 const struct nlmsghdr *nlh, in ip_set_rename()
1147 const struct nlmsghdr *nlh, in ip_set_swap()
1219 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
[all …]
/linux-4.4.14/net/netfilter/
Dnfnetlink_cttimeout.c72 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
162 struct nlmsghdr *nlh; in ctnl_timeout_fill_info()
245 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
344 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
374 const struct nlmsghdr *nlh, in cttimeout_default_set()
418 struct nlmsghdr *nlh; in cttimeout_default_fill_info()
463 const struct nlmsghdr *nlh, in cttimeout_default_get()
Dnfnetlink.c153 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_msg()
229 struct nlmsghdr *nlh;
233 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err) in nfnl_err_add()
278 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
444 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv()
Dnfnetlink_acct.c51 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new()
134 struct nlmsghdr *nlh; in nfnl_acct_fill_info()
258 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get()
338 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
Dnf_conntrack_netlink.c476 struct nlmsghdr *nlh; in ctnetlink_fill_info()
637 struct nlmsghdr *nlh; in ctnetlink_conntrack_event()
1118 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1173 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1335 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1357 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
1870 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
1970 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info()
2039 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
2056 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info()
[all …]
Dnfnetlink_cthelper.c291 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_new()
414 struct nlmsghdr *nlh; in nfnl_cthelper_fill_info()
503 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_get()
575 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_cthelper_del()
Dnf_tables_api.c94 const struct nlmsghdr *nlh, in nft_ctx_init()
446 struct nlmsghdr *nlh; in nf_tables_fill_table_info()
546 const struct nlmsghdr *nlh, in nf_tables_gettable()
677 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newtable()
814 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_deltable()
965 struct nlmsghdr *nlh; in nf_tables_fill_chain_info()
1102 const struct nlmsghdr *nlh, in nf_tables_getchain()
1224 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newchain()
1478 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_delchain()
1792 struct nlmsghdr *nlh; in nf_tables_fill_rule_info()
[all …]
Dnfnetlink_queue.c309 struct nlmsghdr *nlh; in nfqnl_build_packet_message()
962 const struct nlmsghdr *nlh, in nfqnl_recv_verdict_batch()
1011 const struct nlmsghdr *nlh, in nfqnl_ct_parse()
1034 const struct nlmsghdr *nlh, in nfqnl_recv_verdict()
1097 const struct nlmsghdr *nlh, in nfqnl_recv_unsupp()
1115 const struct nlmsghdr *nlh, in nfqnl_recv_config()
Dxt_osf.c65 const struct nlmsghdr *nlh, in xt_osf_add_callback()
108 const struct nlmsghdr *nlh, in xt_osf_remove_callback()
Dnfnetlink_log.c355 struct nlmsghdr *nlh = nlmsg_put(inst->skb, 0, 0, in __nfulnl_send()
410 struct nlmsghdr *nlh; in __build_packet_message()
794 const struct nlmsghdr *nlh, in nfulnl_recv_unsupp()
818 const struct nlmsghdr *nlh, in nfulnl_recv_config()
Dnft_compat.c494 struct nlmsghdr *nlh; in nfnl_compat_fill_info()
524 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_compat_get()
/linux-4.4.14/security/selinux/
Dnetlink.c46 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload()
75 struct nlmsghdr *nlh; in selnl_notify()
Dhooks.c4776 struct nlmsghdr *nlh; in selinux_nlmsg_perm()
/linux-4.4.14/net/sched/
Dact_api.c664 struct nlmsghdr *nlh; in tca_get_fill()
694 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify()
725 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1()
777 struct nlmsghdr *n, u32 portid) in tca_action_flush()
781 struct nlmsghdr *nlh; in tca_action_flush()
849 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_del_notify()
880 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
923 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_add_notify()
947 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add()
966 static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_action()
[all …]
Dsch_api.c39 struct nlmsghdr *n, u32 clid,
42 struct nlmsghdr *n, struct Qdisc *q,
786 struct nlmsghdr *n, u32 clid, in notify_and_destroy()
806 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft()
1110 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_get_qdisc()
1179 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_modify_qdisc()
1339 struct nlmsghdr *nlh; in tc_fill_qdisc()
1402 struct nlmsghdr *n, u32 clid, in qdisc_notify()
1521 static int tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tclass()
1659 struct nlmsghdr *nlh; in tc_fill_tclass()
[all …]
Dcls_api.c103 struct nlmsghdr *n, struct tcf_proto *tp,
121 static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tfilter()
358 struct nlmsghdr *nlh; in tcf_fill_node()
389 struct nlmsghdr *n, struct tcf_proto *tp, in tfilter_notify()
/linux-4.4.14/net/xfrm/
Dxfrm_user.c613 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
688 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
873 struct nlmsghdr *nlh; in dump_one_state()
1003 struct nlmsghdr *nlh; in build_spdinfo()
1049 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1094 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1125 struct nlmsghdr *nlh; in build_sadinfo()
1152 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1171 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1195 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/linux-4.4.14/net/phonet/
Dpn_netlink.c64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in addr_doit()
110 struct nlmsghdr *nlh; in fill_addr()
175 struct nlmsghdr *nlh; in fill_route()
229 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh) in route_doit()
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c38 struct nlmsghdr *nlh; in dnrmg_build_message()
103 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb()
/linux-4.4.14/drivers/connector/
Dconnector.c79 struct nlmsghdr *nlh; in cn_netlink_send_mult()
145 struct nlmsghdr *nlh; in cn_call_callback()
184 struct nlmsghdr *nlh; in cn_rx_skb()
/linux-4.4.14/net/ieee802154/
Dnetlink.c63 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast()
92 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply()
/linux-4.4.14/net/tipc/
Dnetlink.h40 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf);
Dnetlink.c151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()
Dnetlink_compat.c176 struct nlmsghdr *nlmsg; in __tipc_nl_compat_dumpit()
180 cb.nlh = (struct nlmsghdr *)arg->data; in __tipc_nl_compat_dumpit()
1098 struct nlmsghdr *req_nlh; in tipc_nl_compat_recv()
1099 struct nlmsghdr *rep_nlh; in tipc_nl_compat_recv()
1104 req_nlh = (struct nlmsghdr *)skb->data; in tipc_nl_compat_recv()
/linux-4.4.14/net/bridge/
Dbr_mdb.c119 struct nlmsghdr *nlh = NULL; in br_mdb_dump()
170 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill()
256 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill()
342 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
464 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_add()
566 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_del()
Dbr_netlink.c340 struct nlmsghdr *nlh; in br_fill_ifinfo()
669 int br_setlink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_setlink()
724 int br_dellink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_dellink()
Dbr_private.h946 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
947 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
Dbr_fdb.c636 struct nlmsghdr *nlh; in fdb_fill_info()
/linux-4.4.14/net/unix/
Ddiag.c115 struct nlmsghdr *nlh; in sk_diag_fill()
244 const struct nlmsghdr *nlh, in unix_diag_get_exact()
293 static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in unix_diag_handler_dump()
/linux-4.4.14/net/ipv6/
Daddrlabel.c407 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh) in ip6addrlbl_newdel()
456 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg()
473 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
524 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh) in ip6addrlbl_get()
Daddrconf.c496 struct nlmsghdr *nlh; in inet6_netconf_fill_devconf()
569 struct nlmsghdr *nlh) in inet6_netconf_get_devconf()
4079 inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_deladdr()
4188 inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newaddr()
4252 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg()
4302 struct nlmsghdr *nlh; in inet6_fill_ifaddr()
4359 struct nlmsghdr *nlh; in inet6_fill_ifmcaddr()
4385 struct nlmsghdr *nlh; in inet6_fill_ifacaddr()
4550 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getaddr()
4953 struct nlmsghdr *nlh; in inet6_fill_ifinfo()
[all …]
Dip6mr.c848 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_destroy_unres()
1106 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_resolve()
2359 struct nlmsghdr *nlh; in ip6mr_fill_mroute()
Droute.c2705 static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_fib6_config()
2999 static int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_delroute()
3014 static int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newroute()
3055 struct nlmsghdr *nlh; in rt6_fill_node()
3224 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getroute()
Dndisc.c1039 struct nlmsghdr *nlh; in ndisc_ra_useropt()
/linux-4.4.14/net/netlink/
Ddiag.c61 struct nlmsghdr *nlh; in sk_diag_fill()
203 static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in netlink_diag_handler_dump()
Daf_netlink.c2758 struct nlmsghdr *
2761 struct nlmsghdr *nlh; in __nlmsg_put()
2764 nlh = (struct nlmsghdr *)skb_put(skb, NLMSG_ALIGN(size)); in __nlmsg_put()
2786 struct nlmsghdr *nlh; in netlink_dump()
2881 const struct nlmsghdr *nlh, in __netlink_dump_start()
2953 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) in netlink_ack()
2956 struct nlmsghdr *rep; in netlink_ack()
2993 struct nlmsghdr *)) in netlink_rcv_skb() argument
2995 struct nlmsghdr *nlh; in netlink_rcv_skb()
Dgenetlink.c499 struct nlmsghdr *nlh; in genlmsg_put()
544 struct nlmsghdr *nlh) in genl_family_rcv_msg()
647 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in genl_rcv_msg()
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c67 struct nlmsghdr n;
165 struct nlmsghdr n; in get_family_id()
461 sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len); in main()
Dtaskstats.txt71 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
/linux-4.4.14/net/dccp/
Ddiag.c58 const struct nlmsghdr *nlh, in dccp_diag_dump_one()
/linux-4.4.14/drivers/scsi/
Dscsi_netlink.c48 struct nlmsghdr *nlh; in scsi_nl_rcv_msg()
Dscsi_transport_iscsi.c2352 struct nlmsghdr *nlh; in iscsi_recv_pdu()
2391 struct nlmsghdr *nlh; in iscsi_offload_mesg()
2424 struct nlmsghdr *nlh; in iscsi_conn_error_event()
2459 struct nlmsghdr *nlh; in iscsi_conn_login_event()
2494 struct nlmsghdr *nlh; in iscsi_post_host_event()
2525 struct nlmsghdr *nlh; in iscsi_ping_comp_event()
2555 struct nlmsghdr *nlh; in iscsi_if_send_reply()
2573 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_if_get_stats()
2579 struct nlmsghdr *nlhstat; in iscsi_if_get_stats()
2649 struct nlmsghdr *nlh; in iscsi_session_event()
[all …]
Dscsi_transport_fc.c538 struct nlmsghdr *nlh; in fc_host_post_event()
607 struct nlmsghdr *nlh; in fc_host_post_vendor_event()
/linux-4.4.14/net/packet/
Ddiag.c135 struct nlmsghdr *nlh; in sk_diag_fill()
224 static int packet_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in packet_diag_handler_dump()
/linux-4.4.14/net/decnet/
Ddn_table.c227 static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn… in dn_fib_nh_match()
304 struct nlmsghdr *nlh; in dn_fib_dump_info()
380 struct nlmsghdr *nlh, struct netlink_skb_parms *req) in dn_rtmsg_fib()
527 struct nlmsghdr *n, struct netlink_skb_parms *req) in dn_fib_table_insert()
664 struct nlmsghdr *n, struct netlink_skb_parms *req) in dn_fib_table_delete()
Ddn_fib.c264 const struct nlmsghdr *nlh, int *errp) in dn_fib_create_info()
501 static int dn_fib_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_fib_rtm_delroute()
526 static int dn_fib_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_fib_rtm_newroute()
555 struct nlmsghdr nlh; in fib_magic()
Ddn_dev.c568 static int dn_nl_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_nl_deladdr()
612 static int dn_nl_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in dn_nl_newaddr()
683 struct nlmsghdr *nlh; in dn_nl_fill_ifaddr()
Ddn_route.c1560 struct nlmsghdr *nlh; in dn_rt_fill_info()
1643 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in dn_cache_getroute()
/linux-4.4.14/fs/dlm/
Dnetlink.c57 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/linux-4.4.14/net/mpls/
Daf_mpls.c36 struct nlmsghdr *nlh, struct net *net, u32 portid,
392 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route()
1096 static int rtm_to_route_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_route_config()
1195 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_delroute()
1208 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_newroute()
1224 struct nlmsghdr *nlh; in mpls_dump_route()
1365 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
/linux-4.4.14/kernel/
Daudit.c194 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_set_portid()
394 struct nlmsghdr *nlh = nlmsg_hdr(skb); in audit_printk_skb()
565 struct nlmsghdr *nlh; in audit_make_reply()
813 static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in audit_receive_msg()
1088 struct nlmsghdr *nlh; in audit_receive_skb()
1253 struct nlmsghdr *nlh; in audit_buffer_alloc()
1967 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_log_end()
/linux-4.4.14/drivers/net/
Dnlmon.c36 return new_mtu >= (int) sizeof(struct nlmsghdr); in nlmon_is_valid_mtu()
Dvxlan.c279 struct nlmsghdr *nlh; in vxlan_fdb_info()
/linux-4.4.14/net/can/
Dgw.c489 struct nlmsghdr *nlh; in cgw_put_job()
632 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr()
812 static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_create_job()
924 static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_remove_job()
/linux-4.4.14/net/wireless/
Dwext-core.c417 static struct nlmsghdr *rtnetlink_ifinfo_prep(struct net_device *dev, in rtnetlink_ifinfo_prep()
421 struct nlmsghdr *nlh; in rtnetlink_ifinfo_prep()
464 struct nlmsghdr *nlh; in wireless_send_event()
Dnl80211.c10707 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nl80211_post_doit()
/linux-4.4.14/net/switchdev/
Dswitchdev.c914 struct nlmsghdr *nlh, u16 flags) in switchdev_port_bridge_setlink()
949 struct nlmsghdr *nlh, u16 flags) in switchdev_port_bridge_dellink()
1028 struct nlmsghdr *nlh; in switchdev_port_fdb_dump_cb()
/linux-4.4.14/Documentation/networking/
Dnetlink_mmap.txt243 struct nlmsghdr *nlh;
309 struct nlmsghdr *nlh;
Dxfrm_sync.txt36 nlmsghdr:aevent_id:optional-TLVs.
/linux-4.4.14/drivers/net/team/
Dteam.c2328 struct nlmsghdr *nlh; in team_nl_send_options_get()
2596 struct nlmsghdr *nlh; in team_nl_send_port_list_get()
/linux-4.4.14/net/openvswitch/
Ddatapath.c531 ((struct nlmsghdr *) user_skb->data)->nlmsg_len = user_skb->len; in queue_userspace_packet()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c5087 static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh, in be_ndo_bridge_setlink()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8240 struct nlmsghdr *nlh, u16 flags) in ixgbe_ndo_bridge_setlink()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c8450 struct nlmsghdr *nlh, in i40e_ndo_bridge_setlink()