Searched refs:sainfo (Results 1 - 14 of 14) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dsainfo.h1 /* $NetBSD: sainfo.h,v 1.5 2006/10/03 08:01:56 vanhu Exp $ */
3 /* Id: sainfo.h,v 1.5 2006/07/09 17:19:38 manubsd Exp */
40 struct sainfo { struct
61 LIST_ENTRY(sainfo) chain;
71 extern struct sainfo *getsainfo __P((const vchar_t *,
73 extern struct sainfo *newsainfo __P((void));
74 extern void delsainfo __P((struct sainfo *));
75 extern void inssainfo __P((struct sainfo *));
76 extern void remsainfo __P((struct sainfo *));
82 extern const char * sainfo2str __P((const struct sainfo *));
[all...]
H A Dsainfo.c1 /* $NetBSD: sainfo.c,v 1.7.6.1 2007/08/01 11:52:22 vanhu Exp $ */
3 /* $KAME: sainfo.c,v 1.16 2003/06/27 07:32:39 sakane Exp $ */
64 #include "sainfo.h"
67 static LIST_HEAD(_sitree, sainfo) sitree, sitree_save, sitree_tmp;
76 * First pass is for sainfo from a specified peer, second for others.
78 struct sainfo *
83 struct sainfo *s = NULL;
84 struct sainfo *anonymous = NULL;
125 "evaluating sainfo: %s\n", sainfostr);
163 struct sainfo *
[all...]
H A Dproposal.h184 struct sainfo;
198 extern int set_satrnsbysainfo __P((struct saproto *, struct sainfo *));
H A Dproposal.c63 #include "sainfo.h"
637 set_satrnsbysainfo(pr, sainfo)
639 struct sainfo *sainfo;
647 if (sainfo->algs[algclass_ipsec_auth] == NULL) {
653 for (a = sainfo->algs[algclass_ipsec_auth]; a; a = a->next) {
674 if (sainfo->algs[algclass_ipsec_enc] == NULL) {
680 for (a = sainfo->algs[algclass_ipsec_enc]; a; a = a->next) {
681 for (b = sainfo->algs[algclass_ipsec_auth]; b; b = b->next) {
700 if (sainfo
[all...]
H A Dhandler.c78 #include "sainfo.h"
1079 struct sainfo *sainfo; local
1084 * Get the new sainfo using values of the old one
1086 if (iph2->sainfo != NULL) {
1087 iph2->sainfo = getsainfo(iph2->sainfo->idsrc,
1088 iph2->sainfo->iddst, iph2->sainfo->id_i,
1089 iph2->sainfo
[all...]
H A Dhandler.h288 struct sainfo *sainfo; /* place holder of sainfo */ member in struct:ph2handle
H A Dpfkey.c95 #include "sainfo.h"
853 if (iph2->sainfo && iph2->sainfo->id_i)
1041 else if (iph2->sainfo && iph2->sainfo->id_i)
1328 else if (iph2->sainfo && iph2->sainfo->id_i)
1837 /* get sainfo */
1870 iph2[n]->sainfo = getsainfo(idsrc, iddst, NULL, remoteid);
1873 if (iph2[n]->sainfo
[all...]
H A Disakmp_quick.c86 #include "sainfo.h"
1066 /* get sainfo */
1070 "failed to get sainfo.\n");
1799 * get remote's sainfo.
1871 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1872 if (iph2->sainfo == NULL) {
1874 "failed to get sainfo.\n");
1880 if (iph2->sainfo->group != NULL)
1881 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1))
1886 "selected sainfo
[all...]
H A Dcfparse.y73 #include "sainfo.h"
150 static struct sainfo *cur_sainfo;
211 /* sainfo */
1122 /* sainfo */
1128 yyerror("failed to allocate sainfo");
1134 struct sainfo *check;
1159 yyerror("duplicated sainfo: %s",
1365 yyerror("failed to set sainfo xauth group.\n");
H A Dcftoken.l277 /* sainfo */
278 <S_INI>sainfo { BEGIN S_SAINF; YYDB; return(SAINFO); }
284 /* sainfo spec */
H A Dipsec_doi.c77 #include "sainfo.h"
3053 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3117 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3119 iph2->sainfo->pfs_group);
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
H A Dracoon.conf27 sainfo anonymous {
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
H A Dracoon.conf35 sainfo anonymous {
/external/ipsec-tools/
H A Dsetup.c37 #include "sainfo.h"
50 static struct sainfo sainfo; variable in typeref:struct:sainfo
104 sainfo.lifetime = IPSECDOI_ATTR_SA_LD_SEC_DEFAULT;
105 sainfo.lifebyte = IPSECDOI_ATTR_SA_LD_KB_MAX;
170 if (!sainfo.algs[class]) {
171 sainfo.algs[class] = p;
173 struct sainfoalg *q = sainfo.algs[class];
278 /* Create sainfo algorithms. */
349 /* sainfo
[all...]

Completed in 4661 milliseconds