Searched refs:service_info (Results 1 – 2 of 2) sorted by relevance
27 ServiceInfo service_info; in DnsSdInstanceEndpointToServiceInfo() local31 service_info.service_name = endpoint.service_id(); in DnsSdInstanceEndpointToServiceInfo()32 service_info.instance_name = endpoint.instance_id(); in DnsSdInstanceEndpointToServiceInfo()41 service_info.port = endpoint.port(); in DnsSdInstanceEndpointToServiceInfo()43 if (!service_info.v4_address && address.IsV4()) { in DnsSdInstanceEndpointToServiceInfo()44 service_info.v4_address = address; in DnsSdInstanceEndpointToServiceInfo()45 } else if (!service_info.v6_address && address.IsV6()) { in DnsSdInstanceEndpointToServiceInfo()46 service_info.v6_address = address; in DnsSdInstanceEndpointToServiceInfo()49 CHECK(service_info.v4_address || service_info.v6_address); in DnsSdInstanceEndpointToServiceInfo()50 return service_info; in DnsSdInstanceEndpointToServiceInfo()
693 service_info = ServiceInfo(698 with zeroconf_register_service(zc, service_info) as info:767 service_info = ServiceInfo(772 with zeroconf_register_service(zc, service_info) as info: