/external/ipsec-tools/src/racoon/ |
isakmp_quick.h | 37 extern int quick_i1prep __P((struct ph2handle *, vchar_t *)); 38 extern int quick_i1send __P((struct ph2handle *, vchar_t *)); 39 extern int quick_i2recv __P((struct ph2handle *, vchar_t *)); 40 extern int quick_i2send __P((struct ph2handle *, vchar_t *)); 41 extern int quick_i3recv __P((struct ph2handle *, vchar_t *)); 43 extern int quick_r1recv __P((struct ph2handle *, vchar_t *)); 44 extern int quick_r1prep __P((struct ph2handle *, vchar_t *)); 45 extern int quick_r2send __P((struct ph2handle *, vchar_t *)); 46 extern int quick_r3recv __P((struct ph2handle *, vchar_t *)); 47 extern int quick_r3send __P((struct ph2handle *, vchar_t *)) [all...] |
pfkey.h | 54 struct ph2handle; 56 extern int pk_sendgetspi __P((struct ph2handle *)); 57 extern int pk_sendupdate __P((struct ph2handle *)); 58 extern int pk_sendadd __P((struct ph2handle *)); 59 extern int pk_sendeacquire __P((struct ph2handle *)); 60 extern int pk_sendspdupdate2 __P((struct ph2handle *)); 61 extern int pk_sendspdadd2 __P((struct ph2handle *)); 62 extern int pk_sendspddelete __P((struct ph2handle *));
|
isakmp_var.h | 58 struct ph2handle; 77 extern int isakmp_ph2send __P((struct ph2handle *)); 85 extern void isakmp_ph2expire __P((struct ph2handle *)); 87 extern void isakmp_ph2delete __P((struct ph2handle *)); 89 extern int isakmp_get_sainfo __P((struct ph2handle *, struct secpolicy *, struct secpolicy *)); 90 extern int isakmp_post_acquire __P((struct ph2handle *, struct ph1handle *, int)); 91 extern int isakmp_post_getspi __P((struct ph2handle *)); 93 extern void isakmp_chkph1there __P((struct ph2handle *)); 106 extern caddr_t set_isakmp_header2 __P((vchar_t *, struct ph2handle *, int)); 139 void delete_spd __P((struct ph2handle *, u_int64_t)) [all...] |
isakmp_inf.h | 40 extern int isakmp_info_send_d2 __P((struct ph2handle *)); 44 extern int isakmp_info_send_n2 __P((struct ph2handle *, int, vchar_t *)); 52 extern int isakmp_info_recv_initialcontact __P((struct ph1handle *, struct ph2handle *));
|
handler.c | 85 static LIST_HEAD(_ph2tree_, ph2handle) ph2tree; 275 struct ph2handle *p, *next; 538 int (*enum_func)(struct ph2handle *ph2, void *arg); 541 struct ph2handle *p; 566 * search ph2handle with sequence number. 568 struct ph2handle * 572 struct ph2handle *p; 583 * search ph2handle with message id. 585 struct ph2handle * 590 struct ph2handle *p [all...] |
handler.h | 213 LIST_HEAD(_ph2ofph1_, ph2handle) ph2tree; 257 struct ph2handle { struct 353 LIST_ENTRY(ph2handle) chain; 354 LIST_ENTRY(ph2handle) ph1bind; /* chain to ph1handle */ 460 struct ph2handle; 499 int (* enum_func)(struct ph2handle *iph2, void *arg), 501 extern struct ph2handle *getph2byseq __P((u_int32_t)); 502 extern struct ph2handle *getph2bysaddr __P((struct sockaddr *, 504 extern struct ph2handle *getph2bymsgid __P((struct ph1handle *, u_int32_t)); 505 extern struct ph2handle *getph2byid __P((struct sockaddr * [all...] |
ipsec_doi.h | 216 extern int ipsecdoi_selectph2proposal __P((struct ph2handle *)); 217 extern int ipsecdoi_checkph2proposal __P((struct ph2handle *)); 221 extern int ipsecdoi_updatespi __P((struct ph2handle *iph2)); 228 extern int ipsecdoi_setid2 __P((struct ph2handle *)); 238 extern int ipsecdoi_setph2proposal __P((struct ph2handle *));
|
evt.h | 112 struct ph2handle; 123 void evt_phase2 __P((const struct ph2handle *ph2, int type, vchar_t *optdata));
|
TODO | 46 o fix the structure of ph2handle. 55 acquire(A-B) ------> ph2handle(A=B) -----> ph1handle 69 acquire(A-C) ---+---> x?handle ---+---> ph2handle(A=B) -------> ph1handle 71 acquire(A-B) ---+ policy +---> ph2handle(A=C) -------> ph1handle
|
isakmp_quick.c | 98 static vchar_t *quick_ir1mx __P((struct ph2handle *, vchar_t *, vchar_t *)); 99 static int get_sainfo_r __P((struct ph2handle *)); 100 static int get_proposal_r __P((struct ph2handle *)); 101 static int ph2_recv_n __P((struct ph2handle *, struct isakmp_gen *)); 103 static void quick_timeover __P((struct ph2handle *)); 110 quick_timeover(container_of(p, struct ph2handle, sce)); 115 struct ph2handle *iph2; 138 struct ph2handle *iph2; 184 struct ph2handle *iph2; 400 struct ph2handle *iph2 [all...] |
oakley.h | 164 struct ph2handle; 180 extern int oakley_compute_keymat __P((struct ph2handle *, int));
|
policy.h | 144 struct ph2handle; 166 extern void set_secctx_in_proposal __P((struct ph2handle *, struct policyindex));
|
isakmp.c | 134 static int nostate2 __P((struct ph2handle *, vchar_t *)); 166 __P((struct ph2handle *, vchar_t *)) = { 182 static int quick_main __P((struct ph2handle *, vchar_t *)); 185 static int isakmp_ph2begin_i __P((struct ph1handle *, struct ph2handle *)); 190 static int isakmp_ph2resend __P((struct ph2handle *)); 658 struct ph2handle *iph2; 958 struct ph2handle *iph2; [all...] |
proposal.h | 210 extern int set_proposal_from_policy __P((struct ph2handle *, 212 extern int set_proposal_from_proposal __P((struct ph2handle *));
|
pfkey.c | 126 static int getsadbpolicy __P((caddr_t *, int *, int, struct ph2handle *)); 894 struct ph2handle *iph2; 1001 struct ph2handle *iph2; 1097 struct ph2handle *iph2; 1257 struct ph2handle *iph2; [all...] |
isakmp_inf.c | 460 struct ph2handle *iph2; 623 struct ph2handle *iph2; 826 struct ph2handle *iph2; 882 struct ph2handle *iph2 = NULL; 1008 /* XXX If Acknowledged Informational required, don't delete ph2handle */ 1116 struct ph2handle *iph2; 1234 struct ph2handle *protectedph2; 1242 struct ph2handle *iph2; [all...] |
security.c | 165 struct ph2handle *iph2;
|
evt.c | 330 const struct ph2handle *ph2;
|
ipsec_doi.c | 103 static struct prop_pair *get_ph2approval __P((struct ph2handle *, 105 static struct prop_pair *get_ph2approvalx __P((struct ph2handle *, 155 static vchar_t *setph2proposal0 __P((const struct ph2handle *, 746 struct ph2handle *iph2; 783 struct ph2handle *iph2; 975 struct ph2handle *iph2; 1012 struct ph2handle *iph2; [all...] |
policy.c | 110 struct ph2handle *iph2;
|
proposal.c | 1033 struct ph2handle *iph2; 1172 struct ph2handle *iph2;
|
racoonctl.c | 1148 struct ph2handle *iph2; 1171 iph2 = (struct ph2handle *)buf;
|
admin.c | 493 struct ph2handle *iph2;
|
oakley.c | 125 static int oakley_compute_keymat_x __P((struct ph2handle *, int, int)); 484 struct ph2handle *iph2; 520 struct ph2handle *iph2; [all...] |
isakmp_cfg.c | 1161 struct ph2handle *iph2 = NULL; [all...] |