Lines Matching defs:route_state
333 icmp_message(route_state_t *route_state, uint8_t *icmp_buf, unsigned length, int ifindex, int hop_limit, addr_t *src, addr_t *dest)
347 for (interface = route_state->interfaces; interface; interface = interface->next) {
356 message->route_state = route_state;
463 for (route_state_t *route_state = route_states; route_state != NULL; route_state = route_state->next) {
464 icmp_message(route_state, icmp_buf, (unsigned)rv, ifindex, hop_limit, &src, &dest); // rv will never be > sizeof(icmp_buf)
568 route_state_t *route_state = interface->route_state;
605 if (!strcmp(interface->name, route_state->thread_interface_name)) {
628 if (interface->our_prefix_advertised && !interface->suppress_ipv6_prefix && route_state->have_xpanid_prefix) {
657 for (ifroute = route_state->interfaces; ifroute; ifroute = ifroute->next) {
661 if (want_routing(route_state) &&
672 strcmp(interface->name, route_state->thread_interface_name)
685 if (route_state->omr_watcher != NULL) {
686 omr_prefix_t *thread_prefixes = omr_watcher_prefixes_get(route_state->omr_watcher);
690 route_information_to_wire(&towire, &prefix->prefix, route_state->thread_interface_name, interface->name);
701 dns_rdata_raw_data_to_wire(&towire, &route_state->srp_server->ula_prefix, 16); // /48 requires 16 bytes