]>
git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/racoon/ipsec_xpc.h
2 * Copyright (c) 2012, 2013 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
21 * @APPLE_LICENSE_HEADER_END@
24 #ifndef SecureNetworking_ipsec_xpc_H
25 #define SecureNetworking_ipsec_xpc_H
27 #define SN_ENTITLEMENT_IPSEC_IKE CFSTR("com.apple.private.SecureNetworking.ipsec_ike")
28 #define SN_ENTITLEMENT_IPSEC_DB CFSTR("com.apple.private.SecureNetworking.ipsec_db")
30 #define IPSEC_HELPER "com.apple.SecureNetworking.IPSec"
33 #define IPSECOPCODE "ipsecopcode"
34 #define IPSECOPIKEDICT "ipsecikedict"
35 #define IPSECOPCHILDDICT "ipsecchilddict"
36 #define IPSECOBJREF "ipsecobjectref"
37 #define IPSECIKEID "ipsecikeid"
38 #define IPSECCHILDID "ipsecchildid"
39 #define IPSECIKESTATUS "ipsecikestatus"
40 #define IPSECCHILDSTATUS "ipsecchildstatus"
44 #define IPSECSASESSIONID "ipsecsasessionid"
45 #define IPSECSAID "ipsecsaid"
46 #define IPSECSADICT "ipsecsadict"
47 #define IPSECSASPI "ipsecsaspi"
48 #define IPSECSAIDARRAY "ipsecsaidarray"
49 #define IPSECPOLICYID "ipsecpolicyid"
50 #define IPSECPOLICYDICT "ipsecpolicydict"
51 #define IPSECPOLICYIDARRAY "ipsecpolicyidarray"
54 #define IPSECMESSAGE "ipsecmessage"
55 #define IPSECITEMID "ipsecitemid"
56 #define IPSECITEMDICT "ipsecitemdict"
58 #define SERVERREPLY "reply"
60 #define REPLYOFFSET 0x1000
63 IPSECIKE_CREATE
= 0x0001,
70 IPSECIKE_ENABLE_CHILD
,
71 IPSECIKE_DISABLE_CHILD
,
72 IPSECIKE_GETSTATUS_CHILD
77 IPSECDB_CREATESESSION
= 0x0101,
87 IPSECDB_FLUSHPOLICIES
,
95 SERVER_REPLY_OK
= 0x0000,