Home
last modified time | relevance | path

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

123

/net/dcb/
Ddcbnl.c193 u32 flags, struct nlmsghdr **nlhp) in dcbnl_newmsg()
197 struct nlmsghdr *nlh; in dcbnl_newmsg()
217 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
228 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
272 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
286 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
330 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
376 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
409 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
419 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
[all …]
/net/netfilter/ipset/
Dip_set_core.c753 flag_exist(const struct nlmsghdr *nlh) in flag_exist()
758 static struct nlmsghdr *
762 struct nlmsghdr *nlh; in start_msg()
842 const struct nlmsghdr *nlh, in ip_set_none()
850 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_create()
992 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_destroy()
1071 const struct nlmsghdr *nlh, in ip_set_flush()
1111 struct sk_buff *skb, const struct nlmsghdr *nlh, in ip_set_rename()
1161 const struct nlmsghdr *nlh, in ip_set_swap()
1240 dump_attrs(struct nlmsghdr *nlh) in dump_attrs()
[all …]
/net/core/
Dsock_diag.c18 static int (*inet_rcv_compat)(struct sk_buff *skb, struct nlmsghdr *nlh);
162 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat()
170 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
210 static int __sock_diag_cmd(struct sk_buff *skb, struct nlmsghdr *nlh) in __sock_diag_cmd()
241 static int sock_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in sock_diag_rcv_msg()
Ddrop_monitor.c115 struct nlmsghdr *nlh = (struct nlmsghdr *)skb->data; in reset_per_cpu_data()
157 struct nlmsghdr *nlh; in trace_drop_common()
172 nlh = (struct nlmsghdr *)dskb->data; in trace_drop_common()
/net/batman-adv/
Dnetlink.h26 struct nlmsghdr;
30 int batadv_netlink_get_ifindex(const struct nlmsghdr *nlh, int attrtype);
/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()
/net/ipv4/
Dinet_diag.c182 const struct nlmsghdr *unlh, in inet_sk_diag_fill()
189 struct nlmsghdr *nlh; in inet_sk_diag_fill()
321 const struct nlmsghdr *unlh, in inet_csk_diag_fill()
331 const struct nlmsghdr *unlh) in inet_twsk_diag_fill()
335 struct nlmsghdr *nlh; in inet_twsk_diag_fill()
367 const struct nlmsghdr *unlh, bool net_admin) in inet_req_diag_fill()
371 struct nlmsghdr *nlh; in inet_req_diag_fill()
407 const struct nlmsghdr *unlh, bool net_admin) in sk_diag_fill()
467 const struct nlmsghdr *nlh, in inet_diag_dump_one_icsk()
509 const struct nlmsghdr *nlh, in inet_diag_cmd_exact()
[all …]
Dudp_diag.c35 const struct nlmsghdr *nlh, in udp_dump_one()
158 static int udp_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udp_diag_dump_one()
262 static int udplite_diag_dump_one(struct sk_buff *in_skb, const struct nlmsghdr *nlh, in udplite_diag_dump_one()
/net/netfilter/
Dnfnetlink_cttimeout.c72 const struct nlmsghdr *nlh, in cttimeout_new_timeout()
159 struct nlmsghdr *nlh; in ctnl_timeout_fill_info()
243 const struct nlmsghdr *nlh, in cttimeout_get_timeout()
331 const struct nlmsghdr *nlh, in cttimeout_del_timeout()
363 const struct nlmsghdr *nlh, in cttimeout_default_set()
407 struct nlmsghdr *nlh; in cttimeout_default_fill_info()
453 const struct nlmsghdr *nlh, in cttimeout_default_get()
Dnfnetlink.c151 static int nfnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_msg()
229 struct nlmsghdr *nlh;
234 static int nfnl_err_add(struct list_head *list, struct nlmsghdr *nlh, int err, in nfnl_err_add()
282 static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh, in nfnetlink_rcv_batch()
460 static void nfnetlink_rcv_skb_batch(struct sk_buff *skb, struct nlmsghdr *nlh) in nfnetlink_rcv_skb_batch()
500 struct nlmsghdr *nlh = nlmsg_hdr(skb); in nfnetlink_rcv()
Dnfnetlink_acct.c51 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_new()
137 struct nlmsghdr *nlh; in nfnl_acct_fill_info()
271 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_get()
344 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_del()
Dnf_conntrack_netlink.c474 struct nlmsghdr *nlh; in ctnetlink_fill_info()
629 struct nlmsghdr *nlh; in ctnetlink_conntrack_event()
1147 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1201 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1356 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1379 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
1919 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
2019 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info()
2085 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
2103 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info()
[all …]
Dnf_tables_api.c99 const struct nlmsghdr *nlh, in nft_ctx_init()
483 struct nlmsghdr *nlh; in nf_tables_fill_table_info()
581 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_gettable()
725 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newtable()
884 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_deltable()
1050 struct nlmsghdr *nlh; in nf_tables_fill_chain_info()
1186 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_getchain()
1596 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newchain()
1673 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_delchain()
2029 struct nlmsghdr *nlh; in nf_tables_fill_rule_info()
[all …]
/net/xfrm/
Dxfrm_user.c669 static int xfrm_add_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_add_sa()
745 static int xfrm_del_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_del_sa()
974 struct nlmsghdr *nlh; in dump_one_state()
1106 struct nlmsghdr *nlh; in build_spdinfo()
1152 static int xfrm_set_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_set_spdinfo()
1197 static int xfrm_get_spdinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_spdinfo()
1228 struct nlmsghdr *nlh; in build_sadinfo()
1255 static int xfrm_get_sadinfo(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sadinfo()
1274 static int xfrm_get_sa(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_get_sa()
1298 static int xfrm_alloc_userspi(struct sk_buff *skb, struct nlmsghdr *nlh, in xfrm_alloc_userspi()
[all …]
/net/phonet/
Dpn_netlink.c64 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in addr_doit()
112 struct nlmsghdr *nlh; in fill_addr()
177 struct nlmsghdr *nlh; in fill_route()
231 static int route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, in route_doit()
/net/sched/
Dact_api.c822 struct nlmsghdr *nlh; in tca_get_fill()
852 tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in tcf_get_notify()
870 struct nlmsghdr *n, u32 portid) in tcf_action_get_1()
906 struct nlmsghdr *n, u32 portid) in tca_action_flush()
910 struct nlmsghdr *nlh; in tca_action_flush()
974 tcf_del_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_del_notify()
1005 tca_action_gd(struct net *net, struct nlattr *nla, struct nlmsghdr *n, in tca_action_gd()
1049 tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions, in tcf_add_notify()
1073 struct nlmsghdr *n, u32 portid, int ovr) in tcf_action_add()
1098 static int tc_ctl_action(struct sk_buff *skb, struct nlmsghdr *n, in tc_ctl_action()
[all …]
Dsch_api.c778 struct nlmsghdr *nlh; in tc_fill_qdisc()
847 struct nlmsghdr *n, u32 clid, in qdisc_notify()
878 struct nlmsghdr *n, u32 clid, in notify_and_destroy()
898 struct sk_buff *skb, struct nlmsghdr *n, u32 classid, in qdisc_graft()
1229 static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n, in tc_get_qdisc()
1300 static int tc_modify_qdisc(struct sk_buff *skb, struct nlmsghdr *n, in tc_modify_qdisc()
1516 const struct nlmsghdr *nlh = cb->nlh; in tc_dump_qdisc()
1574 struct nlmsghdr *nlh; in tc_fill_tclass()
1616 struct nlmsghdr *n, struct Qdisc *q, in tclass_notify()
1637 struct sk_buff *oskb, struct nlmsghdr *n, in tclass_del_notify()
[all …]
/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()
/net/ieee802154/
Dnetlink.c55 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast()
84 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply()
/net/bridge/
Dbr_mdb.c169 struct nlmsghdr *nlh = NULL; in br_mdb_dump()
220 struct nlmsghdr *nlh; in nlmsg_populate_mdb_fill()
373 struct nlmsghdr *nlh; in nlmsg_populate_rtr_fill()
459 static int br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_parse()
574 static int br_mdb_add(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_add()
669 static int br_mdb_del(struct sk_buff *skb, struct nlmsghdr *nlh, in br_mdb_del()
/net/sctp/
Dsctp_diag.c112 const struct nlmsghdr *unlh, in inet_sctp_diag_fill()
118 struct nlmsghdr *nlh; in inet_sctp_diag_fill()
209 const struct nlmsghdr *nlh;
239 const struct nlmsghdr *nlh = commp->nlh; in sctp_tsp_dump_one()
416 const struct nlmsghdr *nlh, in sctp_diag_dump_one()
/net/unix/
Ddiag.c116 struct nlmsghdr *nlh; in sk_diag_fill()
245 const struct nlmsghdr *nlh, in unix_diag_get_exact()
296 static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in unix_diag_handler_dump()
/net/ipv6/
Daddrlabel.c421 static int ip6addrlbl_newdel(struct sk_buff *skb, struct nlmsghdr *nlh, in ip6addrlbl_newdel()
472 static void ip6addrlbl_putmsg(struct nlmsghdr *nlh, in ip6addrlbl_putmsg()
489 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
540 static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ip6addrlbl_get()
/net/tipc/
Dnetlink.h41 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf);
/net/netlink/
Ddiag.c47 struct nlmsghdr *nlh; in sk_diag_fill()
227 static int netlink_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) in netlink_diag_handler_dump()

123