diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2021-10-26 15:26:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 15:26:32 -0400 |
| commit | 0c124f75db6b37cd67f643935b04ee40b9ea6b52 (patch) | |
| tree | 3e8a7d13e08e955c16a99dbd29b4afdc9a91e6bd /lib/frrlua.h | |
| parent | d12799878586a9ea5823fc51de5432495c94fe7a (diff) | |
| parent | 30085ba550c6e20e93eecc1d78929f5e5ed1afaa (diff) | |
Merge pull request #9440 from dlqs/dplanehook2
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index 3e16c82e22..a82009a779 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -100,6 +100,10 @@ void lua_pushin6addr(lua_State *L, const struct in6_addr *addr); void lua_decode_in6addr(lua_State *L, int idx, struct in6_addr *addr); +void lua_pushipaddr(lua_State *L, const struct ipaddr *addr); + +void lua_pushethaddr(lua_State *L, const struct ethaddr *addr); + /* * Converts the Lua value at idx to an in6_addr. * @@ -138,6 +142,10 @@ void lua_decode_sockunion(lua_State *L, int idx, union sockunion *su); */ void *lua_tosockunion(lua_State *L, int idx); +void lua_pushnexthop_group(lua_State *L, const struct nexthop_group *ng); + +void lua_pushnexthop(lua_State *L, const struct nexthop *nexthop); + /* * Converts an int to a Lua value and pushes it on the stack. */ |
