CVSROOT: /cvs Module name: src Changes by: [email protected] 2023/04/19 01:09:47
Modified files:
usr.sbin/bgpd : rde.h rde_prefix.c
Log message:
Extend the pt_entry api to handle flowspec.
Introduce pt_get_flow() and pt_add_flow() to lookup and insert flowspec
objects. Add pt_getflowspec() which works somewhat similar to pt_getaddr()
to extract the flowspec NLRI from a pt_entry.
Make pt_getaddr() to return the destination prefix of the flowspec rule and
handle flowspec in pt_write().
OK tb@
