Searched refs:rtree (Results 1 - 9 of 9) sorted by relevance

/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_mdns.h119 #define PICO_MDNS_RTREE_DESTROY(rtree) \
120 pico_tree_destroy((rtree), pico_mdns_record_delete)
145 * @param rtree mDNS record tree with records to claim
H A Dpico_dns_sd.c399 PICO_MDNS_RTREE_DECLARE(rtree);
432 if (pico_tree_insert(&rtree, txt_record) == &LEAF) {
433 PICO_MDNS_RTREE_DESTROY(&rtree);
440 if (pico_tree_insert(&rtree, srv_record) == &LEAF) {
441 PICO_MDNS_RTREE_DESTROY(&rtree);
446 if (pico_mdns_claim(rtree, callback, arg)) {
447 PICO_MDNS_RTREE_DESTROY(&rtree);
452 pico_tree_destroy(&rtree, NULL);
H A Dpico_mdns.c47 #define PICO_MDNS_CTREE_DESTROY(rtree) \
48 pico_tree_destroy((rtree), pico_mdns_cookie_delete);
1399 * @param rtree Tree with mDNS records that are registered.
1404 pico_mdns_my_records_claimed( pico_mdns_rtree rtree, argument
1416 pico_tree_foreach(node, &rtree) {
2125 PICO_MDNS_RTREE_DECLARE(rtree);
2144 rtree = pico_mdns_handle_single_question(&question, packet);
2145 pico_tree_merge(&antree, &rtree);
2146 pico_tree_destroy(&rtree, NULL);
2275 pico_mdns_nsec_highest_type( pico_mdns_rtree *rtree )
2646 pico_mdns_apply_k_a_s( pico_mdns_rtree *rtree, pico_dns_packet *packet, uint16_t ancount, uint8_t **data ) argument
3422 pico_mdns_claim_generic( pico_mdns_rtree rtree, uint8_t reclaim, void (*callback)(pico_mdns_rtree *, char *, void *), void *arg ) argument
3464 pico_mdns_claim( pico_mdns_rtree rtree, void (*callback)(pico_mdns_rtree *, char *, void *), void *arg ) argument
3482 pico_mdns_reclaim( pico_mdns_rtree rtree, void (*callback)(pico_mdns_rtree *, char *, void *), void *arg ) argument
[all...]
H A Dpico_dns_common.h470 #define PICO_DNS_RTREE_DESTROY(rtree) \
471 pico_tree_destroy((rtree), pico_dns_record_delete)
H A Dpico_dns_common.c1343 * @param rtree Tree that contains the DNS resource records.
1349 pico_dns_fill_packet_rr_section( struct pico_tree *rtree, argument
1355 pico_tree_foreach(node, rtree) {
/seL4-camkes-master/projects/picotcp/test/examples/
H A Dmdns.c15 void mdns_init_callback( pico_mdns_rtree *rtree, argument
/seL4-camkes-master/projects/picotcp/test/unit/
H A Dmodunit_pico_mdns.c1239 PICO_MDNS_RTREE_DECLARE(rtree);
1275 pico_tree_insert(&rtree, record);
1276 pico_tree_insert(&rtree, record1);
1277 pico_tree_insert(&rtree, record2);
1278 pico_tree_insert(&rtree, record3);
1280 pico_mdns_my_records_add(&rtree, 0);
1378 PICO_MDNS_RTREE_DECLARE(rtree);
1419 pico_tree_insert(&rtree, record);
1420 pico_tree_insert(&rtree, record1);
1421 pico_tree_insert(&rtree, record
[all...]
H A Dmodunit_pico_dns_common.c246 PICO_DNS_RTREE_DECLARE(rtree);
266 pico_tree_insert(&rtree, a);
267 pico_tree_insert(&rtree, b);
269 PICO_DNS_RTREE_DESTROY(&rtree);
270 fail_unless(pico_tree_count(&rtree) == 0,
938 PICO_DNS_RTREE_DECLARE(rtree);
979 pico_tree_insert(&rtree, a);
980 pico_tree_insert(&rtree, b);
983 packet = pico_dns_answer_create(&rtree, NULL, NULL, &len);
/seL4-camkes-master/projects/picotcp/docs/user_manual/
H A Dchap_api_mdns.tex114 \item \texttt{record$\_$tree} - mDNS record-tree with records to register on the network via Multicast DNS. Can contain \textbf{\emph{unique records}} as well as \textbf{\emph{shared records}}. Declare a mDNS record-tree with the macro 'PICO$\_$MDNS$\_$RTREE$\_$DECLARE(name)', which is actually just a pico$\_$tree-struct, with a comparing-function already set. Records can be added with the preprocessor macro 'PICO$\_$MDNS$\_$RTREE$\_$ADD(pico$\_$mdns$\_$rtree *, struct pico$\_$mdns$\_$record *)'. To create mDNS records see 'pico$\_$mdns$\_$record$\_$create'.
131 PICO_MDNS_RTREE_DECLARE(rtree);
132 PICO_MDNS_RTREE_ADD(&rtree, &record);
133 int ret = pico_mdns_claim(rtree, &claimed_cb, NULL);
153 \item \texttt{callback} - Callback to call when records are found or answers to the query are received. This functions can get called multiple times when multiple answers are possible (e.g. with shared records). It's up to the application to aggregate all these received answers, this is possible with a static variable of the type pico$\_$mdns$\_$rtree.

Completed in 173 milliseconds