]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Update bgp_script encoders and decoders
authorDonald Lee <dlqs@gmx.com>
Mon, 21 Jun 2021 21:03:07 +0000 (05:03 +0800)
committerDonald Lee <dlqs@gmx.com>
Mon, 21 Jun 2021 21:03:07 +0000 (05:03 +0800)
commitb7da61c1d1b2824b139bfce73b1d6849d4b75b6a
treef2462d0d2710228d1b74795a976f74798031e63e
parentbdc1085d7b84514f978e2752352c6ddd34bb88e0
bgpd: Update bgp_script encoders and decoders

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>
bgpd/bgp_script.c
bgpd/bgp_script.h
lib/frrscript.h