/macosx-10.10.1/postfix-255/postfix/src/master/ |
H A D | master_service.c | 9 /* void master_start_service(serv) 10 /* MASTER_SERV *serv; 12 /* void master_stop_service(serv) 13 /* MASTER_SERV *serv; 15 /* void master_restart_service(serv, conf_reload) 16 /* MASTER_SERV *serv; 64 void master_start_service(MASTER_SERV *serv) argument 71 master_listen_init(serv); 72 master_avail_listen(serv); 73 master_status_init(serv); 79 master_stop_service(MASTER_SERV *serv) argument 93 master_restart_service(MASTER_SERV *serv, int conf_reload) argument [all...] |
H A D | master_avail.c | 9 /* void master_avail_listen(serv) 10 /* MASTER_SERV *serv; 12 /* void master_avail_cleanup(serv) 13 /* MASTER_SERV *serv; 15 /* void master_avail_more(serv, proc) 16 /* MASTER_SERV *serv; 19 /* void master_avail_less(serv, proc) 20 /* MASTER_SERV *serv; 88 MASTER_SERV *serv = (MASTER_SERV *) context; local 103 * This is not the right place to update serv 124 master_avail_listen(MASTER_SERV *serv) argument 183 master_avail_cleanup(MASTER_SERV *serv) argument 205 master_avail_more(MASTER_SERV *serv, MASTER_PROC *proc) argument 230 master_avail_less(MASTER_SERV *serv, MASTER_PROC *proc) argument [all...] |
H A D | master_conf.c | 9 /* void master_config(serv) 10 /* MASTER_SERV *serv; 12 /* void master_refresh(serv) 13 /* MASTER_SERV *serv; 54 MASTER_SERV *serv; local 60 for (serv = master_head; serv != 0; serv = serv->next) 61 serv 90 MASTER_SERV *serv; local [all...] |
H A D | master_wakeup.c | 9 /* void master_wakeup_init(serv) 10 /* MASTER_SERV *serv; 12 /* void master_wakeup_cleanup(serv) 13 /* MASTER_SERV *serv; 80 MASTER_SERV *serv = (MASTER_SERV *) context; local 88 if (serv->wakeup_time == 0) 97 if (MASTER_THROTTLED(serv) == 0) { 99 msg_info("%s: service %s", myname, serv->name); 101 switch (serv->type) { 103 status = inet_trigger(serv 155 master_wakeup_init(MASTER_SERV *serv) argument 169 master_wakeup_cleanup(MASTER_SERV *serv) argument [all...] |
H A D | master_spawn.c | 9 /* void master_spawn(serv) 10 /* MASTER_SERV *serv; 14 /* void master_delete_children(serv) 15 /* MASTER_SERV *serv; 83 static void master_unthrottle(MASTER_SERV *serv); 89 MASTER_SERV *serv = (MASTER_SERV *) ptr; local 95 master_unthrottle(serv); 100 static void master_unthrottle(MASTER_SERV *serv) argument 108 if ((serv->flags & MASTER_FLAG_THROTTLE) != 0) { 109 serv 119 master_throttle(MASTER_SERV *serv) argument 139 master_spawn(MASTER_SERV *serv) argument 268 MASTER_SERV *serv; local 290 MASTER_SERV *serv; local 333 master_delete_children(MASTER_SERV *serv) argument [all...] |
H A D | master_ent.c | 247 MASTER_SERV *serv; local 306 serv = (MASTER_SERV *) mymalloc(sizeof(MASTER_SERV)); 307 serv->next = 0; 312 serv->flags = 0; 317 serv->busy_warn_time = 0; 322 serv->ext_name = mystrdup(name); 332 serv->ext_name, VAR_INET_INTERFACES); 336 serv->type = MASTER_SERV_TYPE_INET; 343 serv->flags |= MASTER_FLAG_INETHOST;/* host:port */ 344 MASTER_INET_ADDRLIST(serv) 568 print_master_ent(MASTER_SERV *serv) argument 600 free_master_ent(MASTER_SERV *serv) argument [all...] |
H A D | master_status.c | 9 /* void master_status_init(serv) 10 /* MASTER_SERV *serv; 12 /* void master_status_cleanup(serv) 13 /* MASTER_SERV *serv; 63 MASTER_SERV *serv = (MASTER_SERV *) context; local 81 switch (n = read(serv->status_fd[0], (char *) &stat, sizeof(stat))) { 93 serv->ext_name, serv->name, stat.pid, n); 121 if (proc->serv != serv) 150 master_status_init(MASTER_SERV *serv) argument 177 master_status_cleanup(MASTER_SERV *serv) argument [all...] |
H A D | master_listen.c | 9 /* void master_listen_init(serv) 10 /* MASTER_SERV *serv; 12 /* void master_listen_cleanup(serv) 13 /* MASTER_SERV *serv; 72 void master_listen_init(MASTER_SERV *serv) argument 86 switch (serv->type) { 93 serv->listen_fd[0] = 94 LOCAL_LISTEN(serv->name, serv->max_proc > var_proc_limit ? 95 serv 152 master_listen_cleanup(MASTER_SERV *serv) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/SecurityTests/ |
H A D | StopTLSServers.sh | 12 killall gnutls-serv
|
H A D | PostSecurityTests.sh | 14 killall gnutls-serv
|
/macosx-10.10.1/ppp-786.1.1/Controller/ |
H A D | ppp_manager.h | 32 int ppp_new_service(struct service *serv); 33 int ppp_dispose_service(struct service *serv); 34 int ppp_setup_service(struct service *serv); 36 int ppp_start(struct service *serv, CFDictionaryRef options, uid_t uid, gid_t gid, mach_port_t bootstrap, mach_port_t au_session, u_int8_t onTraffic, u_int8_t onDemand); 37 int ppp_stop(struct service *serv, int signal); 38 int ppp_suspend(struct service *serv); 39 int ppp_resume(struct service *serv); 40 SCNetworkConnectionStatus ppp_getstatus(struct service *serv); 41 int ppp_getstatus1(struct service *serv, void **reply, u_int16_t *replylen); 42 int ppp_copyextendedstatus(struct service *serv, CFDictionaryRe [all...] |
H A D | reachability.h | 10 typedef void (^ReachabilityChangedBlock)(struct service *serv); variable in typeref:struct:service 13 void reachability_clear(struct service *serv); 14 void reachability_reset(struct service *serv);
|
H A D | sessionTracer.c | 48 sessionGetConnectionDomain (struct service *serv) argument 50 switch (serv->type) { 52 switch (serv->subtype) { 73 sessionGetConnectionLessDomain (struct service *serv) argument 75 switch (serv->type) { 77 switch (serv->subtype) { 98 sessionCheckStatusForFailure (struct service *serv) argument 100 switch (serv->type) { 102 return (!(serv->u.ppp.laststatus == EXIT_OK || 103 serv 116 sessionGetReasonString(struct service *serv, char *reason_buf, int reason_bufsize) argument 172 sessionCheckIfEstablished(struct service *serv) argument 185 sessionIsEstablished(struct service *serv) argument 198 sessionGetConnectionDuration(struct service *serv) argument 281 sessionTracerStop(struct service *serv) argument 301 sessionTracerLogEstablished(struct service *serv) argument [all...] |
H A D | flow_divert_controller.h | 11 void flow_divert_init(struct service *serv, int index); 12 void flow_divert_dispose(struct service *serv, int index); 13 CFDictionaryRef flow_divert_copy_token_parameters(struct service *serv); 14 CFNumberRef flow_divert_copy_service_identifier(struct service *serv);
|
H A D | nat_port_mapping.c | 76 startProbe (struct service *serv) argument 78 if (serv->type == TYPE_IPSEC) { 79 racoon_send_cmd_start_dpd(serv->u.ipsec.controlfd, 80 serv->u.ipsec.peer_address.sin_addr.s_addr); 81 serv->u.ipsec.awaiting_peer_resp = 1; 86 getPortMappingType (struct service *serv) argument 88 if (serv) { 89 switch (serv->type) { 98 isServiceConnected (struct service *serv) argument 100 switch (serv 107 getInterfaceName(struct service *serv) argument 118 getInterfaceNameSize(struct service *serv) argument 129 getInterfaceIndex(struct service *serv) argument 151 ignorePortMappingUpdate(DNSServiceRef sdRef, struct service *serv, char *sd_name, char *if_name, uint32_t if_name_siz, uint32_t interfaceIndex, uint32_t publicAddress, DNSServiceProtocol protocol, uint16_t privatePort, uint16_t publicPort) argument 276 stop_public_nat_port_mapping_timer(struct service *serv) argument 289 struct service *serv = info; local 299 start_public_nat_port_mapping_timer(struct service *serv) argument 337 struct service *serv = (__typeof__(serv))context; local 509 clearPortMapping(struct service *serv) argument 529 setPortMapping(struct service *serv, mdns_nat_mapping_t *mapping, uint32_t interfaceIndex, DNSServiceProtocol protocol, uint16_t privatePort, int probeOnly) argument 592 ipsecSetPortMapping(struct service *serv) argument 616 nat_port_mapping_set(struct service *serv) argument 642 nat_port_mapping_clear(struct service *serv) argument [all...] |
H A D | ppp_manager.c | 97 static void display_error(struct service *serv); 100 static int send_pppd_params(struct service *serv, CFDictionaryRef service, CFDictionaryRef options, u_int8_t onTraffic); 101 static int change_pppd_params(struct service *serv, CFDictionaryRef service, CFDictionaryRef options); 103 static void setup_PPPoE(struct service *serv); 104 static void dispose_PPPoE(struct service *serv); 135 int ppp_new_service(struct service *serv) argument 140 // scnc_log(LOG_INFO, CFSTR("ppp_new_service, subtype = %%@, serviceID = %@."), serv->subtypeRef, serv->serviceID); 142 serv->u.ppp.ndrv_socket = -1; 143 serv 170 ppp_dispose_service(struct service *serv) argument 186 ppp_user_notification_callback(struct service *serv, CFUserNotificationRef userNotification, CFOptionFlags responseFlags) argument 194 display_error(struct service *serv) argument 299 setup_PPPoE(struct service *serv) argument 349 dispose_PPPoE(struct service *serv) argument 364 ppp_setup_service(struct service *serv) argument 502 ppp_can_sleep(struct service *serv) argument 516 ppp_will_sleep(struct service *serv, int checking) argument 536 ppp_ipv4_state_changed(struct service *serv) argument 544 ppp_wake_up(struct service *serv) argument 565 ppp_log_out(struct service *serv) argument 577 ppp_log_in(struct service *serv) argument 590 ppp_log_switch(struct service *serv) argument 615 ppp_ondemand_add_service_data(struct service *serv, CFMutableDictionaryRef ondemand_dict) argument 727 send_pppd_params(struct service *serv, CFDictionaryRef service, CFDictionaryRef options, u_int8_t onTraffic) argument 1468 change_pppd_params(struct service *serv, CFDictionaryRef service, CFDictionaryRef options) argument 1504 ppp_install(struct service *serv) argument 1514 ppp_uninstall(struct service *serv) argument 1526 ppp_start(struct service *serv, CFDictionaryRef options, uid_t uid, gid_t gid, mach_port_t bootstrap, mach_port_t au_session, u_int8_t onTraffic, u_int8_t onDemand) argument 1703 struct service *serv = findbyref(TYPE_PPP, (u_int32_t)(uintptr_t)arg); local 1764 ppp_persist_connection_exec_callback(struct service *serv, int exitcode) argument 1809 struct service *serv = findbyref(TYPE_PPP, (u_int32_t)(uintptr_t)context); local 1898 ppp_stop(struct service *serv, int signal) argument 1959 ppp_suspend(struct service *serv) argument 1970 ppp_resume(struct service *serv) argument 1983 ppp_check_status_for_disconnect_by_recoverable_error(struct service *serv, int status, int devstatus) argument 2014 ppp_updatestatus(struct service *serv, int status, int devstatus) argument 2030 ppp_check_phase_for_disconnect_by_recoverable_error(struct service *serv, int phase) argument 2068 ppp_disconnect_if_location_changed(struct service *serv, int phase) argument 2084 ppp_updatephase(struct service *serv, int phase, int ifunit) argument 2148 ppp_is_pid(struct service *serv, int pid) argument 2155 ppp_getstatus(struct service *serv) argument 2190 ppp_getstatus1(struct service *serv, void **reply, u_int16_t *replylen) argument 2279 ppp_copyextendedstatus(struct service *serv, CFDictionaryRef *statusdict) argument 2377 ppp_copystatistics(struct service *serv, CFDictionaryRef *statsdict) argument 2438 ppp_getconnectsystemdata(struct service *serv, void **reply, u_int16_t *replylen) argument 2478 ppp_getconnectdata(struct service *serv, CFDictionaryRef *options, int all) argument [all...] |
H A D | scnc_main.c | 124 static int dispose_service(struct service *serv); 126 static int ondemand_remove_service(struct service *serv); 128 static int add_client(struct service *serv, void *client, int autoclose); 129 static int remove_client(struct service *serv, void *client); 130 static struct service_client *get_client(struct service *serv, void *client); 131 static int remove_all_clients(struct service *serv); 207 struct service *serv; local 211 TAILQ_FOREACH(serv, &service_head, next) { 212 scnc_stop(serv, 0, SIGTERM, SCNC_STOP_TERM_ALL); 295 struct service *serv; local 323 allow_dispose(struct service *serv) argument 505 ^(struct service *serv) { struct 848 struct service *serv = NULL; local 1095 struct service *serv; local 1120 struct service *serv; local 1141 struct service *serv; local 1196 struct service *serv; local 1208 service_started(struct service *serv) argument 1227 service_ending_verify_primaryservice(struct service *serv) argument 1263 service_ended(struct service *serv) argument 1299 struct service *serv; local 1315 struct service *serv; local 1332 struct service *serv; local 1351 struct service *serv; local 1394 struct service *serv; local 1446 struct service *serv = 0; local 1518 dispose_service(struct service *serv) argument 1592 struct service *serv; local 1614 struct service *serv; local 1658 struct service *serv; local 1730 struct service *serv; local 1746 struct service *serv; local 1758 struct service *serv; local 1777 struct service *serv; local 1788 makeref(struct service *serv) argument 1801 struct service *serv; local 1818 struct service *serv = TAILQ_FIRST(&service_head); local 1842 struct service *serv; local 1863 phase_changed(struct service *serv, int phase) argument 1878 start_profile_janitor(struct service *serv) argument 1943 struct service *serv; local 2023 ondemand_publish_dns_triggering_dicts(struct service *serv) argument 2034 ondemand_unpublish_dns_triggering_dicts(struct service *serv) argument 2072 ondemand_add_service(struct service *serv, Boolean update_configuration) argument 2333 ondemand_remove_service(struct service *serv) argument 2418 disable_ondemand(struct service *serv) argument 2434 cellular_event(struct service *serv, int event) argument 2444 struct service *serv = info; local 2453 struct service *serv = (struct service *)info; local 2494 bringup_cellular(struct service *serv) argument 2595 add_client(struct service *serv, void *client, int autoclose) argument 2612 remove_client(struct service *serv, void *client) argument 2630 get_client(struct service *serv, void *client) argument 2644 remove_all_clients(struct service *serv) argument 2656 get_plugin_pid_str(struct service *serv, int pid, char *pid_buf, int pid_buf_len) argument 2674 log_scnc_stop(struct service *serv, pid_t pid, int scnc_reason) argument 2742 log_scnc_start(struct service *serv, int onDemand, CFStringRef onDemandHostName, int pid, int status, int trafficClass) argument 2781 get_metric_protocol(struct service *serv) argument 2806 log_vpn_metrics(struct service *serv) argument 2836 scnc_stop(struct service *serv, void *client, int signal, int scnc_reason) argument 2872 scnc_evaluate_traffic_class(struct service *serv, uint32_t trafficClass) argument 2891 scnc_bootstrap_dealloc(struct service *serv) argument 2899 scnc_bootstrap_retain(struct service *serv, mach_port_t bootstrap) argument 2910 scnc_ausession_dealloc(struct service *serv) argument 2918 scnc_ausession_retain(struct service *serv, mach_port_t au_session) argument 2931 scnc_start(struct service *serv, CFDictionaryRef options, void *client, int autoclose, uid_t uid, gid_t gid, int pid, mach_port_t bootstrap, mach_port_t au_session) argument 3067 scnc_suspend(struct service *serv) argument 3081 scnc_resume(struct service *serv) argument 3095 scnc_getstatus(struct service *serv) argument 3109 scnc_copyextendedstatus(struct service *serv, void **reply, u_int16_t *replylen) argument 3160 scnc_copystatistics(struct service *serv, void **reply, u_int16_t *replylen) argument 3211 scnc_getconnectdata(struct service *serv, void **reply, u_int16_t *replylen, int all) argument 3257 scnc_getconnectsystemdata(struct service *serv, void **reply, u_int16_t *replylen) argument 3270 scnc_getsleepwaketimeout(struct service *serv) argument 3278 scnc_idle_disconnect(struct service *serv) argument 3297 scnc_disconnectifoverslept(const char *function, struct service *serv, char *if_name) argument 3342 ondemand_set_pause(struct service *serv, uint32_t pauseFlag, Boolean update_store) argument 3392 struct service *serv = info; local 3405 set_ondemand_pause_timer(struct service *serv, uint32_t timeout, uint32_t pause_type, uint32_t pause_type_on_expire) argument 3449 clear_ondemand_pause_timer(struct service *serv) argument 3460 struct service *serv; local [all...] |
H A D | ipsec_manager.h | 79 int ipsec_new_service(struct service *serv); 80 int ipsec_dispose_service(struct service *serv); 81 int ipsec_setup_service(struct service *serv); 83 int ipsec_start(struct service *serv, CFDictionaryRef options, uid_t uid, gid_t gid, mach_port_t bootstrap, u_int8_t onTraffic, u_int8_t onDemand); 84 int ipsec_stop(struct service *serv, int signal); 85 int ipsec_getstatus(struct service *serv); 86 int ipsec_copyextendedstatus(struct service *serv, CFDictionaryRef *statusdict); 87 int ipsec_copystatistics(struct service *serv, CFDictionaryRef *statsdict); 88 int ipsec_getconnectdata(struct service *serv, CFDictionaryRef *options, int all); 90 int ipsec_install(struct service *serv); [all...] |
H A D | network_detection.h | 8 boolean_t check_network(struct service *serv); 10 int copy_trigger_info(struct service *serv, CFMutableDictionaryRef *ondemand_dict_cp, CFMutableArrayRef *trigger_array_cp, CFMutableDictionaryRef *trigger_dict_cp);
|
H A D | scnc_cache.h | 28 scnc_cache_init_service (struct service *serv); 32 scnc_cache_routing_table (struct service *serv, CFDictionaryRef serviceConfig, Boolean useOldKeys, Boolean doFullTunnel);
|
H A D | ipsec_manager.c | 151 static void ipsec_updatephase(struct service *serv, int phase); 152 static void display_notification(struct service *serv, CFStringRef message, int errnum, int dialog_type); 154 static int racoon_restart(struct service *serv, struct sockaddr_in *address); 155 static int racoon_resolve(struct service *serv); 156 static bool mode_config_is_default(struct service *serv); 157 static void install_mode_config(struct service *serv, Boolean installConfig, Boolean installPolicies); 158 static void uninstall_mode_config(struct service *serv, Boolean uninstallPolicies); 159 static int unassert_mode_config(struct service *serv); 160 static int ask_user_xauth(struct service *serv, char* message); 161 static boolean_t checkpassword(struct service *serv, in 255 ipsec_error_to_status(struct service *serv, int from, int ike_code) argument 414 ipsec_new_service(struct service *serv) argument 428 ipsec_dispose_service(struct service *serv) argument 441 ipsec_setup_service(struct service *serv) argument 545 ipsec_user_notification_callback(struct service *serv, CFUserNotificationRef userNotification, CFOptionFlags responseFlags) argument 630 checkpassword(struct service *serv, int must_prompt) argument 676 copy_decrypted_password(struct service *serv) argument 746 ask_user_xauth(struct service *serv, char* message) argument 901 process_xauth_need_info(struct service *serv) argument 1087 print_racoon_msg(struct service *serv) argument 1286 process_racoon_msg(struct service *serv) argument 1493 ipsec_install(struct service *serv) argument 1499 ipsec_uninstall(struct service *serv) argument 1508 ipsec_ondemand_add_service_data(struct service *serv, CFMutableDictionaryRef ondemand_dict) argument 1627 create_ipv4_route_array(struct service *serv, CFDictionaryRef ipsec_dict, struct in_addr gateway) argument 1701 uninstall_mode_config(struct service *serv, Boolean uninstallPolicies) argument 1748 format_routes_for_cache(struct service *serv, struct in_addr *included_address_gateway, int isdefault) argument 1812 mode_config_is_default(struct service *serv) argument 1850 install_mode_config(struct service *serv, Boolean installConfig, Boolean installPolicies) argument 2222 unassert_mode_config(struct service *serv) argument 2258 struct service *serv = info; local 2342 struct service *serv = info; local 2363 struct service *serv = info; local 2605 IPSecCheckVPNInterfaceAddressChange(int transport_down, struct kern_event_msg *ev_msg, char *interface_buf, struct in_addr *our_address, struct service *serv) argument 2662 ipsec_network_event(struct service *serv, struct kern_event_msg *ev_msg) argument 2811 struct service *serv = info; local 2823 racoon_create_socket(struct service *serv) argument 2882 struct service *serv = (struct service *)info; local 2904 struct service *serv = (struct service *)context; local 2987 dns_start_query(struct service *serv, char *name) argument 3439 racoon_send_cmd_assert(struct service *serv) argument 3479 racoon_restart(struct service *serv, struct sockaddr_in *address) argument 3786 ipsec_cellular_event(struct service *serv, int event) argument 3803 racoon_resolve(struct service *serv) argument 3832 ipsec_start(struct service *serv, CFDictionaryRef options, uid_t uid, gid_t gid, mach_port_t bootstrap, u_int8_t onTraffic, u_int8_t onDemand) argument 4007 ipsec_getstatus_hack_notify(struct service *serv) argument 4036 ipsec_updatephase(struct service *serv, int phase) argument 4054 ipsec_check_for_disconnect_by_recoverable_error(struct service *serv, u_int32_t *flags) argument 4073 ipsec_persist_connection(struct service *serv, u_int32_t flags) argument 4125 ipsec_stop(struct service *serv, int signal) argument 4313 ipsec_getstatus(struct service *serv) argument 4351 ipsec_copyextendedstatus(struct service *serv, CFDictionaryRef *statusdict) argument 4415 ipsec_getconnectdata(struct service *serv, CFDictionaryRef *options, int all) argument 4461 ipsec_copystatistics(struct service *serv, CFDictionaryRef *statsdict) argument 4500 ipsec_device_lock(struct service *serv) argument 4504 ipsec_device_unlock(struct service *serv) argument 4513 ipsec_log_out(struct service *serv) argument 4523 ipsec_log_in(struct service *serv) argument 4531 ipsec_log_switch(struct service *serv) argument 4547 ipsec_ipv4_state_changed(struct service *serv) argument 4555 ipsec_can_sleep(struct service *serv) argument 4570 ipsec_will_sleep(struct service *serv, int checking) argument 4582 ipsec_wake_up(struct service *serv) argument 4597 display_notification(struct service *serv, CFStringRef message, int errnum, int dialog_type) argument [all...] |
H A D | ppp_getoption.c | 72 u_long get_addr_option (struct service *serv, CFStringRef entity, CFStringRef property, argument 79 if (serv->u.ppp.phase != PPP_IDLE 80 && getAddressFromEntity(gDynamicStore, kSCDynamicStoreDomainState, serv->serviceID, 98 if (getAddressFromEntity(gDynamicStore, kSCDynamicStoreDomainSetup, serv->serviceID, 109 u_long get_int_option (struct service *serv, CFStringRef entity, CFStringRef property, argument 115 if (serv->u.ppp.phase != PPP_IDLE 116 && getNumberFromEntity(gDynamicStore, kSCDynamicStoreDomainState, serv->serviceID, 134 || (!setup && getNumberFromEntity(gDynamicStore, kSCDynamicStoreDomainSetup, serv->serviceID, 145 int get_str_option (struct service *serv, CFStringRef entity, CFStringRef property, argument 151 if (serv 213 ppp_getoptval(struct service *serv, CFDictionaryRef opts, CFDictionaryRef setup, u_int32_t otype, void *pdata, u_int32_t pdatasiz, u_int32_t *plen) argument [all...] |
H A D | reachability.c | 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) argument 69 if (serv->remote_address_reachability != NULL) { 70 reachability_target_dispose(serv->remote_address_reachability); 72 serv 78 reachability_reset(struct service *serv) argument [all...] |
H A D | network_detection.c | 28 static boolean_t ondemand_add_action(struct service *serv, CFStringRef action, CFPropertyListRef actionParameters); 29 static void ondemand_clear_action(struct service *serv); 30 static void dodisconnect(struct service *serv); 31 static int start_https_probe(struct service *serv, CFStringRef https_probe_server, CFArrayRef matcharray, CFIndex matcharray_index, 33 static void vpn_action( struct service *serv, CFStringRef match_action, CFPropertyListRef actionParameters); 34 static boolean_t resume_check_network(struct service *serv, CFArrayRef match_array, CFIndex match_array_offset, CFDictionaryRef primary_dns_dict, CFStringRef primary_dns_int, CFStringRef primary_interface_type); 47 struct service *serv; member in struct:probe 58 struct service *serv; member in struct:dns_redirect_context 62 service_is_valid (struct service *serv) argument 69 if (serv_check == serv) { 101 struct service *serv = context->serv; local 185 dns_redirect_detection_start(struct service *serv) argument 369 copy_trigger_info(struct service *serv, CFMutableDictionaryRef *ondemand_dict_cp, CFMutableArrayRef *trigger_array_cp, CFMutableDictionaryRef *trigger_dict_cp) argument 441 ondemand_add_action(struct service *serv, CFStringRef action, CFPropertyListRef actionParameters) argument 456 ondemand_clear_action(struct service *serv) argument 464 dodisconnect(struct service *serv) argument 473 ondemand_save_probe_result(struct service *serv, CFStringRef URL, Boolean succeeded) argument 485 ondemand_probe_already_sent(struct service *serv, CFStringRef URL) argument 494 ondemand_clear_probe_results(struct service *serv) argument 500 doEvaluateConnection(struct service *serv, CFArrayRef domainRules) argument 643 vpn_action(struct service *serv, CFStringRef match_action, CFPropertyListRef actionParameters) argument 709 struct service *serv; local 757 alloc_new_probe(struct service *serv, CFStringRef url_string, CFArrayRef matcharray, CFIndex matcharray_index, CFDictionaryRef primary_dns_dict, CFStringRef primary_interface_name, CFStringRef primary_interface_type) argument 783 start_https_probe(struct service *serv, CFStringRef https_probe_server, CFArrayRef matcharray, CFIndex matcharray_index, CFDictionaryRef primary_dns_dict, CFStringRef primary_interface_name, CFStringRef primary_interface_type) argument 823 resume_check_network(struct service *serv, CFArrayRef match_array, CFIndex match_array_offset, CFDictionaryRef primary_dns_dict, CFStringRef primary_interface_name, CFStringRef primary_interface_type) argument 947 check_network(struct service *serv) argument [all...] |
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CFNetwork-2.5.1/PyObjCTest/ |
H A D | test_cfnetservices.py | 53 serv = CFNetServiceCreate(None, b"pyobjc.local".decode('latin1'), b"ssh".decode('latin1'), b"pyobjc.test.local".decode('latin1'), 9999) 54 self.assertIsInstance(serv, CFNetServiceRef) 57 v = CFNetServiceCreateCopy(None, serv) 60 dom = CFNetServiceGetDomain(serv) 63 dom = CFNetServiceGetType(serv) 66 dom = CFNetServiceGetName(serv) 72 ok, err = CFNetServiceRegisterWithOptions(serv, kCFNetServiceFlagNoAutoRename, None) 81 ok, err = CFNetServiceResolveWithTimeout(serv, 1.0, None) 88 host = CFNetServiceGetTargetHost(serv) 91 port = CFNetServiceGetPortNumber(serv) [all...] |