2006-06-12 08:42:32 +00:00
|
|
|
%{
|
2018-05-23 14:04:50 +00:00
|
|
|
/*
|
2006-06-12 08:42:32 +00:00
|
|
|
* Copyright (C) 2006 Andreas Steffen
|
2018-05-23 14:04:50 +00:00
|
|
|
* HSR Hochschule fuer Technik Rapperswil
|
2006-06-12 08:42:32 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "stroke_keywords.h"
|
|
|
|
|
|
|
|
%}
|
|
|
|
struct stroke_token {
|
|
|
|
char *name;
|
|
|
|
stroke_keyword_t kw;
|
|
|
|
};
|
|
|
|
%%
|
2007-02-14 01:03:08 +00:00
|
|
|
add, STROKE_ADD
|
|
|
|
del, STROKE_DEL
|
|
|
|
delete, STROKE_DELETE
|
|
|
|
route, STROKE_ROUTE
|
|
|
|
unroute, STROKE_UNROUTE
|
|
|
|
up, STROKE_UP
|
2013-06-16 14:30:21 +00:00
|
|
|
up-nb, STROKE_UP_NOBLK
|
2007-02-14 01:03:08 +00:00
|
|
|
down, STROKE_DOWN
|
2013-06-16 14:30:21 +00:00
|
|
|
down-nb, STROKE_DOWN_NOBLK
|
2008-07-01 13:47:26 +00:00
|
|
|
down-srcip, STROKE_DOWN_SRCIP
|
2010-11-03 14:12:05 +00:00
|
|
|
rekey, STROKE_REKEY
|
2007-02-14 01:03:08 +00:00
|
|
|
loglevel, STROKE_LOGLEVEL
|
|
|
|
status, STROKE_STATUS
|
|
|
|
statusall, STROKE_STATUSALL
|
2011-05-04 09:21:33 +00:00
|
|
|
statusallnb, STROKE_STATUSALL_NOBLK
|
2013-06-21 08:43:46 +00:00
|
|
|
statusall-nb, STROKE_STATUSALL_NOBLK
|
2008-10-08 07:00:13 +00:00
|
|
|
listpubkeys, STROKE_LIST_PUBKEYS
|
2007-02-14 01:03:08 +00:00
|
|
|
listcerts, STROKE_LIST_CERTS
|
|
|
|
listcacerts, STROKE_LIST_CACERTS
|
|
|
|
listocspcerts, STROKE_LIST_OCSPCERTS
|
2007-04-14 17:33:02 +00:00
|
|
|
listaacerts, STROKE_LIST_AACERTS
|
|
|
|
listacerts, STROKE_LIST_ACERTS
|
|
|
|
listgroups, STROKE_LIST_GROUPS
|
2007-02-14 01:03:08 +00:00
|
|
|
listcainfos, STROKE_LIST_CAINFOS
|
|
|
|
listcrls, STROKE_LIST_CRLS
|
|
|
|
listocsp, STROKE_LIST_OCSP
|
2008-08-28 09:24:42 +00:00
|
|
|
listalgs, STROKE_LIST_ALGS
|
2011-06-29 13:45:32 +00:00
|
|
|
listplugins, STROKE_LIST_PLUGINS
|
2007-02-14 01:03:08 +00:00
|
|
|
listall, STROKE_LIST_ALL
|
2007-08-10 10:00:59 +00:00
|
|
|
rereadsecrets, STROKE_REREAD_SECRETS
|
2007-02-14 01:03:08 +00:00
|
|
|
rereadcacerts, STROKE_REREAD_CACERTS
|
|
|
|
rereadocspcerts, STROKE_REREAD_OCSPCERTS
|
2008-12-10 13:00:02 +00:00
|
|
|
rereadaacerts, STROKE_REREAD_AACERTS
|
|
|
|
rereadacerts, STROKE_REREAD_ACERTS
|
2007-02-14 01:03:08 +00:00
|
|
|
rereadcrls, STROKE_REREAD_CRLS
|
|
|
|
rereadall, STROKE_REREAD_ALL
|
|
|
|
purgeocsp, STROKE_PURGE_OCSP
|
2010-12-10 10:16:39 +00:00
|
|
|
purgecrls, STROKE_PURGE_CRLS
|
|
|
|
purgecerts, STROKE_PURGE_CERTS
|
2009-05-15 09:02:04 +00:00
|
|
|
purgeike, STROKE_PURGE_IKE
|
2010-08-10 14:57:14 +00:00
|
|
|
exportx509, STROKE_EXPORT_X509
|
2013-06-14 09:22:14 +00:00
|
|
|
exportconncert, STROKE_EXPORT_CONN_CERT
|
|
|
|
exportconnchain, STROKE_EXPORT_CONN_CHAIN
|
2008-12-10 13:00:02 +00:00
|
|
|
leases, STROKE_LEASES
|
2011-04-29 13:13:15 +00:00
|
|
|
memusage, STROKE_MEMUSAGE
|
2012-04-17 09:18:37 +00:00
|
|
|
user-creds, STROKE_USER_CREDS
|
2013-03-15 09:41:04 +00:00
|
|
|
listcounters, STROKE_COUNTERS
|
2013-03-15 09:55:22 +00:00
|
|
|
resetcounters, STROKE_COUNTERS_RESET
|