]> git.ipfire.org Git - thirdparty/bird.git/commit
Flowspec: Add code for conversion of flowspec parts to interval lists
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 14 May 2021 16:33:15 +0000 (18:33 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Fri, 14 May 2021 16:33:15 +0000 (18:33 +0200)
commit69a33c92ffce12d173794508cc9d8acfa87d1dc3
treead41fb869fe88951d7b0ea86263320d6e954705e
parentc1511b92cc9c215224314be38c28ed80843f55e4
Flowspec: Add code for conversion of flowspec parts to interval lists

Implement function flow_explicate_part() to convert flowspec numeric
expressions to a simple list of (disjoint, sorted) intervals. That could
be used in filters to build f_tree-based int-sets from them.
lib/flowspec.c