/external/libnl/include/netlink/ |
D | socket.h | 22 extern struct nl_sock * nl_socket_alloc(void); 23 extern struct nl_sock * nl_socket_alloc_cb(struct nl_cb *); 24 extern void nl_socket_free(struct nl_sock *); 26 extern uint32_t nl_socket_get_local_port(const struct nl_sock *); 27 extern void nl_socket_set_local_port(struct nl_sock *, uint32_t); 29 extern int nl_socket_add_memberships(struct nl_sock *, int, ...); 30 extern int nl_socket_add_membership(struct nl_sock *, int); 31 extern int nl_socket_drop_memberships(struct nl_sock *, int, ...); 32 extern int nl_socket_drop_membership(struct nl_sock *, 34 extern void nl_join_groups(struct nl_sock *, int); [all …]
|
D | netlink.h | 45 struct nl_sock; 51 extern int nl_connect(struct nl_sock *, int); 52 extern void nl_close(struct nl_sock *); 55 extern int nl_sendto(struct nl_sock *, void *, size_t); 56 extern int nl_sendmsg(struct nl_sock *, struct nl_msg *, 58 extern int nl_send(struct nl_sock *, struct nl_msg *); 59 extern int nl_send_iovec(struct nl_sock *, struct nl_msg *, 61 extern void nl_complete_msg(struct nl_sock *, 63 extern void nl_auto_complete(struct nl_sock *, 65 extern int nl_send_auto(struct nl_sock *, struct nl_msg *); [all …]
|
D | handlers.h | 26 struct nl_sock; 131 int (*func)(struct nl_sock *, 134 int (*func)(struct nl_sock *, 139 int (*func)(struct nl_sock *,
|
D | cache.h | 57 struct nl_sock *, 77 extern int nl_cache_refill(struct nl_sock *, 79 extern int nl_cache_pickup(struct nl_sock *, 81 extern int nl_cache_resync(struct nl_sock *, 144 extern int nl_cache_mngr_alloc(struct nl_sock *,
|
/external/libnl/lib/ |
D | socket.c | 181 static struct nl_sock *__alloc_socket(struct nl_cb *cb) in __alloc_socket() 183 struct nl_sock *sk; in __alloc_socket() 206 struct nl_sock *nl_socket_alloc(void) in nl_socket_alloc() 209 struct nl_sock *sk; in nl_socket_alloc() 232 struct nl_sock *nl_socket_alloc_cb(struct nl_cb *cb) in nl_socket_alloc_cb() 244 void nl_socket_free(struct nl_sock *sk) in nl_socket_free() 283 void nl_socket_disable_seq_check(struct nl_sock *sk) in nl_socket_disable_seq_check() 298 unsigned int nl_socket_use_seq(struct nl_sock *sk) in nl_socket_use_seq() 315 void nl_socket_disable_auto_ack(struct nl_sock *sk) in nl_socket_disable_auto_ack() 325 void nl_socket_enable_auto_ack(struct nl_sock *sk) in nl_socket_enable_auto_ack() [all …]
|
D | nl.c | 96 int nl_connect(struct nl_sock *sk, int protocol) in nl_connect() 205 void nl_close(struct nl_sock *sk) in nl_close() 245 int nl_sendto(struct nl_sock *sk, void *buf, size_t size) in nl_sendto() 299 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr) in nl_sendmsg() 342 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen) in nl_send_iovec() 416 int nl_send(struct nl_sock *sk, struct nl_msg *msg) in nl_send() 450 void nl_complete_msg(struct nl_sock *sk, struct nl_msg *msg) in nl_complete_msg() 485 int nl_send_auto(struct nl_sock *sk, struct nl_msg *msg) in nl_send_auto() 517 int nl_send_sync(struct nl_sock *sk, struct nl_msg *msg) in nl_send_sync() 549 int nl_send_simple(struct nl_sock *sk, int type, int flags, void *buf, in nl_send_simple() [all …]
|
/external/libnl/include/netlink/netfilter/ |
D | queue.h | 21 struct nl_sock; 34 extern struct nl_sock * nfnl_queue_socket_alloc(void); 65 extern int nfnl_queue_pf_bind(struct nl_sock *, uint8_t); 68 extern int nfnl_queue_pf_unbind(struct nl_sock *, uint8_t); 72 extern int nfnl_queue_create(struct nl_sock *, 77 extern int nfnl_queue_change(struct nl_sock *, 82 extern int nfnl_queue_delete(struct nl_sock *,
|
D | log.h | 24 struct nl_sock; 87 extern int nfnl_log_pf_bind(struct nl_sock *, uint8_t); 90 extern int nfnl_log_pf_unbind(struct nl_sock *, uint8_t); 94 extern int nfnl_log_create(struct nl_sock *, const struct nfnl_log *); 98 extern int nfnl_log_change(struct nl_sock *, const struct nfnl_log *); 102 extern int nfnl_log_delete(struct nl_sock *, const struct nfnl_log *);
|
D | exp.h | 42 extern int nfnl_exp_alloc_cache(struct nl_sock *, struct nl_cache **); 50 extern int nfnl_exp_dump_request(struct nl_sock *); 54 extern int nfnl_exp_add(struct nl_sock *, const struct nfnl_exp *, int); 58 extern int nfnl_exp_del(struct nl_sock *, const struct nfnl_exp *, int); 62 extern int nfnl_exp_query(struct nl_sock *, const struct nfnl_exp *, int);
|
D | ct.h | 36 extern int nfnl_ct_alloc_cache(struct nl_sock *, struct nl_cache **); 44 extern int nfnl_ct_dump_request(struct nl_sock *); 48 extern int nfnl_ct_add(struct nl_sock *, const struct nfnl_ct *, int); 52 extern int nfnl_ct_del(struct nl_sock *, const struct nfnl_ct *, int); 56 extern int nfnl_ct_query(struct nl_sock *, const struct nfnl_ct *, int);
|
D | queue_msg.h | 21 struct nl_sock; 94 extern int nfnl_queue_msg_send_verdict(struct nl_sock *, 96 extern int nfnl_queue_msg_send_verdict_batch(struct nl_sock *, 98 extern int nfnl_queue_msg_send_verdict_payload(struct nl_sock *,
|
/external/libnl/include/netlink/route/link/ |
D | bonding.h | 24 extern int rtnl_link_bond_add(struct nl_sock *, const char *, 27 extern int rtnl_link_bond_enslave_ifindex(struct nl_sock *, int, int); 28 extern int rtnl_link_bond_enslave(struct nl_sock *, struct rtnl_link *, 31 extern int rtnl_link_bond_release_ifindex(struct nl_sock *, int); 32 extern int rtnl_link_bond_release(struct nl_sock *, struct rtnl_link *);
|
/external/libnl/include/netlink/route/ |
D | link.h | 112 extern int rtnl_link_alloc_cache(struct nl_sock *, int, struct nl_cache **); 119 extern int rtnl_link_add(struct nl_sock *, struct rtnl_link *, int); 123 extern int rtnl_link_change(struct nl_sock *, struct rtnl_link *, 128 extern int rtnl_link_delete(struct nl_sock *, const struct rtnl_link *); 131 extern int rtnl_link_get_kernel(struct nl_sock *, int, const char *, 234 extern int rtnl_link_enslave_ifindex(struct nl_sock *, int, int); 235 extern int rtnl_link_enslave(struct nl_sock *, struct rtnl_link *, 237 extern int rtnl_link_release_ifindex(struct nl_sock *, int); 238 extern int rtnl_link_release(struct nl_sock *, struct rtnl_link *);
|
D | qdisc.h | 29 extern int rtnl_qdisc_alloc_cache(struct nl_sock *, struct nl_cache **); 39 extern int rtnl_qdisc_add(struct nl_sock *, struct rtnl_qdisc *, int); 45 extern int rtnl_qdisc_update(struct nl_sock *, struct rtnl_qdisc *, 50 extern int rtnl_qdisc_delete(struct nl_sock *, struct rtnl_qdisc *); 66 extern int rtnl_qdisc_change(struct nl_sock *, struct rtnl_qdisc *,
|
D | classifier.h | 27 extern int rtnl_cls_alloc_cache(struct nl_sock *, int, uint32_t, 32 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int); 33 extern int rtnl_cls_change(struct nl_sock *, struct rtnl_cls *, int); 39 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *,
|
/external/libnl/lib/netfilter/ |
D | queue.c | 27 struct nl_sock *nfnl_queue_socket_alloc(void) in nfnl_queue_socket_alloc() 29 struct nl_sock *nlsk; in nfnl_queue_socket_alloc() 37 static int send_queue_request(struct nl_sock *sk, struct nl_msg *msg) in send_queue_request() 84 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind() 100 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind() 182 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create() 199 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change() 220 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
|
D | log.c | 57 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg) in send_log_request() 74 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_bind() 90 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_unbind() 182 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_create() 199 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_change() 220 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_delete()
|
/external/libnl/python/netlink/route/ |
D | capi.i | 35 struct rtnl_link *get_from_kernel(struct nl_sock *sk, int ifindex, const char *name) in get_from_kernel() 71 extern int rtnl_link_add(struct nl_sock *, struct rtnl_link *, int); 73 extern int rtnl_link_change(struct nl_sock *, struct rtnl_link *, struct rtnl_link *, int); 76 extern int rtnl_link_delete(struct nl_sock *, const struct rtnl_link *); 148 extern int rtnl_link_enslave(struct nl_sock * sock, struct rtnl_link * master, struct rtnl_link * s… 149 extern int rtnl_link_release(struct nl_sock * sock, struct rtnl_link * slave); 382 extern int rtnl_qdisc_add(struct nl_sock *, struct rtnl_qdisc *, int); 388 extern int rtnl_qdisc_update(struct nl_sock *, struct rtnl_qdisc *, 393 extern int rtnl_qdisc_delete(struct nl_sock *, struct rtnl_qdisc *); 400 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int); [all …]
|
/external/libnl/include/netlink/cli/ |
D | utils.h | 67 extern int nl_cli_connect(struct nl_sock *, int); 68 extern struct nl_sock * nl_cli_alloc_socket(void); 73 extern struct nl_cache *nl_cli_alloc_cache(struct nl_sock *, const char *, 74 int (*ac)(struct nl_sock *, struct nl_cache **));
|
/external/libnl/lib/route/link/ |
D | bonding.c | 72 int rtnl_link_bond_add(struct nl_sock *sock, const char *name, in rtnl_link_bond_add() 107 int rtnl_link_bond_enslave_ifindex(struct nl_sock *sock, int master, in rtnl_link_bond_enslave_ifindex() 163 int rtnl_link_bond_enslave(struct nl_sock *sock, struct rtnl_link *master, in rtnl_link_bond_enslave() 183 int rtnl_link_bond_release_ifindex(struct nl_sock *sock, int slave) in rtnl_link_bond_release_ifindex() 207 int rtnl_link_bond_release(struct nl_sock *sock, struct rtnl_link *slave) in rtnl_link_bond_release()
|
/external/autotest/client/deps/iwcap/src/ |
D | iwcap.c | 30 # define nl_sock nl_handle macro 37 static inline void nl_socket_free(struct nl_sock *h) in nl_socket_free() 42 static inline int __genl_ctrl_alloc_cache(struct nl_sock *h, struct nl_cache **cache) in __genl_ctrl_alloc_cache() 54 struct nl_sock *nl_sock; member 63 state->nl_sock = nl_socket_alloc(); in nl80211_init() 64 if (!state->nl_sock) { in nl80211_init() 69 if (genl_connect(state->nl_sock)) { in nl80211_init() 75 if (genl_ctrl_alloc_cache(state->nl_sock, &state->nl_cache)) { in nl80211_init() 93 nl_socket_free(state->nl_sock); in nl80211_init() 101 nl_socket_free(state->nl_sock); in nl80211_cleanup() [all …]
|
/external/libnl/python/netlink/ |
D | capi.i | 169 extern int nl_connect(struct nl_sock *, int); 170 extern void nl_close(struct nl_sock *); 173 extern struct nl_sock *nl_socket_alloc(void); 174 extern struct nl_sock *nl_socket_alloc_cb(struct nl_cb *); 175 extern void nl_socket_free(struct nl_sock *); 177 extern uint32_t nl_socket_get_local_port(const struct nl_sock *); 178 extern void nl_socket_set_local_port(struct nl_sock *, uint32_t); 180 extern uint32_t nl_socket_get_peer_port(const struct nl_sock *); 181 extern void nl_socket_set_peer_port(struct nl_sock *, uint32_t); 183 extern uint32_t nl_socket_get_peer_groups(const struct nl_sock *sk); [all …]
|
/external/iw/ |
D | iw.c | 33 static inline void nl_socket_free(struct nl_sock *h) in nl_socket_free() 38 static inline int nl_socket_set_buffer_size(struct nl_sock *sk, in nl_socket_set_buffer_size() 51 state->nl_sock = nl_socket_alloc(); in nl80211_init() 52 if (!state->nl_sock) { in nl80211_init() 57 nl_socket_set_buffer_size(state->nl_sock, 8192, 8192); in nl80211_init() 59 if (genl_connect(state->nl_sock)) { in nl80211_init() 65 state->nl80211_id = genl_ctrl_resolve(state->nl_sock, "nl80211"); in nl80211_init() 75 nl_socket_free(state->nl_sock); in nl80211_init() 81 nl_socket_free(state->nl_sock); in nl80211_cleanup() 465 nl_socket_set_cb(state->nl_sock, s_cb); in __handle_cmd() [all …]
|
/external/libnl/src/lib/ |
D | utils.c | 88 int nl_cli_connect(struct nl_sock *sk, int protocol) in nl_cli_connect() 99 struct nl_sock *nl_cli_alloc_socket(void) in nl_cli_alloc_socket() 101 struct nl_sock *sock; in nl_cli_alloc_socket() 168 struct nl_cache *nl_cli_alloc_cache(struct nl_sock *sock, const char *name, in nl_cli_alloc_cache() 169 int (*ac)(struct nl_sock *, struct nl_cache **)) in nl_cli_alloc_cache() argument
|
/external/libnl/include/netlink/genl/ |
D | ctrl.h | 25 extern int genl_ctrl_alloc_cache(struct nl_sock *, 30 extern int genl_ctrl_resolve(struct nl_sock *, 32 extern int genl_ctrl_resolve_grp(struct nl_sock *sk,
|