Home
last modified time | relevance | path

Searched refs:sainfo (Results 1 – 23 of 23) sorted by relevance

/external/ipsec-tools/src/racoon/
Dsainfo.h40 struct sainfo { struct
61 LIST_ENTRY(sainfo) chain; argument
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 *));
Dsainfo.c67 static LIST_HEAD(_sitree, sainfo) sitree, sitree_save, sitree_tmp;
78 struct sainfo *
83 struct sainfo *s = NULL;
84 struct sainfo *anonymous = NULL;
163 struct sainfo *
166 struct sainfo *new; in newsainfo()
180 struct sainfo *si; in delsainfo()
202 struct sainfo *new; in inssainfo()
209 struct sainfo *si; in remsainfo()
217 struct sainfo *s, *next; in flushsainfo()
[all …]
Dhandler.c1079 struct sainfo *sainfo; in revalidate_ph2() local
1086 if (iph2->sainfo != NULL) { in revalidate_ph2()
1087 iph2->sainfo = getsainfo(iph2->sainfo->idsrc, in revalidate_ph2()
1088 iph2->sainfo->iddst, iph2->sainfo->id_i, in revalidate_ph2()
1089 iph2->sainfo->remoteid); in revalidate_ph2()
1092 sainfo = iph2->sainfo; in revalidate_ph2()
1094 if (sainfo == NULL) { in revalidate_ph2()
1153 if (sainfo->lifetime < approval->lifetime) { in revalidate_ph2()
1162 if (sainfo->lifebyte < approval->lifebyte) { in revalidate_ph2()
1169 if (sainfo->pfs_group && in revalidate_ph2()
[all …]
Dproposal.c637 set_satrnsbysainfo(pr, sainfo) in set_satrnsbysainfo() argument
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->algs[algclass_ipsec_comp] == NULL) {
706 for (a = sainfo->algs[algclass_ipsec_comp]; a; a = a->next) {
1047 newpp->lifetime = iph2->sainfo->lifetime;
[all …]
Dproposal.h184 struct sainfo;
198 extern int set_satrnsbysainfo __P((struct saproto *, struct sainfo *));
Dhandler.h288 struct sainfo *sainfo; /* place holder of sainfo */ member
Dpfkey.c853 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)
1870 iph2[n]->sainfo = getsainfo(idsrc, iddst, NULL, remoteid);
1873 if (iph2[n]->sainfo == NULL) {
1882 "selected sainfo: %s\n", sainfo2str(iph2[n]->sainfo));
Disakmp_quick.c1870 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1871 if (iph2->sainfo == NULL) {
1879 if (iph2->sainfo->group != NULL)
1880 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1))
1885 "selected sainfo: %s\n", sainfo2str(iph2->sainfo));
DMakefile.in86 algorithm.$(OBJEXT) proposal.$(OBJEXT) sainfo.$(OBJEXT) \
530 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sainfo.Po@am__quote@
Dcfparse.y150 static struct sainfo *cur_sainfo;
1134 struct sainfo *check;
Dipsec_doi.c3057 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3121 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3123 iph2->sainfo->pfs_group);
/external/ipsec-tools/
Dsetup.c59 static struct sainfo sainfo; variable
77 if (!sainfo.algs[class]) { in add_sainfo_algorithm()
78 sainfo.algs[class] = p; in add_sainfo_algorithm()
80 struct sainfoalg *q = sainfo.algs[class]; in add_sainfo_algorithm()
167 sainfo.lifetime = IPSECDOI_ATTR_SA_LD_SEC_DEFAULT; in set_globals()
168 sainfo.lifebyte = IPSECDOI_ATTR_SA_LD_KB_MAX; in set_globals()
684 struct sainfo *getsainfo(const vchar_t *src, const vchar_t *dst, in getsainfo()
687 return &sainfo; in getsainfo()
690 const char *sainfo2str(const struct sainfo *si) in sainfo2str()
DChangeLog266 src/racoon/remoteconf.c, src/racoon/sainfo.c,
505 * src/racoon/sainfo.c: Correct issues associated with anonymous
506 sainfo selection in racoon.
528 * src/racoon/sainfo.c: From Matthew Grooms: use
563 * src/racoon/: handler.c, isakmp_quick.c, pfkey.c, sainfo.c: Uses
566 * src/racoon/: remoteconf.h, sainfo.h: Added remoteid/ph1id values
DNEWS48 o Group membership checks for Xauth and sainfo selection
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.in96 sainfo anonymous
104 sainfo address 203.178.141.209 any address 203.178.141.218 any
113 sainfo address ::1 icmp6 address ::1 icmp6
Dracoon.conf.sample-inherit48 sainfo anonymous
Dracoon.conf.sample-plainrsa39 sainfo anonymous
Dracoon.conf.sample-gssapi37 sainfo anonymous {
Dracoon.conf.sample54 sainfo anonymous
Dracoon.conf.sample-natt90 sainfo anonymous
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dracoon.conf27 sainfo anonymous {
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf35 sainfo anonymous {
Dracoon.conf-radius35 sainfo anonymous {