| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| thread-service.h | 46 bool anycast_also_present; // True if the RLOC16 advertising this service is also advertising anycast 59 uint16_t rloc16; member in struct:thread_service 80 #define thread_service_unicast_create(rloc16, address, port, service_id) \ 81 thread_service_unicast_create_(rloc16, address, port, service_id, __FILE__, __LINE__) 82 thread_service_t *NULLABLE thread_service_unicast_create_(uint16_t rloc16, uint8_t *NONNULL address, 85 #define thread_service_anycast_create(rloc16, sequence_number, service_id) \ 86 thread_service_anycast_create_(rloc16, sequence_number, service_id, __FILE__, __LINE__) 87 thread_service_t *NULLABLE thread_service_anycast_create_(uint16_t rloc16, uint8_t sequence_number, 89 #define thread_service_pref_id_create(rloc16, partition_id, prefix, service_id) \ 90 thread_service_pref_id_create_(rloc16, partition_id, prefix, service_id, __FILE__, __LINE__ [all...] |
| thread-service.c | 94 thread_service_unicast_create_(uint16_t rloc16, uint8_t *address, uint8_t *port, uint8_t service_id, const char *file, int line) 102 service->rloc16 = rloc16; 111 thread_service_anycast_create_(uint16_t rloc16, uint8_t sequence_number, uint8_t service_id, const char *file, int line) 117 service->rloc16 = rloc16; 127 thread_service_pref_id_create_(uint16_t rloc16, uint8_t *partition_id, uint8_t *prefix, uint8_t service_id, const char *file, int line) 133 service->rloc16 = rloc16; 157 INFO(PUB_S_SRP " SRP service " PRI_SEGMENTED_IPv6_ADDR_SRP "%%%d, rloc16 %x " PUB_S_SRP, owner_id [all...] |
| thread-device.c | 58 thread_device_rloc16_callback(void *context, uint16_t rloc16, cti_status_t status) 63 ERROR("rloc16 get failed with status %d", status); 66 server_state->rloc16 = rloc16; 67 INFO("server_state->rloc16 updated to %d", server_state->rloc16); 133 // Before we can actually do anything, we need our RLOC16. 137 FAULT("can't get rloc16: %d", status);
|
| service-tracker.c | 68 uint16_t rloc16; member in struct:service_tracker 175 if (service->rloc16 == cti_service->rloc16 && 228 if (service->rloc16 == cti_service->rloc16 && 244 service = thread_service_unicast_create(cti_service->rloc16, cti_service->server, 249 service = thread_service_anycast_create(cti_service->rloc16, sequence_number, 254 service = thread_service_pref_id_create(cti_service->rloc16, cti_service->server, 283 // For unicast services, see if there's also an anycast service on the same RLOC16. 288 if (aservice->service_type == anycast_service && aservice->rloc16 == service->rloc16) [all...] |
| service-publisher.c | 619 return thread_service_unicast_create(service->rloc16, service->u.unicast.address.s6_addr, 622 return thread_service_anycast_create(service->rloc16, service->u.anycast.sequence_number, service->service_id); 624 return thread_service_pref_id_create(service->rloc16, service->u.pref_id.partition_id, 718 if (service->rloc16 == publisher->server_state->rloc16 || 723 "is on our ml-eid or rloc16 but we aren't publishing it, so it's stale."); 759 // This is a stale service published on our RLOC16 with a different ML-EID. 760 if (service->rloc16 == publisher->server_state->rloc16) { 762 "is a stale service published on our rloc16 with a different ml-eid.") [all...] |
| cti-services.h | 53 uint16_t rloc16; member in struct:_cti_service 349 cti_service_create_(uint64_t enterprise_number, uint16_t rloc16, uint16_t service_type, uint16_t service_version, 352 #define cti_service_create(enterprise_number, rloc16, service_type, service_version, service, service_length, \ 354 cti_service_create_(enterprise_number, rloc16, service_type, service_version, service, service_length, \ 1168 * Called when an error occurs during processing of the cti_get_rloc16 call, or when rloc16 1181 * rloc16: The rloc16 value(only valid if status is kCTIStatus_NoError). 1183 * status: Will be kCTIStatus_NoError if the rloc16 request is successful, or will indicate the failure 1187 (*cti_rloc16_reply_t)(void *NULLABLE context, uint16_t rloc16, cti_status_t status); 1191 * Requests wpantund to immediately send the rloc16 of the local device. Whenever the RLOC1 [all...] |
| route.c | 2313 route_rloc16_callback(void *context, uint16_t rloc16, cti_status_t status) 2320 route_state->srp_server->rloc16 = rloc16; 2322 INFO("server_state->rloc16 updated to %d", route_state->srp_server->rloc16); 2323 // whenever the local rloc16 is updated, we should re-evaluate if anycast 2498 INFO("discontinuing rloc16 events"); 3142 if ((service->user || (route_state->have_rloc16 && service->rloc16 == route_state->srp_server->rloc16)) && 3160 if (service->rloc16 == aservice->rloc16) [all...] |
| cti-services.c | 1313 cti_service_create_(uint64_t enterprise_number, uint16_t rloc16, uint16_t service_type, 1322 service->rloc16 = rloc16; 1387 uint16_t rloc16 = 0; local 1465 } else if (!strcmp(key, "RLOC16")) { 1470 rloc16 = (uint16_t)xpc_dictionary_get_uint64(array_sub_dict, "value"); 1510 service = cti_service_create(enterprise_number, rloc16, service_type, service_version, 2252 uint16_t rloc16 = 0; local 2258 // where e000 is the rloc16 that we want to extract 2262 rloc16 = (uint16_t)strtol(&rloc16_str[2], &endptr, 16) [all...] |
| dnssd-client.c | 541 service->u.anycast.address.s6_addr[14] = service->rloc16 >> 8; 542 service->u.anycast.address.s6_addr[15] = service->rloc16 & 255;
|
| srp-mdns-proxy.h | 123 uint16_t rloc16; member in struct:srp_server_state
|
| nat64.c | 682 nat64_prefix_t * new_prefix = nat64_prefix_create((struct in6_addr *)event->rdata, NAT64_PREFIX_SLASH_96_BYTES, nat64_preference_medium, state_machine->nat64->route_state->srp_server->rloc16); 1194 if (max_rloc == state_machine->nat64->route_state->srp_server->rloc16) { 1285 state_machine->br_prefix = nat64_prefix_create(&state_machine->nat64->route_state->srp_server->ula_prefix, NAT64_PREFIX_SLASH_96_BYTES, nat64_preference_low, state_machine->nat64->route_state->srp_server->rloc16); 1693 && route->rloc == route_state->srp_server->rloc16) {
|