/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 | 46 struct nl_sock; 52 extern int nl_connect(struct nl_sock *, int); 53 extern void nl_close(struct nl_sock *); 56 extern int nl_sendto(struct nl_sock *, void *, size_t); 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 *, 62 extern void nl_complete_msg(struct nl_sock *, 64 extern void nl_auto_complete(struct nl_sock *, 66 extern int nl_send_auto(struct nl_sock *, struct nl_msg *); [all …]
|
D | cache.h | 59 struct nl_sock *, 79 extern int nl_cache_refill(struct nl_sock *, 81 extern int nl_cache_pickup(struct nl_sock *, 83 extern int nl_cache_pickup_checkdup(struct nl_sock *, 85 extern int nl_cache_resync(struct nl_sock *, 152 extern int nl_cache_mngr_alloc(struct nl_sock *,
|
D | handlers.h | 30 struct nl_sock; 134 int (*func)(struct nl_sock *, 137 int (*func)(struct nl_sock *, 142 int (*func)(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 | 104 int nl_connect(struct nl_sock *sk, int protocol) in nl_connect() 231 void nl_close(struct nl_sock *sk) in nl_close() 271 int nl_sendto(struct nl_sock *sk, void *buf, size_t size) in nl_sendto() 328 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr) in nl_sendmsg() 374 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen) in nl_send_iovec() 448 int nl_send(struct nl_sock *sk, struct nl_msg *msg) in nl_send() 482 void nl_complete_msg(struct nl_sock *sk, struct nl_msg *msg) in nl_complete_msg() 517 int nl_send_auto(struct nl_sock *sk, struct nl_msg *msg) in nl_send_auto() 549 int nl_send_sync(struct nl_sock *sk, struct nl_msg *msg) in nl_send_sync() 581 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);
|
/external/libnl/include/netlink/cli/ |
D | utils.h | 69 extern int nl_cli_connect(struct nl_sock *, int); 70 extern struct nl_sock * nl_cli_alloc_socket(void); 75 extern struct nl_cache *nl_cli_alloc_cache(struct nl_sock *, const char *, 76 int (*ac)(struct nl_sock *, struct nl_cache **)); 78 extern struct nl_cache *nl_cli_alloc_cache_flags(struct nl_sock *, const char *, 80 int (*ac)(struct nl_sock *, struct nl_cache **, unsigned int));
|
D | link.h | 19 extern struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *, int); 20 extern struct nl_cache *nl_cli_link_alloc_cache_family_flags(struct nl_sock *, int, 22 extern struct nl_cache *nl_cli_link_alloc_cache(struct nl_sock *); 23 extern struct nl_cache *nl_cli_link_alloc_cache_flags(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 **); 113 extern int rtnl_link_alloc_cache_flags(struct nl_sock *, int, 122 extern int rtnl_link_add(struct nl_sock *, struct rtnl_link *, int); 126 extern int rtnl_link_change(struct nl_sock *, struct rtnl_link *, 131 extern int rtnl_link_delete(struct nl_sock *, const struct rtnl_link *); 134 extern int rtnl_link_get_kernel(struct nl_sock *, int, const char *, 253 extern int rtnl_link_enslave_ifindex(struct nl_sock *, int, int); 254 extern int rtnl_link_enslave(struct nl_sock *, struct rtnl_link *, 256 extern int rtnl_link_release_ifindex(struct nl_sock *, int); 257 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, 34 extern int rtnl_cls_add(struct nl_sock *, struct rtnl_cls *, int); 35 extern int rtnl_cls_change(struct nl_sock *, struct rtnl_cls *, int); 41 extern int rtnl_cls_delete(struct nl_sock *, struct rtnl_cls *,
|
D | neighbour.h | 28 extern int rtnl_neigh_alloc_cache(struct nl_sock *, struct nl_cache **); 29 extern int rtnl_neigh_alloc_cache_flags(struct nl_sock *, 45 extern int rtnl_neigh_add(struct nl_sock *, struct rtnl_neigh *, int); 49 extern int rtnl_neigh_delete(struct nl_sock *, struct rtnl_neigh *, int);
|
/external/libnl/lib/netfilter/ |
D | queue.c | 28 struct nl_sock *nfnl_queue_socket_alloc(void) in nfnl_queue_socket_alloc() 30 struct nl_sock *nlsk; in nfnl_queue_socket_alloc() 38 static int send_queue_request(struct nl_sock *sk, struct nl_msg *msg) in send_queue_request() 85 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind() 101 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind() 183 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create() 200 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change() 221 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
|
/external/libnl/src/lib/ |
D | utils.c | 115 int nl_cli_connect(struct nl_sock *sk, int protocol) in nl_cli_connect() 126 struct nl_sock *nl_cli_alloc_socket(void) in nl_cli_alloc_socket() 128 struct nl_sock *sock; in nl_cli_alloc_socket() 196 struct nl_cache *nl_cli_alloc_cache(struct nl_sock *sock, const char *name, in nl_cli_alloc_cache() 197 int (*ac)(struct nl_sock *, struct nl_cache **)) in nl_cli_alloc_cache() argument 211 struct nl_cache *nl_cli_alloc_cache_flags(struct nl_sock *sock, in nl_cli_alloc_cache_flags() 213 int (*ac)(struct nl_sock *, struct nl_cache **, in nl_cli_alloc_cache_flags() argument
|
/external/libnl/lib/route/link/ |
D | bonding.c | 73 int rtnl_link_bond_add(struct nl_sock *sock, const char *name, in rtnl_link_bond_add() 108 int rtnl_link_bond_enslave_ifindex(struct nl_sock *sock, int master, in rtnl_link_bond_enslave_ifindex() 164 int rtnl_link_bond_enslave(struct nl_sock *sock, struct rtnl_link *master, in rtnl_link_bond_enslave() 184 int rtnl_link_bond_release_ifindex(struct nl_sock *sock, int slave) in rtnl_link_bond_release_ifindex() 208 int rtnl_link_bond_release(struct nl_sock *sock, struct rtnl_link *slave) in rtnl_link_bond_release()
|
/external/libnl/include/netlink/xfrm/ |
D | sp.h | 53 extern int xfrmnl_sp_alloc_cache(struct nl_sock *, struct nl_cache **); 60 extern int xfrmnl_sp_get_kernel(struct nl_sock*, unsigned int, unsigned int, 63 extern int xfrmnl_sp_add(struct nl_sock*, struct xfrmnl_sp*, int); 66 extern int xfrmnl_sp_update(struct nl_sock*, struct xfrmnl_sp*, int); 69 extern int xfrmnl_sp_delete(struct nl_sock*, struct xfrmnl_sp*, int);
|
D | sa.h | 51 extern int xfrmnl_sa_alloc_cache(struct nl_sock *, struct nl_cache **); 58 extern int xfrmnl_sa_get_kernel(struct nl_sock*, struct nl_addr*, unsigned int, 62 extern int xfrmnl_sa_add(struct nl_sock*, struct xfrmnl_sa*, int); 65 extern int xfrmnl_sa_update(struct nl_sock*, struct xfrmnl_sa*, int); 68 extern int xfrmnl_sa_delete(struct nl_sock*, struct xfrmnl_sa*, int);
|
/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/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 | 171 extern int nl_connect(struct nl_sock *, int); 172 extern void nl_close(struct nl_sock *); 175 extern struct nl_sock *nl_socket_alloc(void); 176 extern struct nl_sock *nl_socket_alloc_cb(struct nl_cb *); 177 extern void nl_socket_free(struct nl_sock *); 179 extern uint32_t nl_socket_get_local_port(const struct nl_sock *); 180 extern void nl_socket_set_local_port(struct nl_sock *, uint32_t); 182 extern uint32_t nl_socket_get_peer_port(const struct nl_sock *); 183 extern void nl_socket_set_peer_port(struct nl_sock *, uint32_t); 185 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 …]
|