Lines Matching refs:serv
39 struct service *serv = findbyserviceID(service_id);
40 if (serv != NULL && serv->remote_address_reachability == target) {
41 serv->remote_address_reach_flags = flags;
42 serv->remote_address_reach_ifindex = reach_if_index;
43 g_cb_block(serv);
67 reachability_clear(struct service *serv)
69 if (serv->remote_address_reachability != NULL) {
70 reachability_target_dispose(serv->remote_address_reachability);
72 serv->remote_address_reachability = NULL;
73 serv->remote_address_reach_flags = 0;
74 serv->remote_address_reach_ifindex = -1;
78 reachability_reset(struct service *serv)
80 reachability_clear(serv);
82 CFStringRef remote_address = scnc_copy_remote_server(serv, NULL);
127 service_id = serv->serviceID;
140 struct service *serv = findbyserviceID(service_id);
142 if (serv != NULL) {
143 if (serv->remote_address_reachability != NULL) {
144 reachability_target_dispose(serv->remote_address_reachability);
145 serv->remote_address_reachability = NULL;
147 serv->remote_address_reachability = reach_ref;