HomeSort by: relevance | last modified time | path
    Searched refs:sainfo (Results 1 - 13 of 13) sorted by relevancy

  /src/crypto/dist/ipsec-tools/src/racoon/
sainfo.h 1 /* $NetBSD: sainfo.h,v 1.9 2025/03/07 15:55:29 christos Exp $ */
3 /* Id: sainfo.h,v 1.5 2006/07/09 17:19:38 manubsd Exp */
43 struct sainfo { struct
65 LIST_ENTRY(sainfo) chain;
75 extern struct sainfo *getsainfo(const vchar_t *,
77 extern struct sainfo *newsainfo(void);
78 extern void delsainfo(struct sainfo *);
79 extern void inssainfo(struct sainfo *);
80 extern void remsainfo(struct sainfo *);
86 extern const char * sainfo2str(const struct sainfo *);
    [all...]
sainfo.c 1 /* $NetBSD: sainfo.c,v 1.17 2025/03/07 15:55:29 christos Exp $ */
3 /* $KAME: sainfo.c,v 1.16 2003/06/27 07:32:39 sakane Exp $ */
64 #include "sainfo.h"
67 typedef LIST_HEAD(_sitree, sainfo) sainfo_tailq_head_t;
77 * First pass is for sainfo from a specified peer, second for others.
79 struct sainfo *
83 struct sainfo *s = NULL;
124 "evaluating sainfo: %s\n", sainfostr);
141 * This sainfo section enforces client address
153 * with another sainfo to check for duplicate
    [all...]
proposal.h 184 struct sainfo;
198 extern int set_satrnsbysainfo(struct saproto *, struct sainfo *);
proposal.c 63 #include "sainfo.h"
627 set_satrnsbysainfo(struct saproto *pr, struct sainfo *sainfo)
635 if (sainfo->algs[algclass_ipsec_auth] == NULL) {
641 for (a = sainfo->algs[algclass_ipsec_auth]; a; a = a->next) {
662 if (sainfo->algs[algclass_ipsec_enc] == NULL) {
668 for (a = sainfo->algs[algclass_ipsec_enc]; a; a = a->next) {
669 for (b = sainfo->algs[algclass_ipsec_auth]; b; b = b->next) {
688 if (sainfo->algs[algclass_ipsec_comp] == NULL) {
694 for (a = sainfo->algs[algclass_ipsec_comp]; a; a = a->next)
    [all...]
handler.c 79 #include "sainfo.h"
1207 struct sainfo *sainfo; local
1212 * Get the new sainfo using values of the old one
1214 if (iph2->sainfo != NULL) {
1215 iph2->sainfo = getsainfo(iph2->sainfo->idsrc,
1216 iph2->sainfo->iddst, iph2->sainfo->id_i,
1217 NULL, iph2->sainfo->remoteid)
    [all...]
handler.h 280 * tunnel, they are compared to sainfo selectors.
321 struct sainfo *sainfo; /* place holder of sainfo */ member in struct:ph2handle
isakmp_quick.c 83 #include "sainfo.h"
1329 /* get sainfo */
1333 "failed to get sainfo.\n");
2114 * get remote's sainfo.
2173 /* obtain a matching sainfo section */
2174 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, client, iph2->ph1->rmconf->ph1id);
2175 if (iph2->sainfo == NULL) {
2177 "failed to get sainfo.\n");
2183 if (iph2->sainfo->group != NULL)
2184 if(group_check(iph2->ph1,&iph2->sainfo->group->v,1)
    [all...]
cfparse.y 73 #include "sainfo.h"
142 static struct sainfo *cur_sainfo = NULL;
325 /* sainfo */
326 %token SAINFO FROM
1444 /* sainfo */
1446 : SAINFO
1451 yyerror("failed to allocate sainfo");
1458 struct sainfo *check;
1486 yyerror("duplicated sainfo: %s",
1708 yyerror("failed to set sainfo xauth group.\n")
    [all...]
ipsec_doi.c 77 #include "sainfo.h"
2954 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3018 if (alg_oakley_dhdef_ok(iph2->sainfo->pfs_group))
3020 iph2->sainfo->pfs_group);
isakmp.c 94 #include "sainfo.h"
2220 /* get sainfo */
2248 iph2->sainfo = getsainfo(idsrc, iddst, NULL, NULL, remoteid);
2251 if (iph2->sainfo == NULL) {
2253 "failed to get sainfo.\n");
2259 "selected sainfo: %s\n", sainfo2str(iph2->sainfo));
  /src/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/client/
racoon.conf 27 sainfo anonymous {
  /src/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/server/
racoon.conf 35 sainfo anonymous {
  /src/usr.sbin/racoon/
Makefile 15 proposal.c remoteconf.c safefile.c sainfo.c schedule.c session.c \

Completed in 24 milliseconds