Lines Matching refs:next

172         s = s->next;  in _mdns_get_service_item()
187 host = host->next; in mdns_get_host_item()
198 s = s->next; in _mdns_can_add_more_services()
277 s = s->next; in _mdns_get_service_item_instance()
741 txt = txt->next; in _mdns_append_txt_record()
1029 addr = addr->next; in _mdns_append_host_answer()
1144 q = q->next; in _mdns_dispatch_tx_packet()
1152 a = a->next; in _mdns_dispatch_tx_packet()
1160 a = a->next; in _mdns_dispatch_tx_packet()
1168 a = a->next; in _mdns_dispatch_tx_packet()
1197 mdns_out_question_t * next = q->next; in _mdns_free_tx_packet() local
1205 q = next; in _mdns_free_tx_packet()
1225 packet->next = NULL; in _mdns_schedule_tx_packet()
1227 packet->next = _mdns_server->tx_queue_head; in _mdns_schedule_tx_packet()
1232 while (q->next && q->next->send_at <= packet->send_at) { in _mdns_schedule_tx_packet()
1233 q = q->next; in _mdns_schedule_tx_packet()
1235 packet->next = q->next; in _mdns_schedule_tx_packet()
1236 q->next = packet; in _mdns_schedule_tx_packet()
1247 _mdns_server->tx_queue_head = _mdns_server->tx_queue_head->next; in _mdns_clear_tx_queue_head()
1263 _mdns_server->tx_queue_head = _mdns_server->tx_queue_head->next; in _mdns_clear_pcb_tx_queue_head()
1268 while (q->next) { in _mdns_clear_pcb_tx_queue_head()
1269 if (q->next->tcpip_if == tcpip_if && q->next->ip_protocol == ip_protocol) { in _mdns_clear_pcb_tx_queue_head()
1270 p = q->next; in _mdns_clear_pcb_tx_queue_head()
1271 q->next = p->next; in _mdns_clear_pcb_tx_queue_head()
1274 q = q->next; in _mdns_clear_pcb_tx_queue_head()
1293 q = q->next; in _mdns_get_next_pcb_packet()
1312 q->answers = q->answers->next; in _mdns_remove_scheduled_answer()
1315 while (a->next) { in _mdns_remove_scheduled_answer()
1316 if (a->next->type == type && a->next->service == service->service) { in _mdns_remove_scheduled_answer()
1317 mdns_out_answer_t * b = a->next; in _mdns_remove_scheduled_answer()
1318 a->next = b->next; in _mdns_remove_scheduled_answer()
1322 a = a->next; in _mdns_remove_scheduled_answer()
1326 q = q->next; in _mdns_remove_scheduled_answer()
1344 *destination = d->next; in _mdns_dealloc_answer()
1348 while (d->next) { in _mdns_dealloc_answer()
1349 mdns_out_answer_t * a = d->next; in _mdns_dealloc_answer()
1351 d->next = a->next; in _mdns_dealloc_answer()
1355 d = d->next; in _mdns_dealloc_answer()
1370 d = d->next; in _mdns_alloc_answer()
1384 a->next = NULL; in _mdns_alloc_answer()
1496 service = service->next; in _mdns_create_answer_from_parsed_packet()
1532 out_question->next = NULL; in _mdns_create_answer_from_parsed_packet()
1540 q = q->next; in _mdns_create_answer_from_parsed_packet()
1569 haystack = haystack->next; in _mdns_question_exists()
1614 host = host->next; in _mdns_append_host_list()
1629 q->next = NULL; in _mdns_append_host_question()
1678 q->next = NULL; in _mdns_create_probe_packet()
1774 s = s->next; in _mdns_create_announce_from_probe()
1908 a = a->next; in _mdns_restart_pcb()
1915 a = a->next; in _mdns_restart_pcb()
2027 a = a->next; in _mdns_send_final_bye()
2037 a = a->next; in _mdns_send_final_bye()
2053 a = a->next; in _mdns_send_bye_all_pcbs_no_instance()
2065 a = a->next; in _mdns_send_bye_all_pcbs_no_instance()
2081 a = a->next; in _mdns_restart_all_pcbs_no_instance()
2093 a = a->next; in _mdns_restart_all_pcbs_no_instance()
2108 a = a->next; in _mdns_restart_all_pcbs()
2115 a = a->next; in _mdns_restart_all_pcbs()
2153 new_item->next = new_txt; in _mdns_allocate_txt()
2164 txt = txt->next; in _mdns_free_linked_txt()
2240 *destination = d->next; in _mdns_dealloc_scheduled_service_answers()
2244 while (d && d->next) { in _mdns_dealloc_scheduled_service_answers()
2245 mdns_out_answer_t * a = d->next; in _mdns_dealloc_scheduled_service_answers()
2247 d->next = a->next; in _mdns_dealloc_scheduled_service_answers()
2250 d = d->next; in _mdns_dealloc_scheduled_service_answers()
2308 q->questions = q->questions->next; in _mdns_remove_scheduled_service_packets()
2310 } else while (qs->next) { in _mdns_remove_scheduled_service_packets()
2311 qsn = qs->next; in _mdns_remove_scheduled_service_packets()
2316 qs->next = qsn->next; in _mdns_remove_scheduled_service_packets()
2320 qs = qs->next; in _mdns_remove_scheduled_service_packets()
2333 q = q->next; in _mdns_remove_scheduled_service_packets()
2357 service->txt = service->txt->next; in _mdns_free_service()
2445 txt = txt->next; in _mdns_check_txt_collision()
2460 txt = txt->next; in _mdns_check_txt_collision()
2576 host = host->next; in _hostname_is_ours()
2594 host->next = _mdns_host_list; in _mdns_delegate_hostname_add()
2602 mdns_ip_addr_t * next = address_list->next; in free_address_list() local
2604 address_list = next; in free_address_list()
2619 addr->next = NULL; in copy_address_list()
2624 tail->next = addr; in copy_address_list()
2625 tail = tail->next; in copy_address_list()
2627 address_list = address_list->next; in copy_address_list()
2642 _mdns_server->services = srv->next; in _mdns_delegate_hostname_remove()
2643 srv = srv->next; in _mdns_delegate_hostname_remove()
2645 prev_srv->next = srv->next; in _mdns_delegate_hostname_remove()
2646 srv = srv->next; in _mdns_delegate_hostname_remove()
2652 srv = srv->next; in _mdns_delegate_hostname_remove()
2660 _mdns_host_list = host->next; in _mdns_delegate_hostname_remove()
2662 prev_host->next = host->next; in _mdns_delegate_hostname_remove()
2670 host = host->next; in _mdns_delegate_hostname_remove()
2852 parsed_packet->questions = q->next; in _mdns_remove_parsed_question()
2861 while (q->next) { in _mdns_remove_parsed_question()
2862 mdns_parsed_question_t * p = q->next; in _mdns_remove_parsed_question()
2864 q->next = p->next; in _mdns_remove_parsed_question()
2872 q = q->next; in _mdns_remove_parsed_question()
3123 question->next = parsed_packet->questions; in mdns_parse_packet()
3135 a = a->next; in mdns_parse_packet()
3151 question->next = parsed_packet->questions; in mdns_parse_packet()
3251 result = result->next; in mdns_parse_packet()
3348 result = result->next; in mdns_parse_packet()
3403 …search_result = _mdns_search_find_from(search_result->next, name, type, packet->tcpip_if, packet->… in mdns_parse_packet()
3453 …search_result = _mdns_search_find_from(search_result->next, name, type, packet->tcpip_if, packet->… in mdns_parse_packet()
3509 parsed_packet->questions = parsed_packet->questions->next; in mdns_parse_packet()
3708 search->next = NULL; in _mdns_search_init()
3731 search->next = _mdns_server->search_once; in _mdns_search_add()
3744 search = search->next; in _mdns_search_finish_done()
3791 a = a->next; in _mdns_result_add_ip()
3797 a->next = r->addr; in _mdns_result_add_ip()
3820 r = r->next; in _mdns_search_result_add_ip()
3836 a->next = r->addr; in _mdns_search_result_add_ip()
3841 r->next = search->result; in _mdns_search_result_add_ip()
3854 r = r->next; in _mdns_search_result_add_ip()
3872 r = r->next; in _mdns_search_result_add_ptr()
3893 r->next = search->result; in _mdns_search_result_add_ptr()
3913 r = r->next; in _mdns_search_result_add_srv()
3937 r->next = search->result; in _mdns_search_result_add_srv()
3962 r = r->next; in _mdns_search_result_add_txt()
3978 r->next = search->result; in _mdns_search_result_add_txt()
4000 s = s->next; in _mdns_search_find_from()
4008 s = s->next; in _mdns_search_find_from()
4015 s = s->next; in _mdns_search_find_from()
4023 r = r->next; in _mdns_search_find_from()
4025 s = s->next; in _mdns_search_find_from()
4033 s = s->next; in _mdns_search_find_from()
4039 s = s->next; in _mdns_search_find_from()
4046 s = s->next; in _mdns_search_find_from()
4056 s = s->next; in _mdns_search_find_from()
4079 q->next = NULL; in _mdns_create_search_packet()
4094 r = r->next; in _mdns_create_search_packet()
4110 a->next = NULL; in _mdns_create_search_packet()
4112 r = r->next; in _mdns_create_search_packet()
4148 queue = queue->next; in _mdns_search_send()
4182 q = q->next; in _mdns_tx_handle_packet()
4230 service = service->next; in _mdns_remap_self_service_hostname()
4322 action->data.srv_add.service->next = _mdns_server->services; in _mdns_execute_action()
4362 txt = txt->next; in _mdns_execute_action()
4374 txt->next = service->txt; in _mdns_execute_action()
4389 service->txt = txt->next; in _mdns_execute_action()
4394 while (txt->next) { in _mdns_execute_action()
4395 if (strcmp(txt->next->key, key) == 0) { in _mdns_execute_action()
4396 t = txt->next; in _mdns_execute_action()
4397 txt->next = t->next; in _mdns_execute_action()
4403 txt = txt->next; in _mdns_execute_action()
4416 _mdns_server->services = a->next; in _mdns_execute_action()
4422 while (a->next && a->next != action->data.srv_del.service) { in _mdns_execute_action()
4423 a = a->next; in _mdns_execute_action()
4425 if (a->next == action->data.srv_del.service) { in _mdns_execute_action()
4426 mdns_srv_item_t * b = a->next; in _mdns_execute_action()
4427 a->next = a->next->next; in _mdns_execute_action()
4443 a = a->next; in _mdns_execute_action()
4465 _mdns_server->tx_queue_head = p->next; in _mdns_execute_action()
4527 p = p->next; in _mdns_scheduler_run()
4578 s = s->next; in _mdns_search_run()
4852 _mdns_server->search_once = h->next; in mdns_free()
5028 item->next = NULL; in mdns_service_add_for_host()
5393 r->addr = r->addr->next; in mdns_query_results_free()
5397 results = results->next; in mdns_query_results_free()
5537 a = a->next; in mdns_query_a()
5575 a = a->next; in mdns_query_aaaa()