Home
last modified time | relevance | path

Searched refs:ph2handle (Results 1 – 22 of 22) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_quick.h37 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 …]
Dhandler.h208 LIST_HEAD(_ph2ofph1_, ph2handle) ph2tree;
246 struct ph2handle { struct
321 LIST_ENTRY(ph2handle) chain; argument
322 LIST_ENTRY(ph2handle) ph1bind; /* chain to ph1handle */
423 struct ph2handle;
445 extern struct ph2handle *getph2byspidx __P((struct policyindex *));
446 extern struct ph2handle *getph2byspid __P((u_int32_t));
447 extern struct ph2handle *getph2byseq __P((u_int32_t));
448 extern struct ph2handle *getph2bysaddr __P((struct sockaddr *,
450 extern struct ph2handle *getph2bymsgid __P((struct ph1handle *, u_int32_t));
[all …]
Dpfkey.h54 struct ph2handle;
55 extern int pk_sendgetspi __P((struct ph2handle *));
56 extern int pk_sendupdate __P((struct ph2handle *));
57 extern int pk_sendadd __P((struct ph2handle *));
58 extern int pk_sendeacquire __P((struct ph2handle *));
59 extern int pk_sendspdupdate2 __P((struct ph2handle *));
60 extern int pk_sendspdadd2 __P((struct ph2handle *));
61 extern int pk_sendspddelete __P((struct ph2handle *));
64 extern void pfkey_timeover __P((struct ph2handle *));
Disakmp_var.h57 struct ph2handle;
80 extern int isakmp_ph2resend __P((struct ph2handle *));
86 extern void isakmp_ph2expire __P((struct ph2handle *));
88 extern void isakmp_ph2delete __P((struct ph2handle *));
90 extern int isakmp_post_acquire __P((struct ph2handle *));
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));
128 void delete_spd __P((struct ph2handle *, u_int64_t));
Dhandler.c85 static LIST_HEAD(_ph2tree_, ph2handle) ph2tree;
436 struct ph2handle *
440 struct ph2handle *p;
457 struct ph2handle *
461 struct ph2handle *p;
474 struct ph2handle *
479 struct ph2handle *p;
489 struct ph2handle *
494 struct ph2handle *p;
519 struct ph2handle *
[all …]
Dipsec_doi.h208 extern int ipsecdoi_selectph2proposal __P((struct ph2handle *));
209 extern int ipsecdoi_checkph2proposal __P((struct ph2handle *));
213 extern int ipsecdoi_updatespi __P((struct ph2handle *iph2));
220 extern int ipsecdoi_setid2 __P((struct ph2handle *));
229 extern int ipsecdoi_setph2proposal __P((struct ph2handle *));
Disakmp_inf.h40 extern int isakmp_info_send_d2 __P((struct ph2handle *));
44 extern int isakmp_info_send_n2 __P((struct ph2handle *, int, vchar_t *));
Dproposal.h210 extern int set_proposal_from_policy __P((struct ph2handle *,
212 extern int set_proposal_from_proposal __P((struct ph2handle *));
Disakmp_quick.c91 static vchar_t *quick_ir1mx __P((struct ph2handle *, vchar_t *, vchar_t *));
92 static int get_sainfo_r __P((struct ph2handle *));
93 static int get_proposal_r __P((struct ph2handle *));
103 struct ph2handle *iph2; in quick_i1prep()
149 struct ph2handle *iph2; in quick_i1send()
311 struct ph2handle *iph2; in quick_i2recv()
553 struct ph2handle *iph2; in quick_i2send()
692 struct ph2handle *iph2; in quick_i3recv()
835 struct ph2handle *iph2; in quick_r1recv()
1148 struct ph2handle *iph2; in quick_r1prep()
[all …]
Dpolicy.h138 struct ph2handle;
160 extern void set_secctx_in_proposal __P((struct ph2handle *, struct policyindex));
Disakmp.c137 static int nostate2 __P((struct ph2handle *, vchar_t *));
169 __P((struct ph2handle *, vchar_t *)) = {
185 static int quick_main __P((struct ph2handle *, vchar_t *));
188 static int isakmp_ph2begin_i __P((struct ph1handle *, struct ph2handle *));
665 struct ph2handle *iph2;
950 struct ph2handle *iph2; in quick_main()
1255 struct ph2handle *iph2;
1304 struct ph2handle *iph2 = 0;
1932 struct ph2handle *iph2;
1934 iph2=(struct ph2handle *)p;
[all …]
DTODO46 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
Dpfkey.c124 static int getsadbpolicy __P((caddr_t *, int *, int, struct ph2handle *));
807 pfkey_timeover((struct ph2handle *)p);
812 struct ph2handle *iph2; in pfkey_timeover()
839 struct ph2handle *iph2; in pk_sendgetspi()
933 struct ph2handle *iph2;
1027 struct ph2handle *iph2; in pk_sendupdate()
1176 struct ph2handle *iph2;
1313 struct ph2handle *iph2; in pk_sendadd()
1466 struct ph2handle *iph2;
1531 struct ph2handle *iph2;
[all …]
Doakley.h174 struct ph2handle;
190 extern int oakley_compute_keymat __P((struct ph2handle *, int));
Disakmp_inf.c457 struct ph2handle *iph2;
622 struct ph2handle *iph2; in isakmp_info_send_d2()
835 struct ph2handle *iph2; in isakmp_info_send_n2()
891 struct ph2handle *iph2 = NULL;
1137 struct ph2handle *iph2;
1292 struct ph2handle *iph2;
Dsecurity.c165 struct ph2handle *iph2; in set_secctx_in_proposal()
Dipsec_doi.c108 static struct prop_pair *get_ph2approval __P((struct ph2handle *,
110 static struct prop_pair *get_ph2approvalx __P((struct ph2handle *,
158 static vchar_t *setph2proposal0 __P((const struct ph2handle *,
890 struct ph2handle *iph2; in ipsecdoi_selectph2proposal()
925 struct ph2handle *iph2; in ipsecdoi_checkph2proposal()
1115 struct ph2handle *iph2; in get_ph2approval()
1152 struct ph2handle *iph2; in get_ph2approvalx()
1633 struct ph2handle *iph2; in ipsecdoi_updatespi()
2942 const struct ph2handle *iph2; in setph2proposal0()
3163 struct ph2handle *iph2; in ipsecdoi_setph2proposal()
[all …]
Dpolicy.c106 struct ph2handle *iph2;
Dproposal.c1033 struct ph2handle *iph2; in set_proposal_from_policy()
1172 struct ph2handle *iph2; in set_proposal_from_proposal()
Dracoonctl.c1218 struct ph2handle *iph2;
1241 iph2 = (struct ph2handle *)buf;
Doakley.c132 static int oakley_compute_keymat_x __P((struct ph2handle *, int, int));
441 struct ph2handle *iph2; in oakley_compute_keymat()
477 struct ph2handle *iph2; in oakley_compute_keymat_x()
Disakmp_cfg.c1122 struct ph2handle *iph2 = NULL;