| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | 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 …]
|
| H A D | handler.h | 214 LIST_HEAD(_ph2ofph1_, ph2handle) ph2tree; 258 struct ph2handle { struct 354 LIST_ENTRY(ph2handle) chain; argument 355 LIST_ENTRY(ph2handle) ph1bind; /* chain to ph1handle */ 461 struct ph2handle; 500 int (* enum_func)(struct ph2handle *iph2, void *arg), 502 extern struct ph2handle *getph2byseq __P((u_int32_t)); 503 extern struct ph2handle *getph2bysaddr __P((struct sockaddr *, 505 extern struct ph2handle *getph2bymsgid __P((struct ph1handle *, u_int32_t)); 506 extern struct ph2handle *getph2byid __P((struct sockaddr *, [all …]
|
| H A D | 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 *));
|
| H A D | 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)); 137 void delete_spd __P((struct ph2handle *, u_int64_t));
|
| H A D | 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; 568 struct ph2handle * 572 struct ph2handle *p; 585 struct ph2handle * 590 struct ph2handle *p; 609 struct ph2handle * 614 struct ph2handle *p, *next; [all …]
|
| H A D | ipsec_doi.h | 217 extern int ipsecdoi_selectph2proposal __P((struct ph2handle *)); 218 extern int ipsecdoi_checkph2proposal __P((struct ph2handle *)); 222 extern int ipsecdoi_updatespi __P((struct ph2handle *iph2)); 229 extern int ipsecdoi_setid2 __P((struct ph2handle *)); 239 extern int ipsecdoi_setph2proposal __P((struct ph2handle *));
|
| H A D | 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 *));
|
| H A D | 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; in quick_timeover() 137 struct ph2handle *iph2; in quick_i1prep() 183 struct ph2handle *iph2; in quick_i1send() 399 struct ph2handle *iph2; in quick_i2recv() [all …]
|
| H A D | 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 *)); 656 struct ph2handle *iph2; 964 struct ph2handle *iph2; in quick_main() 1268 struct ph2handle *iph2; 1322 struct ph2handle *iph2 = 0; 1889 struct ph2handle *iph2 = container_of(p, struct ph2handle, scr); in isakmp_ph2resend_stub() [all …]
|
| H A D | evt.h | 112 struct ph2handle; 123 void evt_phase2 __P((const struct ph2handle *ph2, int type, vchar_t *optdata));
|
| H A D | proposal.h | 210 extern int set_proposal_from_policy __P((struct ph2handle *, 212 extern int set_proposal_from_proposal __P((struct ph2handle *));
|
| H A D | 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
|
| H A D | policy.h | 144 struct ph2handle; 166 extern void set_secctx_in_proposal __P((struct ph2handle *, struct policyindex));
|
| H A D | oakley.h | 164 struct ph2handle; 180 extern int oakley_compute_keymat __P((struct ph2handle *, int));
|
| H A D | pfkey.c | 124 static int getsadbpolicy __P((caddr_t *, int *, int, struct ph2handle *)); 894 struct ph2handle *iph2; in pk_sendgetspi() 1001 struct ph2handle *iph2; 1097 struct ph2handle *iph2; in pk_sendupdate() 1255 struct ph2handle *iph2; 1380 struct ph2handle *iph2; in pk_sendadd() 1535 struct ph2handle *iph2; 1601 struct ph2handle *iph2; 1721 struct ph2handle *iph2; 1985 struct ph2handle *iph2 = NULL; [all …]
|
| H A D | isakmp_inf.c | 617 struct ph2handle *iph2; in isakmp_info_send_d2() 821 struct ph2handle *iph2; in isakmp_info_send_n2() 877 struct ph2handle *iph2 = NULL; 1085 struct ph2handle *iph2; 1208 struct ph2handle *protectedph2; 1216 struct ph2handle *iph2;
|
| H A D | 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 *, 742 struct ph2handle *iph2; in ipsecdoi_selectph2proposal() 779 struct ph2handle *iph2; in ipsecdoi_checkph2proposal() 971 struct ph2handle *iph2; in get_ph2approval() 1008 struct ph2handle *iph2; in get_ph2approvalx() 1498 struct ph2handle *iph2; in ipsecdoi_updatespi() 2897 const struct ph2handle *iph2; in setph2proposal0() 3118 struct ph2handle *iph2; in ipsecdoi_setph2proposal() [all …]
|
| H A D | security.c | 165 struct ph2handle *iph2; in set_secctx_in_proposal()
|
| H A D | evt.c | 323 const struct ph2handle *ph2; in evt_phase2()
|
| H A D | racoonctl.c | 1148 struct ph2handle *iph2; 1171 iph2 = (struct ph2handle *)buf;
|
| H A D | policy.c | 110 struct ph2handle *iph2;
|
| H A D | proposal.c | 1033 struct ph2handle *iph2; in set_proposal_from_policy() 1172 struct ph2handle *iph2; in set_proposal_from_proposal()
|
| H A D | admin.c | 489 struct ph2handle *iph2;
|
| H A D | oakley.c | 125 static int oakley_compute_keymat_x __P((struct ph2handle *, int, int)); 482 struct ph2handle *iph2; in oakley_compute_keymat() 518 struct ph2handle *iph2; in oakley_compute_keymat_x()
|
| H A D | isakmp_cfg.c | 1162 struct ph2handle *iph2 = NULL;
|