1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2007 Apple Inc. All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 ERROR(kmDNSHelperCommunicationFailed
, "Mach communication failed")
19 ERROR(kmDNSHelperNotAuthorized
, "Not authorized")
20 ERROR(kmDNSHelperCreationFailed
, "Object creation failed")
21 ERROR(kmDNSHelperInvalidPList
, "Invalid property list")
22 ERROR(kmDNSHelperDynamicStoreFailed
, "Could not create dynamic store session")
23 ERROR(kmDNSHelperDynamicStoreSetFailed
, "Could not set dynamic store configuration")
24 ERROR(kmDNSHelperInvalidNameKey
, "Invalid name key")
25 ERROR(kmDNSHelperInvalidConfigKey
, "Invalid configuration key")
26 ERROR(kmDNSHelperTypeError
, "Object was not of expected type")
27 ERROR(kmDNSHelperPreferencesFailed
, "Could not create preferences session")
28 ERROR(kmDNSHelperPreferencesLockFailed
, "Could not lock preferences")
29 ERROR(kmDNSHelperPreferencesSetFailed
, "Could not update preferences")
30 ERROR(kmDNSHelperKeychainCopyDefaultFailed
, "Could not copy keychain default")
31 ERROR(kmDNSHelperKeychainSearchCreationFailed
, "Could not create keychain search")
32 ERROR(kmDNSHelperPListWriteFailed
, "Could not write property list to stream")
33 ERROR(kmDNSHelperResultTooLarge
, "Result too large")
34 ERROR(kmDNSHelperInterfaceCreationFailed
, "Could not create auto-tunnel interface")
35 ERROR(kmDNSHelperInterfaceDeletionFailed
, "Could not delete auto-tunnel interface")
36 ERROR(kmDNSHelperInvalidInterfaceState
, "Invalid interface state requested")
37 ERROR(kmDNSHelperInvalidServerState
, "Invalid server state requested")
38 ERROR(kmDNSHelperRacoonConfigCreationFailed
, "Could not create racoon configuration file")
39 ERROR(kmDNSHelperRacoonStartFailed
, "Could not start racoon")
40 ERROR(kmDNSHelperRacoonNotificationFailed
, "Could not notify racoon")
41 ERROR(kmDNSHelperInvalidTunnelSetKeysOperation
, "Invalid tunnel setkey operation requested")
42 ERROR(kmDNSHelperInvalidNetworkAddress
, "Invalid network address")
43 ERROR(kmDNSHelperRouteAdditionFailed
, "Could not add route")
44 ERROR(kmDNSHelperRouteDeletionFailed
, "Could not remove route")
45 ERROR(kmDNSHelperRoutingSocketCreationFailed
, "Could not create routing socket")
46 ERROR(kmDNSHelperDatagramSocketCreationFailed
, "Could not create datagram socket")
47 ERROR(kmDNSHelperIPsecPolicyCreationFailed
, "Could not create IPsec policy")
48 ERROR(kmDNSHelperIPsecPolicySetFailed
, "Could not set IPsec policy")
49 ERROR(kmDNSHelperIPsecRemoveSAFailed
, "Could not remove IPsec SA")
50 ERROR(kmDNSHelperIPsecPolicySocketCreationFailed
, "Could not create IPsec policy socket")
51 ERROR(kmDNSHelperIPsecDisabled
, "IPSec support was not compiled in to the helper")