Lines Matching refs:ipsec_conf
66 static CFMutableDictionaryRef ipsec_conf = NULL;
131 if (ipsec_conf) {
132 CFRelease(ipsec_conf);
133 ipsec_conf = NULL;
136 ipsec_conf = (CFMutableDictionaryRef)CFDictionaryGetValue(params->serverRef, kRASEntIPSec);
137 if (ipsec_conf == NULL) {
142 ipsec_conf = CFDictionaryCreateMutableCopy(NULL, 0, ipsec_conf);
145 string = CFDictionaryGetValue(ipsec_conf, kRASPropIPSecRemoteAddress);
182 CFDictionarySetValue(ipsec_conf, kRASPropIPSecRemoteAddress, string);
187 if (IPSecValidateConfiguration(ipsec_conf, &errstr)) {
196 if (ipsec_conf) {
197 CFRelease(ipsec_conf);
198 ipsec_conf = NULL;
262 err = IPSecApplyConfiguration(ipsec_conf, &errstr);
268 err = IPSecInstallPolicies(ipsec_conf, -1, &errstr);
271 IPSecRemoveConfiguration(ipsec_conf, &errstr);
295 err = IPSecRemoveConfiguration(ipsec_conf, &errstr);
298 err = IPSecRemovePolicies(ipsec_conf, -1, &errstr);