Home
last modified time | relevance | path

Searched refs:nl_msg (Results 1 – 25 of 115) sorted by relevance

12345

/external/libnl/include/netlink/
Dmsg.h43 struct nl_msg;
71 extern struct nl_msg * nlmsg_alloc(void);
72 extern struct nl_msg * nlmsg_alloc_size(size_t);
73 extern struct nl_msg * nlmsg_alloc_simple(int, int);
75 extern struct nl_msg * nlmsg_inherit(struct nlmsghdr *);
76 extern struct nl_msg * nlmsg_convert(struct nlmsghdr *);
77 extern void * nlmsg_reserve(struct nl_msg *, size_t, int);
78 extern int nlmsg_append(struct nl_msg *, void *, size_t, int);
79 extern int nlmsg_expand(struct nl_msg *, size_t);
81 extern struct nlmsghdr * nlmsg_put(struct nl_msg *, uint32_t, uint32_t,
[all …]
Dattr.h24 struct nl_msg;
95 extern struct nlattr * nla_reserve(struct nl_msg *, int, int);
96 extern int nla_put(struct nl_msg *, int, int, const void *);
97 extern int nla_put_data(struct nl_msg *, int, struct nl_data *);
98 extern int nla_put_addr(struct nl_msg *, int, struct nl_addr *);
102 extern int nla_put_u8(struct nl_msg *, int, uint8_t);
104 extern int nla_put_u16(struct nl_msg *, int, uint16_t);
106 extern int nla_put_u32(struct nl_msg *, int, uint32_t);
108 extern int nla_put_u64(struct nl_msg *, int, uint64_t);
113 extern int nla_put_string(struct nl_msg *, int, const char *);
[all …]
Dnetlink.h50 extern int nl_sendmsg(struct nl_sock *, struct nl_msg *,
52 extern int nl_send(struct nl_sock *, struct nl_msg *);
53 extern int nl_send_iovec(struct nl_sock *, struct nl_msg *,
56 struct nl_msg *);
58 struct nl_msg *);
Dhandlers.h27 struct nl_msg;
41 typedef int (*nl_recvmsg_msg_cb_t)(struct nl_msg *msg, void *arg);
138 struct nl_msg *));
/external/libnl/lib/netfilter/
Dqueue.c37 static int send_queue_request(struct nl_sock *sk, struct nl_msg *msg) in send_queue_request()
55 uint8_t command, struct nl_msg **result) in build_queue_cmd_request()
57 struct nl_msg *msg; in build_queue_cmd_request()
79 int nfnl_queue_build_pf_bind(uint8_t pf, struct nl_msg **result) in nfnl_queue_build_pf_bind()
86 struct nl_msg *msg; in nfnl_queue_pf_bind()
95 int nfnl_queue_build_pf_unbind(uint8_t pf, struct nl_msg **result) in nfnl_queue_build_pf_unbind()
102 struct nl_msg *msg; in nfnl_queue_pf_unbind()
112 struct nl_msg **result) in nfnl_queue_build_request()
114 struct nl_msg *msg; in nfnl_queue_build_request()
161 struct nl_msg **result) in nfnl_queue_build_create_request()
[all …]
Dlog.c35 uint8_t command, struct nl_msg **result) in build_log_cmd_request()
37 struct nl_msg *msg; in build_log_cmd_request()
57 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg) in send_log_request()
69 int nfnl_log_build_pf_bind(uint8_t pf, struct nl_msg **result) in nfnl_log_build_pf_bind()
76 struct nl_msg *msg; in nfnl_log_pf_bind()
85 int nfnl_log_build_pf_unbind(uint8_t pf, struct nl_msg **result) in nfnl_log_build_pf_unbind()
92 struct nl_msg *msg; in nfnl_log_pf_unbind()
102 struct nl_msg **result) in nfnl_log_build_request()
104 struct nl_msg *msg; in nfnl_log_build_request()
162 struct nl_msg **result) in nfnl_log_build_create_request()
[all …]
Dnfnl.c174 static int nfnlmsg_append(struct nl_msg *msg, uint8_t family, uint16_t res_id) in nfnlmsg_append()
200 struct nl_msg *nfnlmsg_alloc_simple(uint8_t subsys_id, uint8_t type, int flags, in nfnlmsg_alloc_simple()
203 struct nl_msg *msg; in nfnlmsg_alloc_simple()
230 int nfnlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, in nfnlmsg_put()
/external/libnl/lib/
Dmsg.c367 static struct nl_msg *__nlmsg_alloc(size_t len) in __nlmsg_alloc()
369 struct nl_msg *nm; in __nlmsg_alloc()
404 struct nl_msg *nlmsg_alloc(void) in nlmsg_alloc()
412 struct nl_msg *nlmsg_alloc_size(size_t max) in nlmsg_alloc_size()
427 struct nl_msg *nlmsg_inherit(struct nlmsghdr *hdr) in nlmsg_inherit()
429 struct nl_msg *nm; in nlmsg_inherit()
451 struct nl_msg *nlmsg_alloc_simple(int nlmsgtype, int flags) in nlmsg_alloc_simple()
453 struct nl_msg *msg; in nlmsg_alloc_simple()
487 struct nl_msg *nlmsg_convert(struct nlmsghdr *hdr) in nlmsg_convert()
489 struct nl_msg *nm; in nlmsg_convert()
[all …]
Dattr.c798 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen) in nla_reserve()
837 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put()
864 int nla_put_data(struct nl_msg *msg, int attrtype, struct nl_data *data) in nla_put_data()
879 int nla_put_addr(struct nl_msg *msg, int attrtype, struct nl_addr *addr) in nla_put_addr()
900 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value) in nla_put_u8()
925 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value) in nla_put_u16()
950 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value) in nla_put_u32()
975 int nla_put_u64(struct nl_msg *msg, int attrtype, uint64_t value) in nla_put_u64()
1010 int nla_put_string(struct nl_msg *msg, int attrtype, const char *str) in nla_put_string()
1045 int nla_put_flag(struct nl_msg *msg, int attrtype) in nla_put_flag()
[all …]
Dhandlers.c50 static int nl_valid_handler_verbose(struct nl_msg *msg, void *arg) in nl_valid_handler_verbose()
61 static int nl_invalid_handler_verbose(struct nl_msg *msg, void *arg) in nl_invalid_handler_verbose()
72 static int nl_overrun_handler_verbose(struct nl_msg *msg, void *arg) in nl_overrun_handler_verbose()
96 static int nl_valid_handler_debug(struct nl_msg *msg, void *arg) in nl_valid_handler_debug()
107 static int nl_finish_handler_debug(struct nl_msg *msg, void *arg) in nl_finish_handler_debug()
118 static int nl_msg_in_handler_debug(struct nl_msg *msg, void *arg) in nl_msg_in_handler_debug()
128 static int nl_msg_out_handler_debug(struct nl_msg *msg, void *arg) in nl_msg_out_handler_debug()
138 static int nl_skipped_handler_debug(struct nl_msg *msg, void *arg) in nl_skipped_handler_debug()
149 static int nl_ack_handler_debug(struct nl_msg *msg, void *arg) in nl_ack_handler_debug()
388 int (*func)(struct nl_sock *, struct nl_msg *)) in nl_cb_overwrite_send() argument
/external/android-clat/
Dnetlink_msg.c55 struct nl_msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payl… in nlmsg_alloc_generic()
56 struct nl_msg *msg; in nlmsg_alloc_generic()
63 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) { in nlmsg_alloc_generic()
83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) { in nlmsg_alloc_ifaddr()
93 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) { in nlmsg_alloc_ifinfo()
103 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) { in nlmsg_alloc_rtmsg()
127 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { in send_netlink_msg()
158 struct nl_msg *msg = NULL; in send_ifaddrmsg()
173 int netlink_sendrecv(struct nl_msg *msg) { in netlink_sendrecv()
Dnetlink_msg.h22 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa);
23 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi);
24 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt);
25 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks);
27 int netlink_sendrecv(struct nl_msg *msg);
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.h205 struct nl_msg;
208 struct nl_msg *msg, int flags, uint8_t cmd);
209 struct nl_msg * nl80211_cmd_msg(struct i802_bss *bss, int flags, uint8_t cmd);
210 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags,
212 struct nl_msg * nl80211_bss_msg(struct i802_bss *bss, int flags, uint8_t cmd);
213 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
214 int (*valid_handler)(struct nl_msg *, void *),
219 int (*handler)(struct nl_msg *, void *),
251 int process_global_event(struct nl_msg *msg, void *arg);
252 int process_bss_event(struct nl_msg *msg, void *arg);
[all …]
/external/iw/
Dinterface.c35 struct nl_msg *msg) in parse_mntr_flags()
37 struct nl_msg *flags; in parse_mntr_flags()
153 static int parse_4addr_flag(const char *value, struct nl_msg *msg) in parse_4addr_flag()
169 struct nl_msg *msg, in handle_interface_add()
260 struct nl_msg *msg, in handle_interface_del()
306 static int print_iface_handler(struct nl_msg *msg, void *arg) in print_iface_handler()
378 struct nl_msg *msg, in handle_interface_info()
390 struct nl_msg *msg, in handle_interface_set()
421 struct nl_msg *msg, in handle_interface_meshid()
445 struct nl_msg *msg, in handle_dev_dump()
[all …]
Dphy.c20 struct nl_msg *msg, in handle_name()
36 static int handle_freqs(struct nl_msg *msg, int argc, char **argv) in handle_freqs()
94 static int handle_freqchan(struct nl_msg *msg, bool chan, in handle_freqchan()
148 struct nl_cb *cb, struct nl_msg *msg, in handle_freq()
163 struct nl_cb *cb, struct nl_msg *msg, in handle_chan()
175 struct nl_cb *cb, struct nl_msg *msg, in handle_fragmentation()
207 struct nl_cb *cb, struct nl_msg *msg, in handle_rts()
239 struct nl_cb *cb, struct nl_msg *msg, in handle_retry()
322 struct nl_msg *msg, in handle_netns()
366 struct nl_msg *msg, in handle_coverage()
[all …]
Dhwsim.c35 static int print_hwsim_ps_handler(struct nl_msg *msg, void *arg) in print_hwsim_ps_handler()
56 struct nl_msg *msg, int argc, char **argv, in handle_hwsim_getps()
78 struct nl_msg *msg, int argc, char **argv, in handle_hwsim_setps()
110 struct nl_msg *msg, int argc, char **argv, in handle_hwsim_stop_queues()
132 struct nl_msg *msg, int argc, char **argv, in handle_hwsim_wake_queues()
Dps.c13 struct nl_msg *msg, in set_power_save()
45 static int print_power_save_handler(struct nl_msg *msg, void *arg) in print_power_save_handler()
74 struct nl_msg *msg, in get_power_save()
/external/libnl/lib/route/
Dqdisc.c148 struct nl_msg **result) in qdisc_build()
159 struct nl_msg *opts; in qdisc_build()
202 struct nl_msg **result) in rtnl_qdisc_build_add_request()
225 struct nl_msg *msg; in rtnl_qdisc_add()
261 struct nl_msg **result) in rtnl_qdisc_build_change_request()
281 struct nl_msg *msg; in rtnl_qdisc_change()
315 struct nl_msg **result) in rtnl_qdisc_build_delete_request()
317 struct nl_msg *msg; in rtnl_qdisc_build_delete_request()
354 struct nl_msg *msg; in rtnl_qdisc_delete()
Dcls.c84 struct nl_msg **result) in cls_build()
101 struct nl_msg *opts; in cls_build()
143 struct nl_msg **result) in rtnl_cls_build_add_request()
162 struct nl_msg *msg; in rtnl_cls_add()
190 struct nl_msg **result) in rtnl_cls_build_change_request()
209 struct nl_msg *msg; in rtnl_cls_change()
237 struct nl_msg **result) in rtnl_cls_build_delete_request()
257 struct nl_msg *msg; in rtnl_cls_delete()
Dclass.c79 struct nl_msg **result) in class_build()
90 struct nl_msg *opts; in class_build()
124 struct nl_msg **result) in rtnl_class_build_add_request()
146 struct nl_msg *msg; in rtnl_class_add()
161 struct nl_msg **result) in rtnl_class_build_delete_request()
163 struct nl_msg *msg; in rtnl_class_build_delete_request()
200 struct nl_msg *msg; in rtnl_class_delete()
Droute.c104 struct nl_msg **result) in build_route_msg()
106 struct nl_msg *msg; in build_route_msg()
122 struct nl_msg **result) in rtnl_route_build_add_request()
130 struct nl_msg *msg; in rtnl_route_add()
145 struct nl_msg **result) in rtnl_route_build_del_request()
152 struct nl_msg *msg; in rtnl_route_delete()
/external/libnl/include/netlink/netfilter/
Dqueue.h64 extern int nfnl_queue_build_pf_bind(uint8_t, struct nl_msg **);
67 extern int nfnl_queue_build_pf_unbind(uint8_t, struct nl_msg **);
71 struct nl_msg **);
76 struct nl_msg **);
81 struct nl_msg **);
Dlog.h86 extern int nfnl_log_build_pf_bind(uint8_t, struct nl_msg **);
89 extern int nfnl_log_build_pf_unbind(uint8_t, struct nl_msg **);
93 struct nl_msg **);
97 struct nl_msg **);
101 struct nl_msg **);
/external/libnl/include/netlink/route/
Dqdisc.h36 struct nl_msg **);
41 struct nl_msg **);
46 struct nl_msg **);
67 extern struct nl_msg * rtnl_qdisc_get_opts(struct rtnl_qdisc *);
Dclassifier.h33 struct nl_msg **);
37 struct nl_msg **);
39 struct nl_msg **);

12345