Searched refs:mngr (Results 1 – 7 of 7) sorted by relevance
/external/libnl/lib/ |
D | cache_mngr.c | 69 struct nl_cache_mngr *mngr = arg; in event_input() local 79 mngr, msg); in event_input() 85 if (mngr->cm_protocol != protocol) in event_input() 88 for (i = 0; i < mngr->cm_nassocs; i++) { in event_input() 89 if (mngr->cm_assocs[i].ca_cache) { in event_input() 90 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input() 101 msg, mngr->cm_assocs[i].ca_cache); in event_input() 102 p.pp_arg = &mngr->cm_assocs[i]; in event_input() 138 struct nl_cache_mngr *mngr; in nl_cache_mngr_alloc() local 145 mngr = calloc(1, sizeof(*mngr)); in nl_cache_mngr_alloc() [all …]
|
/external/libnl/tests/ |
D | test-cache-mngr.c | 35 struct nl_cache_mngr *mngr; in main() local 43 err = nl_cache_mngr_alloc(NULL, NETLINK_ROUTE, NL_AUTO_PROVIDE, &mngr); in main() 49 err = nl_cache_mngr_add(mngr, argv[i], &change_cb, NULL, &cache); in main() 56 int err = nl_cache_mngr_poll(mngr, 1000); in main() 60 nl_cache_mngr_info(mngr, &dp); in main() 63 nl_cache_mngr_free(mngr); in main()
|
D | test-nf-cache-mngr.c | 26 struct nl_cache_mngr *mngr; in main() local 33 err = nl_cache_mngr_alloc(sock, NETLINK_NETFILTER, NL_AUTO_PROVIDE, &mngr); in main() 39 err = nl_cache_mngr_add(mngr, "netfilter/ct", &change_cb, NULL, &ct); in main() 46 int err = nl_cache_mngr_poll(mngr, 5000); in main() 54 nl_cache_mngr_free(mngr); in main()
|
D | .gitignore | 6 /test-cache-mngr 20 /test-nf-cache-mngr
|
/external/libnl/python/netlink/ |
D | capi.i | 314 struct nl_cache_mngr *mngr; in alloc_cache_mngr() local 316 if (nl_cache_mngr_alloc(sock, protocol, flags, &mngr) < 0) in alloc_cache_mngr() 319 return mngr; in alloc_cache_mngr() 322 struct nl_cache *cache_mngr_add(struct nl_cache_mngr *mngr, in cache_mngr_add() argument 328 if (nl_cache_mngr_add(mngr, name, func, arg, &cache) < 0) in cache_mngr_add()
|
/external/libnl/include/netlink/ |
D | cache.h | 152 extern int nl_cache_mngr_add_cache(struct nl_cache_mngr *mngr,
|
/external/libnl/doc/ |
D | core.txt | 2708 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);
|