Home
last modified time | relevance | path

Searched refs:ph1handle (Results 1 – 25 of 38) sorted by relevance

12

/external/ipsec-tools/src/racoon/
Dgssapi.h45 struct ph1handle;
77 int gssapi_get_itoken __P((struct ph1handle *, int *));
78 int gssapi_get_rtoken __P((struct ph1handle *, int *));
79 int gssapi_save_received_token __P((struct ph1handle *, vchar_t *));
80 int gssapi_get_token_to_send __P((struct ph1handle *, vchar_t **));
81 int gssapi_get_itokens __P((struct ph1handle *, vchar_t **));
82 int gssapi_get_rtokens __P((struct ph1handle *, vchar_t **));
83 vchar_t *gssapi_wraphash __P((struct ph1handle *));
84 vchar_t *gssapi_unwraphash __P((struct ph1handle *));
85 void gssapi_set_id_sent __P((struct ph1handle *));
[all …]
Disakmp_ident.h37 extern int ident_i1send __P((struct ph1handle *, vchar_t *));
38 extern int ident_i2recv __P((struct ph1handle *, vchar_t *));
39 extern int ident_i2send __P((struct ph1handle *, vchar_t *));
40 extern int ident_i3recv __P((struct ph1handle *, vchar_t *));
41 extern int ident_i3send __P((struct ph1handle *, vchar_t *));
42 extern int ident_i4recv __P((struct ph1handle *, vchar_t *));
43 extern int ident_i4send __P((struct ph1handle *, vchar_t *));
45 extern int ident_r1recv __P((struct ph1handle *, vchar_t *));
46 extern int ident_r1send __P((struct ph1handle *, vchar_t *));
47 extern int ident_r2recv __P((struct ph1handle *, vchar_t *));
[all …]
Doakley.h173 struct ph1handle;
187 extern vchar_t *oakley_prf __P((vchar_t *, vchar_t *, struct ph1handle *));
188 extern vchar_t *oakley_hash __P((vchar_t *, struct ph1handle *));
195 extern vchar_t *oakley_compute_hash3 __P((struct ph1handle *,
197 extern vchar_t *oakley_compute_hash1 __P((struct ph1handle *,
199 extern vchar_t *oakley_ph1hash_common __P((struct ph1handle *, int));
200 extern vchar_t *oakley_ph1hash_base_i __P((struct ph1handle *, int));
201 extern vchar_t *oakley_ph1hash_base_r __P((struct ph1handle *, int));
203 extern int oakley_validate_auth __P((struct ph1handle *));
204 extern int oakley_getmycert __P((struct ph1handle *));
[all …]
Disakmp_cfg.h193 struct ph1handle;
195 void isakmp_cfg_r(struct ph1handle *, vchar_t *);
196 int isakmp_cfg_attr_r(struct ph1handle *, u_int32_t, struct isakmp_pl_attr *);
197 int isakmp_cfg_reply(struct ph1handle *, struct isakmp_pl_attr *);
198 int isakmp_cfg_request(struct ph1handle *, struct isakmp_pl_attr *);
199 int isakmp_cfg_set(struct ph1handle *, struct isakmp_pl_attr *);
200 int isakmp_cfg_send(struct ph1handle *, vchar_t *, u_int32_t, int, int);
201 struct isakmp_ivm *isakmp_cfg_newiv(struct ph1handle *, u_int32_t);
202 void isakmp_cfg_rmstate(struct ph1handle *);
204 vchar_t *isakmp_cfg_copy(struct ph1handle *, struct isakmp_data *);
[all …]
Disakmp_base.h37 extern int base_i1send __P((struct ph1handle *, vchar_t *));
38 extern int base_i2recv __P((struct ph1handle *, vchar_t *));
39 extern int base_i2send __P((struct ph1handle *, vchar_t *));
40 extern int base_i3recv __P((struct ph1handle *, vchar_t *));
41 extern int base_i3send __P((struct ph1handle *, vchar_t *));
43 extern int base_r1recv __P((struct ph1handle *, vchar_t *));
44 extern int base_r1send __P((struct ph1handle *, vchar_t *));
45 extern int base_r2recv __P((struct ph1handle *, vchar_t *));
46 extern int base_r2send __P((struct ph1handle *, vchar_t *));
Disakmp_xauth.h99 struct ph1handle;
101 void xauth_sendreq(struct ph1handle *);
102 int xauth_attr_reply(struct ph1handle *, struct isakmp_data *, int);
104 void xauth_sendstatus(struct ph1handle *, int, int);
105 int xauth_check(struct ph1handle *);
106 int group_check(struct ph1handle *, char **, int);
107 vchar_t *isakmp_xauth_req(struct ph1handle *, struct isakmp_data *);
108 vchar_t *isakmp_xauth_set(struct ph1handle *, struct isakmp_data *);
111 int xauth_reply(struct ph1handle *, int, int, int);
116 int xauth_login_radius(struct ph1handle *, char *, char *);
[all …]
Disakmp_var.h56 struct ph1handle;
75 extern int isakmp_send __P((struct ph1handle *, vchar_t *));
78 extern int isakmp_ph1resend __P((struct ph1handle *));
82 extern void isakmp_ph1expire __P((struct ph1handle *));
84 extern void isakmp_ph1delete __P((struct ph1handle *));
104 extern u_int32_t isakmp_newmsgid2 __P((struct ph1handle *));
105 extern caddr_t set_isakmp_header1 __P((vchar_t *, struct ph1handle *, int));
112 struct ph1handle *iph1));
119 extern int copy_ph1addresses __P(( struct ph1handle *,
121 extern void log_ph1established __P((const struct ph1handle *));
[all …]
Disakmp_agg.h37 extern int agg_i1send __P((struct ph1handle *, vchar_t *));
38 extern int agg_i2recv __P((struct ph1handle *, vchar_t *));
39 extern int agg_i2send __P((struct ph1handle *, vchar_t *));
41 extern int agg_r1recv __P((struct ph1handle *, vchar_t *));
42 extern int agg_r1send __P((struct ph1handle *, vchar_t *));
43 extern int agg_r2recv __P((struct ph1handle *, vchar_t *));
44 extern int agg_r2send __P((struct ph1handle *, vchar_t *));
Dhandler.h112 struct ph1handle { struct
210 LIST_ENTRY(ph1handle) chain; argument
319 struct ph1handle *ph1; /* back pointer to isakmp status */
422 struct ph1handle;
426 extern struct ph1handle *getph1byindex __P((isakmp_index *));
427 extern struct ph1handle *getph1byindex0 __P((isakmp_index *));
428 extern struct ph1handle *getph1byaddr __P((struct sockaddr *,
430 extern struct ph1handle *getph1byaddrwop __P((struct sockaddr *,
432 extern struct ph1handle *getph1bydstaddrwop __P((struct sockaddr *));
434 struct ph1handle *getph1bylogin __P((char *));
[all …]
Disakmp_inf.h38 extern int isakmp_info_recv __P((struct ph1handle *, vchar_t *));
39 extern int isakmp_info_send_d1 __P((struct ph1handle *));
43 extern int isakmp_info_send_n1 __P((struct ph1handle *, int, vchar_t *));
45 extern int isakmp_info_send_common __P((struct ph1handle *,
51 extern void isakmp_check_notify __P((struct isakmp_gen *, struct ph1handle *));
54 extern int isakmp_sched_r_u __P((struct ph1handle *, int));
Dnattraversal.h78 vchar_t *natt_hash_addr (struct ph1handle *iph1, struct sockaddr *addr);
79 int natt_compare_addr_hash (struct ph1handle *iph1, vchar_t *natd_received, int natd_seq);
82 void natt_float_ports (struct ph1handle *iph1);
83 void natt_handle_vendorid (struct ph1handle *iph1, int vid_numeric);
93 int natt_keepalive_add_ph1 (struct ph1handle *iph1);
Dhandler.c84 static LIST_HEAD(_ph1tree_, ph1handle) ph1tree;
103 struct ph1handle *
107 struct ph1handle *p;
123 struct ph1handle *
127 struct ph1handle *p;
144 struct ph1handle *
149 struct ph1handle *p;
177 struct ph1handle *
181 struct ph1handle *p;
199 struct ph1handle *
[all …]
Disakmp_frag.h54 int isakmp_sendfrags(struct ph1handle *, vchar_t *);
56 int isakmp_frag_extract(struct ph1handle *, vchar_t *);
57 vchar_t *isakmp_frag_reassembly(struct ph1handle *);
Dgssapi.c154 gssapi_get_default_name(struct ph1handle *iph1, int remote, gss_name_t *service) in gssapi_get_default_name()
187 gssapi_init(struct ph1handle *iph1) in gssapi_init()
275 gssapi_get_itoken(struct ph1handle *iph1, int *lenp) in gssapi_get_itoken()
346 gssapi_get_rtoken(struct ph1handle *iph1, int *lenp) in gssapi_get_rtoken()
401 gssapi_save_received_token(struct ph1handle *iph1, vchar_t *token) in gssapi_save_received_token()
423 gssapi_get_token_to_send(struct ph1handle *iph1, vchar_t **token) in gssapi_get_token_to_send()
444 gssapi_get_itokens(struct ph1handle *iph1, vchar_t **tokens) in gssapi_get_itokens()
479 gssapi_get_rtokens(struct ph1handle *iph1, vchar_t **tokens) in gssapi_get_rtokens()
517 gssapi_wraphash(struct ph1handle *iph1) in gssapi_wraphash()
577 gssapi_unwraphash(struct ph1handle *iph1) in gssapi_unwraphash()
[all …]
Dipsec_doi.h207 extern int ipsecdoi_checkph1proposal __P((vchar_t *, struct ph1handle *));
212 extern vchar_t *get_sabyproppair __P((struct prop_pair *, struct ph1handle *));
216 extern int ipsecdoi_checkid1 __P((struct ph1handle *));
217 extern int ipsecdoi_setid1 __P((struct ph1handle *));
Disakmp_cfg.c113 static vchar_t *isakmp_cfg_net(struct ph1handle *, struct isakmp_data *);
115 static vchar_t *isakmp_cfg_void(struct ph1handle *, struct isakmp_data *);
117 static vchar_t *isakmp_cfg_addr4(struct ph1handle *,
120 static vchar_t *isakmp_cfg_addr4_list(struct ph1handle *,
129 static int isakmp_cfg_accounting(struct ph1handle *, int);
131 static int isakmp_cfg_accounting_radius(struct ph1handle *, int);
140 struct ph1handle *iph1; in isakmp_cfg_r()
275 struct ph1handle *iph1; in isakmp_cfg_attr_r()
317 struct ph1handle *iph1; in isakmp_cfg_reply()
490 struct ph1handle *iph1; in isakmp_cfg_request()
[all …]
Disakmp_inf.c102 static int isakmp_info_recv_n (struct ph1handle *, struct isakmp_pl_n *, u_int32_t, int);
103 static int isakmp_info_recv_d (struct ph1handle *, struct isakmp_pl_d *, u_int32_t, int);
106 static int isakmp_info_recv_r_u __P((struct ph1handle *,
108 static int isakmp_info_recv_r_u_ack __P((struct ph1handle *,
114 static void info_recv_initialcontact __P((struct ph1handle *));
124 struct ph1handle *iph1; in isakmp_info_recv()
331 struct ph1handle *iph1; in isakmp_info_recv_n()
448 struct ph1handle *iph1; in isakmp_info_recv_d()
456 struct ph1handle *del_ph1;
578 struct ph1handle *iph1; in isakmp_info_send_d1()
[all …]
Disakmp_unity.h73 vchar_t *isakmp_unity_req(struct ph1handle *, struct isakmp_data *);
74 void isakmp_unity_reply(struct ph1handle *, struct isakmp_data *);
Disakmp_ident.c93 static vchar_t *ident_ir2mx __P((struct ph1handle *));
94 static vchar_t *ident_ir3mx __P((struct ph1handle *));
108 struct ph1handle *iph1; in ident_i1send()
253 struct ph1handle *iph1; in ident_i2recv()
353 struct ph1handle *iph1; in ident_i2send()
424 struct ph1handle *iph1; in ident_i3recv()
573 struct ph1handle *iph1; in ident_i3send()
668 struct ph1handle *iph1; in ident_i4recv()
826 struct ph1handle *iph1; in ident_i4send()
858 struct ph1handle *iph1; in ident_r1recv()
[all …]
Disakmp.c136 static int nostate1 __P((struct ph1handle *, vchar_t *));
142 __P((struct ph1handle *, vchar_t *)) = {
184 static int ph1_main __P((struct ph1handle *, vchar_t *));
188 static int isakmp_ph2begin_i __P((struct ph1handle *, struct ph2handle *));
189 static int isakmp_ph2begin_r __P((struct ph1handle *, vchar_t *));
193 static int frag_handler(struct ph1handle *,
408 struct ph1handle *iph1;
781 struct ph1handle *iph1; in ph1_main()
1030 struct ph1handle *iph1;
1126 struct ph1handle *iph1; in isakmp_ph1begin_r()
[all …]
Disakmp_unity.c82 static vchar_t *isakmp_cfg_split(struct ph1handle *,
87 struct ph1handle *iph1; in isakmp_unity_req()
204 struct ph1handle *iph1; in isakmp_unity_reply()
262 struct ph1handle *iph1; in isakmp_cfg_split()
Dproposal.h185 struct ph1handle;
194 extern struct saprop *cmpsaprop_alloc __P((struct ph1handle *,
Dnattraversal.c122 natt_hash_addr (struct ph1handle *iph1, struct sockaddr *addr) in natt_hash_addr()
182 natt_compare_addr_hash (struct ph1handle *iph1, vchar_t *natd_received, in natt_compare_addr_hash()
288 natt_float_ports (struct ph1handle *iph1) in natt_float_ports()
306 natt_handle_vendorid (struct ph1handle *iph1, int vid_numeric) in natt_handle_vendorid()
410 natt_keepalive_add_ph1 (struct ph1handle *iph1) in natt_keepalive_add_ph1()
Doakley.c133 static int get_cert_fromlocal __P((struct ph1handle *, int));
134 static int get_plainrsa_fromlocal __P((struct ph1handle *, int));
135 static int oakley_check_certid __P((struct ph1handle *iph1));
381 struct ph1handle *iph1;
411 struct ph1handle *iph1;
687 oakley_compute_hashx(struct ph1handle *iph1, ...) in oakley_compute_hashx()
742 struct ph1handle *iph1; in oakley_compute_hash3()
796 struct ph1handle *iph1; in oakley_compute_hash1()
849 struct ph1handle *iph1; in oakley_ph1hash_common()
973 struct ph1handle *iph1; in oakley_ph1hash_base_i()
[all …]
Disakmp_frag.c83 struct ph1handle *iph1; in isakmp_sendfrags()
178 struct ph1handle *iph1; in isakmp_frag_extract()
268 struct ph1handle *iph1; in isakmp_frag_reassembly()

12