/external/libnl/include/netlink/ |
D | msg.h | 48 struct nl_msg; 74 extern struct nl_msg * nlmsg_alloc(void); 75 extern struct nl_msg * nlmsg_alloc_size(size_t); 76 extern struct nl_msg * nlmsg_alloc_simple(int, int); 78 extern struct nl_msg * nlmsg_inherit(struct nlmsghdr *); 79 extern struct nl_msg * nlmsg_convert(struct nlmsghdr *); 80 extern void * nlmsg_reserve(struct nl_msg *, size_t, int); 81 extern int nlmsg_append(struct nl_msg *, void *, size_t, int); 82 extern int nlmsg_expand(struct nl_msg *, size_t); 84 extern struct nlmsghdr * nlmsg_put(struct nl_msg *, uint32_t, uint32_t, [all …]
|
D | attr.h | 26 struct nl_msg; 104 extern struct nlattr * nla_reserve(struct nl_msg *, int, int); 105 extern int nla_put(struct nl_msg *, int, int, const void *); 106 extern int nla_put_data(struct nl_msg *, int, 108 extern int nla_put_addr(struct nl_msg *, int, struct nl_addr *); 112 extern int nla_put_s8(struct nl_msg *, int, int8_t); 114 extern int nla_put_u8(struct nl_msg *, int, uint8_t); 116 extern int nla_put_s16(struct nl_msg *, int, int16_t); 118 extern int nla_put_u16(struct nl_msg *, int, uint16_t); 120 extern int nla_put_s32(struct nl_msg *, int, int32_t); [all …]
|
D | netlink.h | 57 extern int nl_sendmsg(struct nl_sock *, struct nl_msg *, 59 extern int nl_send(struct nl_sock *, struct nl_msg *); 60 extern int nl_send_iovec(struct nl_sock *, struct nl_msg *, 63 struct nl_msg *); 65 struct nl_msg *); 66 extern int nl_send_auto(struct nl_sock *, struct nl_msg *); 68 struct nl_msg *); 69 extern int nl_send_sync(struct nl_sock *, struct nl_msg *);
|
/external/libnl/lib/netfilter/ |
D | queue.c | 38 static int send_queue_request(struct nl_sock *sk, struct nl_msg *msg) in send_queue_request() 56 uint8_t command, struct nl_msg **result) in build_queue_cmd_request() 58 struct nl_msg *msg; in build_queue_cmd_request() 80 int nfnl_queue_build_pf_bind(uint8_t pf, struct nl_msg **result) in nfnl_queue_build_pf_bind() 87 struct nl_msg *msg; in nfnl_queue_pf_bind() 96 int nfnl_queue_build_pf_unbind(uint8_t pf, struct nl_msg **result) in nfnl_queue_build_pf_unbind() 103 struct nl_msg *msg; in nfnl_queue_pf_unbind() 113 struct nl_msg **result) in nfnl_queue_build_request() 115 struct nl_msg *msg; in nfnl_queue_build_request() 162 struct nl_msg **result) in nfnl_queue_build_create_request() [all …]
|
D | log.c | 36 uint8_t command, struct nl_msg **result) in build_log_cmd_request() 38 struct nl_msg *msg; in build_log_cmd_request() 58 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg) in send_log_request() 70 int nfnl_log_build_pf_bind(uint8_t pf, struct nl_msg **result) in nfnl_log_build_pf_bind() 77 struct nl_msg *msg; in nfnl_log_pf_bind() 86 int nfnl_log_build_pf_unbind(uint8_t pf, struct nl_msg **result) in nfnl_log_build_pf_unbind() 93 struct nl_msg *msg; in nfnl_log_pf_unbind() 103 struct nl_msg **result) in nfnl_log_build_request() 105 struct nl_msg *msg; in nfnl_log_build_request() 163 struct nl_msg **result) in nfnl_log_build_create_request() [all …]
|
/external/libnl/lib/ |
D | msg.c | 263 static struct nl_msg *__nlmsg_alloc(size_t len) in __nlmsg_alloc() 265 struct nl_msg *nm; in __nlmsg_alloc() 301 struct nl_msg *nlmsg_alloc(void) in nlmsg_alloc() 309 struct nl_msg *nlmsg_alloc_size(size_t max) in nlmsg_alloc_size() 324 struct nl_msg *nlmsg_inherit(struct nlmsghdr *hdr) in nlmsg_inherit() 326 struct nl_msg *nm; in nlmsg_inherit() 348 struct nl_msg *nlmsg_alloc_simple(int nlmsgtype, int flags) in nlmsg_alloc_simple() 350 struct nl_msg *msg; in nlmsg_alloc_simple() 386 struct nl_msg *nlmsg_convert(struct nlmsghdr *hdr) in nlmsg_convert() 388 struct nl_msg *nm; in nlmsg_convert() [all …]
|
D | attr.c | 457 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen) in nla_reserve() 501 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data) in nla_put() 535 int nla_put_data(struct nl_msg *msg, int attrtype, const struct nl_data *data) in nla_put_data() 550 int nla_put_addr(struct nl_msg *msg, int attrtype, struct nl_addr *addr) in nla_put_addr() 571 int nla_put_s8(struct nl_msg *msg, int attrtype, int8_t value) in nla_put_s8() 596 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value) in nla_put_u8() 621 int nla_put_s16(struct nl_msg *msg, int attrtype, int16_t value) in nla_put_s16() 646 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value) in nla_put_u16() 671 int nla_put_s32(struct nl_msg *msg, int attrtype, int32_t value) in nla_put_s32() 696 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value) in nla_put_u32() [all …]
|
D | handlers.c | 47 static int nl_valid_handler_verbose(struct nl_msg *msg, void *arg) in nl_valid_handler_verbose() 58 static int nl_invalid_handler_verbose(struct nl_msg *msg, void *arg) in nl_invalid_handler_verbose() 69 static int nl_overrun_handler_verbose(struct nl_msg *msg, void *arg) in nl_overrun_handler_verbose() 93 static int nl_valid_handler_debug(struct nl_msg *msg, void *arg) in nl_valid_handler_debug() 104 static int nl_finish_handler_debug(struct nl_msg *msg, void *arg) in nl_finish_handler_debug() 115 static int nl_msg_in_handler_debug(struct nl_msg *msg, void *arg) in nl_msg_in_handler_debug() 125 static int nl_msg_out_handler_debug(struct nl_msg *msg, void *arg) in nl_msg_out_handler_debug() 135 static int nl_skipped_handler_debug(struct nl_msg *msg, void *arg) in nl_skipped_handler_debug() 146 static int nl_ack_handler_debug(struct nl_msg *msg, void *arg) in nl_ack_handler_debug() 397 int (*func)(struct nl_sock *, struct nl_msg *)) in nl_cb_overwrite_send() argument
|
/external/libnl/python/netlink/ |
D | capi.i | 194 extern int nl_send_auto_complete(struct nl_sock *, struct nl_msg *); 220 extern struct nl_msg * nlmsg_alloc(void); 221 extern struct nl_msg * nlmsg_alloc_size(size_t); 222 extern struct nl_msg * nlmsg_alloc_simple(int, int); 224 extern struct nl_msg * nlmsg_inherit(struct nlmsghdr *); 225 extern struct nl_msg * nlmsg_convert(struct nlmsghdr *); 226 extern void * nlmsg_reserve(struct nl_msg *, size_t, int); 227 extern int nlmsg_append(struct nl_msg *, void *, size_t, int); 228 extern int nlmsg_expand(struct nl_msg *, size_t); 230 extern struct nlmsghdr * nlmsg_put(struct nl_msg *, uint32_t, uint32_t, [all …]
|
/external/android-clat/ |
D | netlink_msg.c | 55 struct nl_msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, in nlmsg_alloc_generic() 57 struct nl_msg *msg; in nlmsg_alloc_generic() 64 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) { in nlmsg_alloc_generic() 84 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) { in nlmsg_alloc_ifaddr() 94 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) { in nlmsg_alloc_ifinfo() 104 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) { in nlmsg_alloc_rtmsg() 128 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) { in send_netlink_msg() 154 struct nl_msg *msg = NULL; in send_ifaddrmsg() 168 int netlink_sendrecv(struct nl_msg *msg) { in netlink_sendrecv()
|
D | netlink_msg.h | 22 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/libnl/include/netlink/netfilter/ |
D | queue.h | 64 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 **);
|
D | log.h | 86 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/iw/ |
D | phy.c | 20 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 …]
|
D | interface.c | 35 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 …]
|
D | hwsim.c | 35 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()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.h | 239 struct nl_msg; 242 struct nl_msg *msg, int flags, uint8_t cmd); 243 struct nl_msg * nl80211_cmd_msg(struct i802_bss *bss, int flags, uint8_t cmd); 244 struct nl_msg * nl80211_drv_msg(struct wpa_driver_nl80211_data *drv, int flags, 246 struct nl_msg * nl80211_bss_msg(struct i802_bss *bss, int flags, uint8_t cmd); 247 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg, 248 int (*valid_handler)(struct nl_msg *, void *), 250 int (*ack_handler_custom)(struct nl_msg *, void *), 256 int (*handler)(struct nl_msg *, void *), 291 int process_global_event(struct nl_msg *msg, void *arg); [all …]
|
/external/libnl/include/netlink/route/ |
D | action.h | 29 struct nl_msg **); 34 struct nl_msg **); 36 struct nl_msg **); 41 extern int rtnl_act_fill(struct nl_msg *, int, struct rtnl_act *);
|
D | qdisc.h | 38 struct nl_msg **); 43 int, struct nl_msg **); 49 struct nl_msg **); 63 struct nl_msg **)
|
/external/libnl/lib/route/ |
D | route.c | 110 struct nl_msg **result) in build_route_msg() 112 struct nl_msg *msg; in build_route_msg() 128 struct nl_msg **result) in rtnl_route_build_add_request() 136 struct nl_msg *msg; in rtnl_route_add() 151 struct nl_msg **result) in rtnl_route_build_del_request() 158 struct nl_msg *msg; in rtnl_route_delete()
|
D | act.c | 79 static int rtnl_act_fill_one(struct nl_msg *msg, struct rtnl_act *act, int order) in rtnl_act_fill_one() 116 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill() 138 struct nl_msg **result) in rtnl_act_msg_build() 140 struct nl_msg *msg; in rtnl_act_msg_build() 166 struct nl_msg **result) in act_build() 224 struct nl_msg **result) in rtnl_act_build_add_request() 264 struct nl_msg *msg; in rtnl_act_add() 287 struct nl_msg **result) in rtnl_act_build_change_request() 306 struct nl_msg *msg; in rtnl_act_change() 330 struct nl_msg **result) in rtnl_act_build_delete_request() [all …]
|
D | qdisc.c | 91 struct nl_msg **result) in build_qdisc_msg() 116 struct nl_msg **result) in rtnl_qdisc_build_add_request() 165 struct nl_msg *msg; in rtnl_qdisc_add() 191 struct nl_msg **result) in rtnl_qdisc_build_update_request() 251 struct nl_msg *msg; in rtnl_qdisc_update() 275 struct nl_msg **result) in rtnl_qdisc_build_delete_request() 277 struct nl_msg *msg; in rtnl_qdisc_build_delete_request() 343 struct nl_msg *msg; in rtnl_qdisc_delete() 499 struct nl_msg **result) in rtnl_qdisc_build_change_request()
|
D | cls.c | 37 struct nl_msg **result) in cls_build() 139 struct nl_msg **result) in rtnl_cls_build_add_request() 187 struct nl_msg *msg; in rtnl_cls_add() 210 struct nl_msg **result) in rtnl_cls_build_change_request() 229 struct nl_msg *msg; in rtnl_cls_change() 253 struct nl_msg **result) in rtnl_cls_build_delete_request() 298 struct nl_msg *msg; in rtnl_cls_delete()
|
/external/libnl/include/netlink-private/route/link/ |
D | api.h | 57 int (*io_put_attrs)(struct nl_msg *, struct rtnl_link *); 120 struct nl_msg *msg, void *); 129 int (*ao_get_af)(struct nl_msg *msg, 161 struct nl_msg *msg, void *);
|
/external/libnl/include/netlink/xfrm/ |
D | sp.h | 59 unsigned int, struct nl_msg **); 64 extern int xfrmnl_sp_build_add_request(struct xfrmnl_sp*, int, struct nl_msg *… 67 … int xfrmnl_sp_build_update_request(struct xfrmnl_sp*, int, struct nl_msg **); 70 … int xfrmnl_sp_build_delete_request(struct xfrmnl_sp*, int, struct nl_msg **);
|