Searched refs:ipsec (Results 1 - 25 of 98) sorted by relevance

1234

/macosx-10.10.1/ppp-786.1.1/Controller/
H A Dipsec_manager.h38 #define IPSEC_ASSERT(ipsec, x) do { \
39 if (ipsec.phase == IPSEC_RUNNING) { \
40 ipsec.asserted = x; \
43 #define IPSEC_UNASSERT(ipsec) (ipsec.asserted = IPSEC_NOT_ASSERTED)
45 #define IPSEC_ASSERT_IDLE(ipsec) IPSEC_ASSERT(ipsec, IPSEC_ASSERTED_IDLE)
46 #define IPSEC_ASSERT_INITIALIZE(ipsec) IPSEC_ASSERT(ipsec, IPSEC_ASSERTED_INITIALIZE)
47 #define IPSEC_ASSERT_CONTACT(ipsec) IPSEC_ASSER
[all...]
H A Dipsec_manager.c202 get the ipsec string corresponding to the ike error
253 get the ipsec generic error corresponding to the ike error
328 get the ipsec string corresponding to the message type
356 get the ipsec string corresponding to the message type
376 get the ipsec string corresponding to the message type
417 serv->u.ipsec.phase = IPSEC_IDLE;
418 serv->u.ipsec.controlfd = -1;
419 serv->u.ipsec.kernctl_sock = -1;
420 serv->u.ipsec.eventfd = -1;
421 serv->u.ipsec
[all...]
H A Dnat_port_mapping.c79 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;
101 case TYPE_IPSEC: return (serv->u.ipsec.phase != IPSEC_IDLE);
111 case TYPE_IPSEC: return (const char*)serv->u.ipsec.lower_interface;
122 case TYPE_IPSEC: return sizeof(serv->u.ipsec.lower_interface);
164 u_int8_t interfaceName[sizeof(serv->u.ipsec.lower_interface)];
188 && (ALIGNED_CAST(struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == serv->u.ipsec.our_address.sin_addr.s_addr) {
256 if (serv->type == TYPE_IPSEC && serv->u.ipsec.our_address.sin_addr.s_addr == htonl(publicAddress) && found) {
279 if (serv->u.ipsec
[all...]
H A DsessionTracer.c108 return (!(serv->u.ipsec.laststatus == IPSEC_NO_ERROR ||
109 serv->u.ipsec.laststatus == IPSEC_IDLETIMEOUT_ERROR));
152 const char *ipsec_err = ipsec_error_to_string(serv->u.ipsec.laststatus);
153 if (!ipsec_err && !serv->u.ipsec.laststatus) {
160 snprintf(reason_buf, reason_bufsize, "Error %d", serv->u.ipsec.laststatus);
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/setkey/Sample/
H A Dsample-policy02.cf8 -P out ipsec
13 -P out ipsec
16 -P in ipsec
19 -P out ipsec
24 -P out ipsec
29 -P out ipsec
34 -P out ipsec
H A Dsample-policy01.cf7 -P out ipsec
10 -P out ipsec
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dipcomp6.h40 #include <netinet6/ipsec.h>
H A Dipcomp.h40 #include <netinet6/ipsec.h>
H A DMakefile11 ah.h ipsec.h \
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/libipsec/
H A Dipsec_get_policylen.c42 # include <netinet6/ipsec.h>
44 # include <netinet/ipsec.h>
H A Dipsec_strerror.c41 # include <netinet6/ipsec.h>
43 # include <netinet/ipsec.h>
58 "Invalid ipsec protocol", /*EIPSEC_INVAL_PROTO*/
59 "Invalid ipsec mode", /*EIPSEC_INVAL_MODE*/
60 "Invalid ipsec level", /*EIPSEC_INVAL_LEVEL*/
H A Dpolicy_token.l43 # include <netinet6/ipsec.h>
45 # include <netinet/ipsec.h>
121 ipsec { yylval.num = IPSEC_POLICY_IPSEC; return(ACTION); }
H A Dipsec_dump_policy.c42 # include <netinet6/ipsec.h>
44 # include <netinet/ipsec.h>
62 "discard", "none", "ipsec", "entrust", "bypass", "generate",
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/setkey/
H A Dtoken.l45 # include <netinet6/ipsec.h>
47 # include <netinet/ipsec.h>
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dif_utun_crypto_ipsec.h38 #define IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAH(keys) keys->state.u.ipsec.sah
39 #define IF_UTUN_GET_CRYPTO_KEYS_IPSEC_SAV(keys) keys->state.u.ipsec.sav
48 * Summary: enables ipsec crypto info for the specified utun.
54 * Summary: disables ipsec crypto info for the specified utun.
60 * Summary: configures an ipsec crypto context for the specified utun, with keying material
64 * args - the ipsec crypto context keying arguments as passed down from userland.
65 * crypto_ctx_mat - the ipsec crypto context's keying material to be filled.
74 * Summary: unconfigures the keying material in an ipsec crypto context for the specified utun.
76 * args - the ipsec crypto context keying arguments as passed down from userland.
77 * crypto_ctx_mat - the ipsec crypt
[all...]
H A Dif_utun_crypto_ipsec.c47 #include <netinet6/ipsec.h>
494 crypto_keys->state.u.ipsec.proto = sah->saidx.proto;
495 crypto_keys->state.u.ipsec.mode = sah->saidx.mode;
497 crypto_keys->state.u.ipsec.ifamily = IPPROTO_IPV4;
499 crypto_keys->state.u.ipsec.ifamily = IPPROTO_IPV6;
501 crypto_keys->state.u.ipsec.spi = args_ipsec_v1->spi;
628 * Summary: enables ipsec crypto info for the specified utun.
635 /* Turn off the ipsec bypass, if already on */
646 * Summary: disables ipsec crypto info for the specified utun.
653 /* Turn on the ipsec bypas
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/man/man4/
H A DMakefile28 ipsec.4 \
/macosx-10.10.1/configd-699.1.5/
H A Dget-mobility-info581 echo "#" > ipsec
582 echo "# setkey -D" >> ipsec
583 echo "#" >> ipsec
591 ' >> ipsec
593 echo "" >> ipsec
594 echo "#" >> ipsec
595 echo "# setkey -Pp -D" >> ipsec
596 echo "#" >> ipsec
597 ${PRIV} /usr/sbin/setkey -Pp -D >> ipsec
605 echo "" >> ipsec
[all...]
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/Common/
H A Dlibpfkey.h56 /* Accomodate different prototypes in <netinet6/ipsec.h> */
59 # include <netinet6/ipsec.h>
61 # include <netinet/ipsec.h>
/macosx-10.10.1/xnu-2782.1.97/bsd/conf/
H A Dfiles228 bsd/net/if_ipsec.c optional ipsec
316 bsd/netinet6/ah_core.c optional ipsec
317 bsd/netinet6/ah_input.c optional ipsec
318 bsd/netinet6/ah_output.c optional ipsec
319 bsd/netinet6/esp_core.c optional ipsec ipsec_esp
320 bsd/netinet6/esp_input.c optional ipsec ipsec_esp
321 bsd/netinet6/esp_output.c optional ipsec ipsec_esp
322 bsd/netinet6/esp_rijndael.c optional ipsec ipsec_esp
323 bsd/netinet6/ipsec.c optional ipsec
[all...]
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/racoon/
H A Dsainfo.c42 # include <netinet6/ipsec.h>
44 # include <netinet/ipsec.h>
72 * modules for ipsec sa info
H A Dsession.c51 #include <netinet/ipsec.h>
53 #include <netinet6/ipsec.h>
/macosx-10.10.1/xnu-2782.1.97/bsd/netkey/
H A Dkeydb.c48 #include <netinet6/ipsec.h>
/macosx-10.10.1/remote_cmds-47/telnet.tproj/
H A Dexterns.h76 #include <netinet6/ipsec.h>
78 #include <netipsec/ipsec.h>
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Din_proto.c99 #include <netinet6/ipsec.h>
354 SYSCTL_NODE(_net_inet, IPPROTO_AH, ipsec,

Completed in 208 milliseconds

1234