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(kmDNSHelperInvalidNameKey
, "Invalid name key")
23 ERROR(kmDNSHelperInvalidConfigKey
, "Invalid configuration key")
24 ERROR(kmDNSHelperTypeError
, "Object was not of expected type")
25 ERROR(kmDNSHelperPreferencesFailed
, "Could not create preferences session")
26 ERROR(kmDNSHelperPreferencesLockFailed
, "Could not lock preferences")
27 ERROR(kmDNSHelperPreferencesSetFailed
, "Could not update preferences")
28 ERROR(kmDNSHelperKeychainCopyDefaultFailed
, "Could not copy keychain default")
29 ERROR(kmDNSHelperKeychainSearchCreationFailed
, "Could not create keychain search")
30 ERROR(kmDNSHelperPListWriteFailed
, "Could not write property list to stream")
31 ERROR(kmDNSHelperResultTooLarge
, "Result too large")
32 ERROR(kmDNSHelperInterfaceCreationFailed
, "Could not create auto-tunnel interface")
33 ERROR(kmDNSHelperInterfaceDeletionFailed
, "Could not delete auto-tunnel interface")
34 ERROR(kmDNSHelperInvalidInterfaceState
, "Invalid interface state requested")
35 ERROR(kmDNSHelperInvalidServerState
, "Invalid server state requested")
36 ERROR(kmDNSHelperRacoonConfigCreationFailed
, "Could not create racoon configuration file")
37 ERROR(kmDNSHelperRacoonStartFailed
, "Could not start racoon")
38 ERROR(kmDNSHelperRacoonNotificationFailed
, "Could not notify racoon")
39 ERROR(kmDNSHelperInvalidTunnelSetKeysOperation
, "Invalid tunnel setkey operation requested")
40 ERROR(kmDNSHelperInvalidNetworkAddress
, "Invalid network address")
41 ERROR(kmDNSHelperRouteAdditionFailed
, "Could not add route")
42 ERROR(kmDNSHelperRouteDeletionFailed
, "Could not remove route")
43 ERROR(kmDNSHelperRoutingSocketCreationFailed
, "Could not create routing socket")
44 ERROR(kmDNSHelperDatagramSocketCreationFailed
, "Could not create datagram socket")
45 ERROR(kmDNSHelperIPsecPolicyCreationFailed
, "Could not create IPsec policy")
46 ERROR(kmDNSHelperIPsecPolicySetFailed
, "Could not set IPsec policy")
47 ERROR(kmDNSHelperIPsecRemoveSAFailed
, "Could not remove IPsec SA")
48 ERROR(kmDNSHelperIPsecPolicySocketCreationFailed
, "Could not create IPsec policy socket")
49 ERROR(kmDNSHelperIPsecDisabled
, "IPSec support was not compiled in to the helper")