Home
last modified time | relevance | path

Searched refs:mngr (Results 1 – 7 of 7) sorted by relevance

/external/libnl/lib/
Dcache_mngr.c70 struct nl_cache_mngr *mngr = arg; in event_input() local
80 mngr, msg); in event_input()
86 if (mngr->cm_protocol != protocol) in event_input()
89 for (i = 0; i < mngr->cm_nassocs; i++) { in event_input()
90 if (mngr->cm_assocs[i].ca_cache) { in event_input()
91 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input()
102 msg, mngr->cm_assocs[i].ca_cache); in event_input()
103 p.pp_arg = &mngr->cm_assocs[i]; in event_input()
139 struct nl_cache_mngr *mngr; in nl_cache_mngr_alloc() local
146 mngr = calloc(1, sizeof(*mngr)); in nl_cache_mngr_alloc()
[all …]
/external/libnl/tests/
Dtest-cache-mngr.c37 struct nl_cache_mngr *mngr; in main() local
45 err = nl_cache_mngr_alloc(NULL, NETLINK_ROUTE, NL_AUTO_PROVIDE, &mngr); in main()
51 err = nl_cache_mngr_add(mngr, argv[i], &change_cb, NULL, &cache); in main()
58 int err = nl_cache_mngr_poll(mngr, 1000); in main()
62 nl_cache_mngr_info(mngr, &dp); in main()
65 nl_cache_mngr_free(mngr); in main()
Dtest-nf-cache-mngr.c28 struct nl_cache_mngr *mngr; in main() local
35 err = nl_cache_mngr_alloc(sock, NETLINK_NETFILTER, NL_AUTO_PROVIDE, &mngr); in main()
41 err = nl_cache_mngr_add(mngr, "netfilter/ct", &change_cb, NULL, &ct); in main()
48 int err = nl_cache_mngr_poll(mngr, 5000); in main()
56 nl_cache_mngr_free(mngr); in main()
/external/libnl/include/netlink/
Dcache.h154 extern int nl_cache_mngr_add_cache(struct nl_cache_mngr *mngr,
157 extern int nl_cache_mngr_add_cache_v2(struct nl_cache_mngr *mngr,
/external/libnl/python/netlink/
Dcapi.i319 struct nl_cache_mngr *mngr; in alloc_cache_mngr() local
321 if (nl_cache_mngr_alloc(sock, protocol, flags, &mngr) < 0) in alloc_cache_mngr()
324 return mngr; in alloc_cache_mngr()
327 struct nl_cache *cache_mngr_add(struct nl_cache_mngr *mngr, in cache_mngr_add() argument
333 if (nl_cache_mngr_add(mngr, name, func, arg, &cache) < 0) in cache_mngr_add()
/external/libnl/
D.gitignore119 /tests/test-cache-mngr
143 /tests/test-nf-cache-mngr
/external/libnl/doc/
Dcore.txt2708 struct nl_cache_mngr *mngr;
2712 err = nl_cache_mngr_alloc(NULL, NETLINK_ROUTE, NL_AUTO_PROVIDE, &mngr);
2724 cache = nl_cache_mngr_add(mngr, "route/link");
2733 if (nl_cache_mngr_poll(mngr, 5000) > 0) {
2743 nl_cache_mngr_free(mngr);