summaryrefslogtreecommitdiff
path: root/bgpd/bgp_script.h
AgeCommit message (Collapse)Author
2024-09-17bgpd: remove bgpd.h from bgp script headerMark Stapp
Use forward references instead of including the main bgpd.h header in the bgp scripting header to reduce external impact of changes. Signed-off-by: Mark Stapp <mjs@cisco.com>
2023-02-09*: auto-convert to SPDX License IDsDavid Lamparter
Done with a combination of regex'ing and banging my head against a wall. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-06-22bgpd: Update bgp_script encoders and decodersDonald Lee
This is an example of creating encoders and decoders for user defined structs and registering them in the ENCODE_ARGS DECODE_ARGS macro in frrscript. Signed-off-by: Donald Lee <dlqs@gmx.com>
2020-12-01build: HAVE_LUA -> HAVE_SCRIPTINGQuentin Young
And also guard all scripting-related stuff with HAVE_SCRIPTING. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2020-12-01bgpd: update routemap scripting exampleQuentin Young
- Change from "match command <foo>" to "match script <script>" - Use new scripting API Signed-off-by: Quentin Young <qlyoung@nvidia.com>