diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-11 19:23:35 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-12-01 18:37:14 -0500 |
| commit | 0fe6a43d9040524f6715adaaf8f9d7d7aa28a53e (patch) | |
| tree | d880c84634828e863efcacea7c3c498eb24e3467 /lib/frrlua.h | |
| parent | f93716445925f81c5e257e276a5bcc5cd7d74afd (diff) | |
lib: move bgp routemap stuff out of frrlua.[ch]
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index 56c43b7755..f77842b445 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -32,31 +32,6 @@ extern "C" { #endif /* - * Status enum for Lua routemap processing results - */ -enum frrlua_rm_status { - /* - * Script function run failure. This will translate into a - * deny - */ - LUA_RM_FAILURE = 0, - /* - * No Match was found for the route map function - */ - LUA_RM_NOMATCH, - /* - * Match was found but no changes were made to the - * incoming data. - */ - LUA_RM_MATCH, - /* - * Match was found and data was modified, so - * figure out what changed - */ - LUA_RM_MATCH_AND_CHANGE, -}; - -/* * Pushes a new table containing relevant fields from a prefix structure. * * Additionally sets the global variable "prefix" to point at this table. @@ -69,11 +44,6 @@ void frrlua_newtable_prefix(lua_State *L, const struct prefix *prefix); void frrlua_newtable_interface(lua_State *L, const struct interface *ifp); /* - * Runs a routemap rule or something - */ -enum frrlua_rm_status frrlua_run_rm_rule(lua_State *L, const char *rule); - -/* * Retrieve a string from table on the top of the stack. * * key |
