| /src/crypto/dist/ipsec-tools/src/racoon/ |
| isakmp_quick.h | 37 extern int quick_i1prep(struct ph2handle *, vchar_t *); 38 extern int quick_i1send(struct ph2handle *, vchar_t *); 39 extern int quick_i2recv(struct ph2handle *, vchar_t *); 40 extern int quick_i2send(struct ph2handle *, vchar_t *); 41 extern int quick_i3recv(struct ph2handle *, vchar_t *); 43 extern int quick_r1recv(struct ph2handle *, vchar_t *); 44 extern int quick_r1prep(struct ph2handle *, vchar_t *); 45 extern int quick_r2send(struct ph2handle *, vchar_t *); 46 extern int quick_r3recv(struct ph2handle *, vchar_t *); 47 extern int quick_r3send(struct ph2handle *, vchar_t *) [all...] |
| pfkey.h | 54 struct ph2handle; 56 extern int pk_sendgetspi(struct ph2handle *); 57 extern int pk_sendupdate(struct ph2handle *); 58 extern int pk_sendadd(struct ph2handle *); 59 extern int pk_sendeacquire(struct ph2handle *); 60 extern int pk_sendspdupdate2(struct ph2handle *); 61 extern int pk_sendspdadd2(struct ph2handle *); 62 extern int pk_sendspddelete(struct ph2handle *);
|
| isakmp_inf.h | 40 extern int isakmp_info_send_d2(struct ph2handle *); 44 extern int isakmp_info_send_n2(struct ph2handle *, int, vchar_t *); 52 extern int isakmp_info_recv_initialcontact(struct ph1handle *, struct ph2handle *);
|
| isakmp_var.h | 58 struct ph2handle; 77 extern int isakmp_ph2send(struct ph2handle *); 85 extern void isakmp_ph2expire(struct ph2handle *); 87 extern void isakmp_ph2delete(struct ph2handle *); 89 extern int isakmp_get_sainfo(struct ph2handle *, struct secpolicy *, struct secpolicy *); 90 extern int isakmp_post_acquire(struct ph2handle *, struct ph1handle *, int); 91 extern int isakmp_post_getspi(struct ph2handle *); 93 extern void isakmp_chkph1there(struct ph2handle *); 106 extern caddr_t set_isakmp_header2(vchar_t *, struct ph2handle *, int); 136 void delete_spd(struct ph2handle *, u_int64_t) [all...] |
| handler.h | 214 LIST_HEAD(_ph2ofph1_, ph2handle) ph2tree; 258 struct ph2handle { struct 354 LIST_ENTRY(ph2handle) chain; 355 LIST_ENTRY(ph2handle) ph1bind; /* chain to ph1handle */ 461 struct ph2handle; 497 int (* enum_func)(struct ph2handle *iph2, void *arg), void *enum_arg); 498 extern struct ph2handle *getph2byseq(uint32_t); 499 extern struct ph2handle *getph2bysaddr(struct sockaddr *, struct sockaddr *); 500 extern struct ph2handle *getph2bymsgid(struct ph1handle *, uint32_t); 501 extern struct ph2handle *getph2byid(struct sockaddr * [all...] |
| ipsec_doi.h | 217 extern int ipsecdoi_selectph2proposal(struct ph2handle *); 218 extern int ipsecdoi_checkph2proposal(struct ph2handle *); 222 extern int ipsecdoi_updatespi(struct ph2handle *iph2); 229 extern int ipsecdoi_setid2(struct ph2handle *); 239 extern int ipsecdoi_setph2proposal(struct ph2handle *);
|
| proposal.h | 210 extern int set_proposal_from_policy(struct ph2handle *, 212 extern int set_proposal_from_proposal(struct ph2handle *);
|
| evt.h | 112 struct ph2handle; 123 void evt_phase2(const struct ph2handle *ph2, int type, vchar_t *optdata);
|
| handler.c | 86 static LIST_HEAD(_ph2tree_, ph2handle) ph2tree; 266 struct ph2handle *p, *next; 523 int (*enum_func)(struct ph2handle *ph2, void *arg), void *enum_arg) 525 struct ph2handle *p; 550 * search ph2handle with sequence number. 552 struct ph2handle * 555 struct ph2handle *p; 566 * search ph2handle with message id. 568 struct ph2handle * 571 struct ph2handle *p [all...] |
| oakley.h | 164 struct ph2handle; 180 extern int oakley_compute_keymat(struct ph2handle *, int);
|
| policy.h | 144 struct ph2handle; 166 extern void set_secctx_in_proposal(struct ph2handle *, struct policyindex);
|
| isakmp_quick.c | 98 static vchar_t *quick_ir1mx(struct ph2handle *, vchar_t *, vchar_t *); 99 static int get_sainfo_r(struct ph2handle *); 100 static int get_proposal_r(struct ph2handle *); 101 static int ph2_recv_n(struct ph2handle *, struct isakmp_gen *); 103 static void quick_timeover(struct ph2handle *); 109 quick_timeover(container_of(p, struct ph2handle, sce)); 113 quick_timeover(struct ph2handle *iph2) 136 quick_i1prep(struct ph2handle *iph2, vchar_t *msg __unused) /* must be null pointer */ 180 quick_i1send(struct ph2handle *iph2, vchar_t *msg) /* must be null pointer */ 394 quick_i2recv(struct ph2handle *iph2, vchar_t *msg0 [all...] |
| isakmp.c | 135 static int nostate2(struct ph2handle *, vchar_t *); 163 static int (*ph2exchange[][2][PHASE2ST_MAX])(struct ph2handle *, vchar_t *) = { 179 static int quick_main(struct ph2handle *, vchar_t *); 182 static int isakmp_ph2begin_i(struct ph1handle *, struct ph2handle *); 187 static int isakmp_ph2resend(struct ph2handle *); 653 struct ph2handle *iph2; 958 quick_main(struct ph2handle *iph2, vchar_t *msg) 1256 isakmp_ph2begin_i(struct ph1handle *iph1, struct ph2handle *iph2) 1308 struct ph2handle *iph2 = 0; 1380 * release handler because it's wrong that ph2handle is kep [all...] |
| isakmp_inf.c | 607 isakmp_info_send_d2( struct ph2handle *iph2) 804 isakmp_info_send_n2(struct ph2handle *iph2, int type, vchar_t *data) 855 struct ph2handle *iph2 = NULL; 981 /* XXX If Acknowledged Informational required, don't delete ph2handle */ 1055 struct ph2handle *iph2; 1177 struct ph2handle *protectedph2) 1185 struct ph2handle *iph2;
|
| pfkey.c | 124 static int getsadbpolicy(caddr_t *, int *, int, struct ph2handle *); 873 pk_sendgetspi(struct ph2handle *iph2) 979 struct ph2handle *iph2; 1074 pk_sendupdate(struct ph2handle *iph2) 1231 struct ph2handle *iph2; 1355 pk_sendadd(struct ph2handle *iph2) 1509 struct ph2handle *iph2; 1574 struct ph2handle *iph2; 1678 * Just remove the ph2handle to reflect SADB. 1693 struct ph2handle *iph2 [all...] |
| security.c | 165 struct ph2handle *iph2;
|
| evt.c | 314 evt_phase2(const struct ph2handle *ph2, int type, vchar_t *optdata)
|
| ipsec_doi.c | 103 static struct prop_pair *get_ph2approval(struct ph2handle *, 105 static struct prop_pair *get_ph2approvalx(struct ph2handle *, 154 static vchar_t *setph2proposal0(const struct ph2handle *, 732 ipsecdoi_selectph2proposal(struct ph2handle *iph2) 768 ipsecdoi_checkph2proposal(struct ph2handle *iph2) 958 get_ph2approval(struct ph2handle *iph2, struct prop_pair **pair) 993 get_ph2approvalx(struct ph2handle *iph2, struct prop_pair *pp) 1470 ipsecdoi_updatespi(struct ph2handle *iph2) 2840 setph2proposal0(const struct ph2handle *iph2, const struct saprop *pp, 3059 ipsecdoi_setph2proposal(struct ph2handle *iph2 [all...] |
| policy.c | 108 struct ph2handle *iph2;
|
| proposal.c | 1002 set_proposal_from_policy(struct ph2handle *iph2, 1128 set_proposal_from_proposal(struct ph2handle *iph2)
|
| racoonctl.c | 1101 struct ph2handle *iph2; 1124 iph2 = (struct ph2handle *)buf;
|
| admin.c | 488 struct ph2handle *iph2;
|
| oakley.c | 125 static int oakley_compute_keymat_x(struct ph2handle *, int, int); 469 oakley_compute_keymat(struct ph2handle *iph2, int side) 503 oakley_compute_keymat_x(struct ph2handle *iph2, int side, int sa_dir)
|
| isakmp_cfg.c | 1118 struct ph2handle *iph2 = NULL;
|