Home
last modified time | relevance | path

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

/external/libnl/lib/
Dcache_mngr.c77 struct nl_cache_mngr *mngr = arg; in event_input() local
87 mngr, msg); in event_input()
93 if (mngr->cm_protocol != protocol) in event_input()
96 for (i = 0; i < mngr->cm_nassocs; i++) { in event_input()
97 if (mngr->cm_assocs[i].ca_cache) { in event_input()
98 ops = mngr->cm_assocs[i].ca_cache->c_ops; in event_input()
109 msg, mngr->cm_assocs[i].ca_cache); in event_input()
110 p.pp_arg = &mngr->cm_assocs[i]; in event_input()
146 struct nl_cache_mngr *mngr; in nl_cache_mngr_alloc() local
153 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()
D.gitignore6 /test-cache-mngr
30 /test-nf-cache-mngr
/external/libnl/include/netlink/
Dcache.h160 extern int nl_cache_mngr_add_cache(struct nl_cache_mngr *mngr,
163 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/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);