Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dswitchdev.h77 struct nlmsghdr *nlh, u16 flags);
79 struct nlmsghdr *nlh, u16 flags);
81 struct nlmsghdr *nlh, u16 flags);
83 struct nlmsghdr *nlh, u16 flags);
121 struct nlmsghdr *nlh, in netdev_switch_port_bridge_setlink()
128 struct nlmsghdr *nlh, in netdev_switch_port_bridge_dellink()
135 struct nlmsghdr *nlh, in ndo_dflt_netdev_switch_port_bridge_dellink()
142 struct nlmsghdr *nlh, in ndo_dflt_netdev_switch_port_bridge_setlink()
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;
188 u32 group, struct nlmsghdr *nlh, gfp_t flags);
202 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr, in genlmsg_nlhdr()
205 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr()
219 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
368 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);
/linux-4.1.27/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.1.27/include/linux/
Dsock_diag.h8 struct nlmsghdr;
13 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
19 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
20 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
Dinet_diag.h9 struct nlmsghdr;
20 const struct nlmsghdr *nlh,
34 const struct nlmsghdr *unlh);
40 struct sk_buff *in_skb, const 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()
67 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
122 const struct nlmsghdr *nlh;
141 struct nlmsghdr *
153 const struct nlmsghdr *nlh,
156 const struct nlmsghdr *nlh, in netlink_dump_start()
Drtnetlink.h13 u32 group, struct nlmsghdr *nlh, gfp_t flags);
Dnetdevice.h1171 struct nlmsghdr *nlh,
1179 struct nlmsghdr *nlh,
/linux-4.1.27/include/uapi/linux/
Dnetlink.h42 struct nlmsghdr { struct
81 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
86 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
87 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
88 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
101 struct nlmsghdr msg;
/linux-4.1.27/drivers/infiniband/core/
Dnetlink.c105 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, in ibnl_put_msg()
124 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_put_attr()
141 static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in ibnl_rcv_msg()
175 int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_unicast()
182 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh, in ibnl_multicast()
Diwpm_util.c442 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg()
584 struct nlmsghdr *nlh; in send_mapinfo_num()
621 struct nlmsghdr *nlh = NULL; in send_nlmsg_done()
632 ret = ibnl_unicast(skb, (struct nlmsghdr *)skb->data, iwpm_pid); in send_nlmsg_done()
642 struct nlmsghdr *nlh; in iwpm_send_mapinfo()
Diwpm_util.h230 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()
Dcma.c3599 struct nlmsghdr *nlh; in cma_get_id_stats()
/linux-4.1.27/net/dcb/
Ddcbnl.c200 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg()
204 struct nlmsghdr *nlh; in dcbnl_newmsg()
224 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
235 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
280 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
294 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
338 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
384 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
417 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
427 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
[all …]
/linux-4.1.27/include/linux/netfilter/
Dnfnetlink.h12 const struct nlmsghdr *nlh,
15 const struct nlmsghdr *nlh,
18 const struct nlmsghdr *nlh,
/linux-4.1.27/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.1.27/net/core/
Dsock_diag.c13 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh);
107 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
115 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
155 static int __sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_rcv_msg()
182 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,
265 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_newrule()
422 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh) in fib_nl_delrule()
550 struct nlmsghdr *nlh; in fib_nl_fill_rule()
677 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.c642 struct nlmsghdr *nlh, gfp_t flags) in rtnl_notify()
1027 struct nlmsghdr *nlh; in rtnl_fill_ifinfo()
1823 static int rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_setlink()
1900 static int rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_dellink()
2033 static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_newlink()
2278 static int rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh) in rtnl_getlink()
2326 static u16 rtnl_calcit(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_calcit()
2439 struct nlmsghdr *nlh; in nlmsg_populate_fdb_fill()
2556 static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_add()
2655 static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_fdb_del()
[all …]
Dnet_namespace.c496 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_newid()
544 struct nlmsghdr *nlh; in rtnl_net_fill()
575 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh) in rtnl_net_getid()
Dneighbour.c1587 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_delete()
1644 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh) in neigh_add()
1785 struct nlmsghdr *nlh; in neightbl_fill_info()
1876 struct nlmsghdr *nlh; in neightbl_fill_param_info()
1928 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh) in neightbl_set()
2145 struct nlmsghdr *nlh; in neigh_fill_info()
2197 struct nlmsghdr *nlh; in pneigh_fill_info()
/linux-4.1.27/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.1.27/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.1.27/crypto/
Dcrypto_user.c171 struct nlmsghdr *nlh; in crypto_report_alg()
196 static int crypto_report(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, in crypto_report()
266 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg()
302 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg()
393 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg()
469 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.1.27/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.1.27/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()
315 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
345 const struct nlmsghdr *nlh, in cttimeout_default_set()
389 struct nlmsghdr *nlh; in cttimeout_default_fill_info()
434 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()
272 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
434 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv()
Dnfnetlink_acct.c53 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_new()
135 struct nlmsghdr *nlh; in nfnl_acct_fill_info()
258 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_get()
337 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_acct_del()
Dnf_conntrack_netlink.c461 struct nlmsghdr *nlh; in ctnetlink_fill_info()
613 struct nlmsghdr *nlh; in ctnetlink_conntrack_event()
1052 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1105 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1265 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1287 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
1798 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
1896 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info()
1965 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
1982 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.c93 const struct nlmsghdr *nlh, in nft_ctx_init()
408 struct nlmsghdr *nlh; in nf_tables_fill_table_info()
508 const struct nlmsghdr *nlh, in nf_tables_gettable()
639 const struct nlmsghdr *nlh, in nf_tables_newtable()
775 const struct nlmsghdr *nlh, in nf_tables_deltable()
925 struct nlmsghdr *nlh; in nf_tables_fill_chain_info()
1059 const struct nlmsghdr *nlh, in nf_tables_getchain()
1177 const struct nlmsghdr *nlh, in nf_tables_newchain()
1406 const struct nlmsghdr *nlh, in nf_tables_delchain()
1721 struct nlmsghdr *nlh; in nf_tables_fill_rule_info()
[all …]
Dxt_osf.c65 const struct nlmsghdr *nlh, in xt_osf_add_callback()
108 const struct nlmsghdr *nlh, in xt_osf_remove_callback()
Dnfnetlink_queue_core.c292 struct nlmsghdr *nlh; in nfqnl_build_packet_message()
930 const struct nlmsghdr *nlh, in nfqnl_recv_verdict_batch()
980 const struct nlmsghdr *nlh, in nfqnl_recv_verdict()
1043 const struct nlmsghdr *nlh, in nfqnl_recv_unsupp()
1061 const struct nlmsghdr *nlh, in nfqnl_recv_config()
Dnfnetlink_log.c354 struct nlmsghdr *nlh = nlmsg_put(inst->skb, 0, 0, in __nfulnl_send()
407 struct nlmsghdr *nlh; in __build_packet_message()
776 const struct nlmsghdr *nlh, in nfulnl_recv_unsupp()
800 const struct nlmsghdr *nlh, in nfulnl_recv_config()
Dnft_compat.c492 struct nlmsghdr *nlh; in nfnl_compat_fill_info()
522 const struct nlmsghdr *nlh, const struct nlattr * const tb[]) in nfnl_compat_get()
/linux-4.1.27/net/switchdev/
Dswitchdev.c142 struct nlmsghdr *nlh, u16 flags) in netdev_switch_port_bridge_setlink()
167 struct nlmsghdr *nlh, u16 flags) in netdev_switch_port_bridge_dellink()
192 struct nlmsghdr *nlh, u16 flags) in ndo_dflt_netdev_switch_port_bridge_setlink()
222 struct nlmsghdr *nlh, u16 flags) in ndo_dflt_netdev_switch_port_bridge_dellink()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_core.c714 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
719 static struct nlmsghdr *
723 struct nlmsghdr *nlh; in start_msg()
804 const struct nlmsghdr *nlh, in ip_set_none()
812 const struct nlmsghdr *nlh, in ip_set_create()
964 const struct nlmsghdr *nlh, in ip_set_destroy()
1034 const struct nlmsghdr *nlh, in ip_set_flush()
1074 const struct nlmsghdr *nlh, in ip_set_rename()
1124 const struct nlmsghdr *nlh, in ip_set_swap()
1191 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
[all …]
/linux-4.1.27/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.c4759 struct nlmsghdr *nlh; in selinux_nlmsg_perm()
/linux-4.1.27/net/ipv4/
Dinet_diag.c111 const struct nlmsghdr *unlh) in inet_sk_diag_fill()
118 struct nlmsghdr *nlh; in inet_sk_diag_fill()
255 const struct nlmsghdr *unlh) in inet_csk_diag_fill()
264 const struct nlmsghdr *unlh) in inet_twsk_diag_fill()
268 struct nlmsghdr *nlh; in inet_twsk_diag_fill()
300 const struct nlmsghdr *unlh) in inet_req_diag_fill()
303 struct nlmsghdr *nlh; in inet_req_diag_fill()
335 const struct nlmsghdr *unlh) in sk_diag_fill()
351 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk()
414 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()
182 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
Dtcp_diag.c42 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()
436 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
571 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_deladdr()
742 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
843 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newaddr()
1508 struct nlmsghdr *nlh; in inet_fill_ifaddr()
1621 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
1752 struct nlmsghdr *nlh; in inet_netconf_fill_devconf()
1825 struct nlmsghdr *nlh) in inet_netconf_get_devconf()
Dfib_frontend.c597 struct nlmsghdr *nlh, struct fib_config *cfg) in rtm_to_fib_config()
667 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_delroute()
689 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet_rtm_newroute()
1023 struct nlmsghdr *nlh; in nl_fib_input()
Dipmr.c640 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres()
924 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve()
2272 struct nlmsghdr *nlh; in ipmr_fill_mroute()
Dfib_semantics.c994 struct nlmsghdr *nlh; in fib_dump_info()
Droute.c2347 struct nlmsghdr *nlh; in rt_fill_info()
2454 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet_rtm_getroute()
/linux-4.1.27/net/sched/
Dact_api.c646 struct nlmsghdr *nlh; in tca_get_fill()
676 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify()
707 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1()
759 struct nlmsghdr *n, u32 portid) in tca_action_flush()
763 struct nlmsghdr *nlh; in tca_action_flush()
831 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_del_notify()
862 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
905 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_add_notify()
929 tcf_action_add(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tcf_action_add()
948 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,
784 struct nlmsghdr *n, u32 clid, in notify_and_destroy()
804 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft()
1108 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_get_qdisc()
1177 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n) in tc_modify_qdisc()
1337 struct nlmsghdr *nlh; in tc_fill_qdisc()
1400 struct nlmsghdr *n, u32 clid, in qdisc_notify()
1519 static int tc_ctl_tclass(struct sk_buff *skb, struct nlmsghdr *n) in tc_ctl_tclass()
1657 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.1.27/net/xfrm/
Dxfrm_user.c590 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
665 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
848 struct nlmsghdr *nlh; in dump_one_state()
980 struct nlmsghdr *nlh; in build_spdinfo()
1026 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1071 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1102 struct nlmsghdr *nlh; in build_sadinfo()
1129 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1148 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1172 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/connector/
Dconnector.c79 struct nlmsghdr *nlh; in cn_netlink_send_mult()
144 struct nlmsghdr *nlh; in cn_call_callback()
183 struct nlmsghdr *nlh; in cn_rx_skb()
/linux-4.1.27/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.1.27/tools/hv/
Dhv_vss_daemon.c148 struct nlmsghdr nlh = { .nlmsg_type = NLMSG_DONE }; in netlink_send()
187 struct nlmsghdr *incoming_msg; in main()
305 incoming_msg = (struct nlmsghdr *)vss_recv_buffer; in main()
Dhv_kvp_daemon.c1393 struct nlmsghdr nlh = { .nlmsg_type = NLMSG_DONE }; in netlink_send()
1432 struct nlmsghdr *incoming_msg; in main()
1578 incoming_msg = (struct nlmsghdr *)kvp_recv_buffer; in main()
/linux-4.1.27/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.c174 struct nlmsghdr *nlmsg; in __tipc_nl_compat_dumpit()
178 cb.nlh = (struct nlmsghdr *)arg->data; in __tipc_nl_compat_dumpit()
1007 struct nlmsghdr *req_nlh; in tipc_nl_compat_recv()
1008 struct nlmsghdr *rep_nlh; in tipc_nl_compat_recv()
1014 req_nlh = (struct nlmsghdr *)skb->data; in tipc_nl_compat_recv()
/linux-4.1.27/net/bridge/
Dbr_mdb.c118 struct nlmsghdr *nlh = NULL; in br_mdb_dump()
169 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill()
270 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
388 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_add()
469 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh) in br_mdb_del()
Dbr_netlink.c281 struct nlmsghdr *nlh; in br_fill_ifinfo()
587 int br_setlink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_setlink()
652 int br_dellink(struct net_device *dev, struct nlmsghdr *nlh, u16 flags) in br_dellink()
Dbr_private.h828 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
829 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
Dbr_fdb.c606 struct nlmsghdr *nlh; in fdb_fill_info()
/linux-4.1.27/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.1.27/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.c488 struct nlmsghdr *nlh; in inet6_netconf_fill_devconf()
555 struct nlmsghdr *nlh) in inet6_netconf_get_devconf()
3996 inet6_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_deladdr()
4105 inet6_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newaddr()
4169 static void put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, in put_ifaddrmsg()
4219 struct nlmsghdr *nlh; in inet6_fill_ifaddr()
4276 struct nlmsghdr *nlh; in inet6_fill_ifmcaddr()
4302 struct nlmsghdr *nlh; in inet6_fill_ifacaddr()
4467 static int inet6_rtm_getaddr(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getaddr()
4855 struct nlmsghdr *nlh; in inet6_fill_ifinfo()
[all …]
Dip6mr.c853 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_destroy_unres()
1111 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); in ip6mr_cache_resolve()
2364 struct nlmsghdr *nlh; in ip6mr_fill_mroute()
Droute.c2426 static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_fib6_config()
2705 static int inet6_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_delroute()
2720 static int inet6_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in inet6_rtm_newroute()
2759 struct nlmsghdr *nlh; in rt6_fill_node()
2918 static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in inet6_rtm_getroute()
Dndisc.c1025 struct nlmsghdr *nlh; in ndisc_ra_useropt()
/linux-4.1.27/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()
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()
1141 struct nlmsghdr *nlh, gfp_t flags) in genl_notify()
Daf_netlink.c2657 struct nlmsghdr *
2660 struct nlmsghdr *nlh; in __nlmsg_put()
2663 nlh = (struct nlmsghdr *)skb_put(skb, NLMSG_ALIGN(size)); in __nlmsg_put()
2685 struct nlmsghdr *nlh; in netlink_dump()
2777 const struct nlmsghdr *nlh, in __netlink_dump_start()
2849 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err) in netlink_ack()
2852 struct nlmsghdr *rep; in netlink_ack()
2886 struct nlmsghdr *)) in netlink_rcv_skb() argument
2888 struct nlmsghdr *nlh; in netlink_rcv_skb()
/linux-4.1.27/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.1.27/net/mpls/
Daf_mpls.c41 struct nlmsghdr *nlh, struct net *net, u32 portid,
283 struct nlmsghdr *nlh = info ? info->nlh : NULL; in mpls_notify_route()
675 static int rtm_to_route_config(struct sk_buff *skb, struct nlmsghdr *nlh, in rtm_to_route_config()
793 static int mpls_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_delroute()
806 static int mpls_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh) in mpls_rtm_newroute()
822 struct nlmsghdr *nlh; in mpls_dump_route()
904 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib()
/linux-4.1.27/drivers/scsi/
Dscsi_netlink.c48 struct nlmsghdr *nlh; in scsi_nl_rcv_msg()
Dscsi_transport_iscsi.c2349 struct nlmsghdr *nlh; in iscsi_recv_pdu()
2388 struct nlmsghdr *nlh; in iscsi_offload_mesg()
2421 struct nlmsghdr *nlh; in iscsi_conn_error_event()
2456 struct nlmsghdr *nlh; in iscsi_conn_login_event()
2491 struct nlmsghdr *nlh; in iscsi_post_host_event()
2522 struct nlmsghdr *nlh; in iscsi_ping_comp_event()
2552 struct nlmsghdr *nlh; in iscsi_if_send_reply()
2570 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) in iscsi_if_get_stats()
2576 struct nlmsghdr *nlhstat; in iscsi_if_get_stats()
2646 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.1.27/net/dccp/
Ddiag.c58 const struct nlmsghdr *nlh, in dccp_diag_dump_one()
/linux-4.1.27/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.1.27/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.c1555 struct nlmsghdr *nlh; in dn_rt_fill_info()
1638 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh) in dn_cache_getroute()
/linux-4.1.27/fs/dlm/
Dnetlink.c57 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
/linux-4.1.27/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()
548 struct nlmsghdr *nlh; in audit_make_reply()
799 static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in audit_receive_msg()
1074 struct nlmsghdr *nlh; in audit_receive_skb()
1239 struct nlmsghdr *nlh; in audit_buffer_alloc()
1953 struct nlmsghdr *nlh = nlmsg_hdr(ab->skb); in audit_log_end()
/linux-4.1.27/drivers/net/
Dnlmon.c36 return new_mtu >= (int) sizeof(struct nlmsghdr); in nlmon_is_valid_mtu()
Dvxlan.c313 struct nlmsghdr *nlh; in vxlan_fdb_info()
/linux-4.1.27/net/can/
Dgw.c488 struct nlmsghdr *nlh; in cgw_put_job()
625 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod, in cgw_parse_attr()
801 static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_create_job()
887 static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh) in cgw_remove_job()
/linux-4.1.27/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.c10326 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nl80211_post_doit()
/linux-4.1.27/Documentation/networking/
Dnetlink_mmap.txt243 struct nlmsghdr *nlh;
309 struct nlmsghdr *nlh;
Dxfrm_sync.txt36 nlmsghdr:aevent_id:optional-TLVs.
/linux-4.1.27/net/dsa/
Dslave.c236 struct nlmsghdr *nlh; in dsa_slave_fill_info()
/linux-4.1.27/drivers/net/team/
Dteam.c2319 struct nlmsghdr *nlh; in team_nl_send_options_get()
2587 struct nlmsghdr *nlh; in team_nl_send_port_list_get()
/linux-4.1.27/net/openvswitch/
Ddatapath.c498 ((struct nlmsghdr *) user_skb->data)->nlmsg_len = user_skb->len; in queue_userspace_packet()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c4075 struct nlmsghdr *nlh; in rocker_fdb_fill_info()
4143 struct nlmsghdr *nlh, u16 flags) in rocker_port_bridge_setlink()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c4801 static int be_ndo_bridge_setlink(struct net_device *dev, struct nlmsghdr *nlh, in be_ndo_bridge_setlink()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c8011 struct nlmsghdr *nlh, u16 flags) in ixgbe_ndo_bridge_setlink()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_main.c7991 struct nlmsghdr *nlh) in i40e_ndo_bridge_setlink()