/external/libnl/src/ |
nl-link-name2ifindex.c | 23 struct nl_sock *sock;
|
nl-link-ifindex2name.c | 23 struct nl_sock *sock;
|
nl-neightbl-list.c | 30 struct nl_sock *sock;
|
nl-rule-list.c | 35 struct nl_sock *sock;
|
/external/libnl/tests/ |
test-socket-creation.c | 5 struct nl_sock *h[1025];
|
test-genl.c | 5 struct nl_sock *sock;
|
test-nf-cache-mngr.c | 27 struct nl_sock *sock;
|
/external/libnl/include/netlink/route/ |
addr.h | 31 extern int rtnl_addr_alloc_cache(struct nl_sock *, struct nl_cache **); 35 extern int rtnl_addr_add(struct nl_sock *, struct rtnl_addr *, int); 39 extern int rtnl_addr_delete(struct nl_sock *,
|
rule.h | 30 extern int rtnl_rule_alloc_cache(struct nl_sock *, int, 36 extern int rtnl_rule_add(struct nl_sock *, struct rtnl_rule *, int); 39 extern int rtnl_rule_delete(struct nl_sock *, struct rtnl_rule *, int);
|
route.h | 48 extern int rtnl_route_alloc_cache(struct nl_sock *, int, int, 59 extern int rtnl_route_add(struct nl_sock *, struct rtnl_route *, int); 62 extern int rtnl_route_delete(struct nl_sock *, struct rtnl_route *, int);
|
link.h | 60 extern int rtnl_link_alloc_cache(struct nl_sock *, struct nl_cache **); 68 extern int rtnl_link_change(struct nl_sock *, struct rtnl_link *,
|
/system/extras/iotop/ |
taskstats.h | 23 struct nl_sock; 90 std::unique_ptr<nl_sock, void(*)(nl_sock*)> nl_;
|
/external/libnl/include/netlink/netfilter/ |
ct.h | 31 extern int nfnl_ct_alloc_cache(struct nl_sock *, struct nl_cache **); 39 extern int nfnl_ct_dump_request(struct nl_sock *); 43 extern int nfnl_ct_add(struct nl_sock *, const struct nfnl_ct *, int); 47 extern int nfnl_ct_delete(struct nl_sock *, const struct nfnl_ct *, int); 51 extern int nfnl_ct_query(struct nl_sock *, const struct nfnl_ct *, int);
|
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_payload(struct nl_sock *,
|
/external/libnl/lib/netfilter/ |
log.c | 57 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg) 74 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) 90 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) 182 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) 199 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) 220 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log)
|
/external/android-clat/ |
netlink_msg.h | 28 int netlink_set_kernel_only(struct nl_sock *nl_sk);
|
/external/libnl/include/netlink/ |
cache-api.h | 42 * struct nl_sock *socket) 175 int (*co_request_update)(struct nl_cache *, struct nl_sock *);
|
/external/libnl/src/lib/ |
rule.c | 33 struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *sk)
|
/external/libnl/lib/ |
nl.c | 106 int nl_connect(struct nl_sock *sk, int protocol) 162 void nl_close(struct nl_sock *sk) 186 int nl_sendto(struct nl_sock *sk, void *buf, size_t size) 205 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr) 235 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, unsigned iovlen) 281 int nl_send(struct nl_sock *sk, struct nl_msg *msg) 291 void nl_auto_complete(struct nl_sock *sk, struct nl_msg *msg) 323 int nl_send_auto_complete(struct nl_sock *sk, struct nl_msg *msg) 349 int nl_send_simple(struct nl_sock *sk, int type, int flags, void *buf, 399 int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla [all...] |
/external/autotest/client/deps/iwcap/src/ |
iwcap.c | 30 # define nl_sock nl_handle macro 37 static inline void nl_socket_free(struct nl_sock *h) 42 static inline int __genl_ctrl_alloc_cache(struct nl_sock *h, struct nl_cache **cache) 54 struct nl_sock *nl_sock; member in struct:nl80211_state 63 state->nl_sock = nl_socket_alloc(); 64 if (!state->nl_sock) { 69 if (genl_connect(state->nl_sock)) { 75 if (genl_ctrl_alloc_cache(state->nl_sock, &state->nl_cache)) { 93 nl_socket_free(state->nl_sock); [all...] |
/external/iw/ |
iw.c | 33 static inline void nl_socket_free(struct nl_sock *h) 38 static inline int nl_socket_set_buffer_size(struct nl_sock *sk, 51 state->nl_sock = nl_socket_alloc(); 52 if (!state->nl_sock) { 57 nl_socket_set_buffer_size(state->nl_sock, 8192, 8192); 59 if (genl_connect(state->nl_sock)) { 65 state->nl80211_id = genl_ctrl_resolve(state->nl_sock, "nl80211"); 75 nl_socket_free(state->nl_sock); 81 nl_socket_free(state->nl_sock); 465 nl_socket_set_cb(state->nl_sock, s_cb) [all...] |
/external/libnl/lib/route/ |
class.c | 62 static int class_request_update(struct nl_cache *cache, struct nl_sock *sk) 144 int rtnl_class_add(struct nl_sock *sk, struct rtnl_class *class, int flags) 198 int rtnl_class_delete(struct nl_sock *sk, struct rtnl_class *class) 232 int rtnl_class_alloc_cache(struct nl_sock *sk, int ifindex,
|
route.c | 45 static int route_request_update(struct nl_cache *c, struct nl_sock *h) 75 int rtnl_route_alloc_cache(struct nl_sock *sk, int family, int flags, 128 int rtnl_route_add(struct nl_sock *sk, struct rtnl_route *route, int flags) 150 int rtnl_route_delete(struct nl_sock *sk, struct rtnl_route *route, int flags)
|
cls.c | 70 static int cls_request_update(struct nl_cache *cache, struct nl_sock *sk) 160 int rtnl_cls_add(struct nl_sock *sk, struct rtnl_cls *cls, int flags) 207 int rtnl_cls_change(struct nl_sock *sk, struct rtnl_cls *cls, int flags) 255 int rtnl_cls_delete(struct nl_sock *sk, struct rtnl_cls *cls, int flags) 294 int rtnl_cls_alloc_cache(struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **result)
|
qdisc.c | 131 static int qdisc_request_update(struct nl_cache *c, struct nl_sock *sk) 222 int rtnl_qdisc_add(struct nl_sock *sk, struct rtnl_qdisc *qdisc, 278 int rtnl_qdisc_change(struct nl_sock *sk, struct rtnl_qdisc *qdisc, 352 int rtnl_qdisc_delete(struct nl_sock *sk, struct rtnl_qdisc *qdisc) 386 int rtnl_qdisc_alloc_cache(struct nl_sock *sk, struct nl_cache **result)
|