summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-02-04 15:21:16 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-04 15:21:16 +0100
commit92e48894c379862003efe0a752411751e298b54e (patch)
tree3e6c4b955ba4893ff066e4ebd70e5d1db867a81f /nest/attrs.h
parent28a43d53e7189524ad6312d04a5d12c90f27212d (diff)
parent75aceadaf746f8ed0acce0424f89903283dacf16 (diff)
Merge commit '75aceadaf746f8ed0acce0424f89903283dacf16' into sark-bgp-rebased
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index 50da817b..ef2b95e6 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -218,6 +218,12 @@ struct adata *ec_set_del_nontrans(struct linpool *pool, const struct adata *set)
struct adata *int_set_sort(struct linpool *pool, const struct adata *src);
struct adata *ec_set_sort(struct linpool *pool, const struct adata *src);
struct adata *lc_set_sort(struct linpool *pool, const struct adata *src);
+int int_set_min(const struct adata *list, u32 *val);
+int ec_set_min(const struct adata *list, u64 *val);
+int lc_set_min(const struct adata *list, lcomm *val);
+int int_set_max(const struct adata *list, u32 *val);
+int ec_set_max(const struct adata *list, u64 *val);
+int lc_set_max(const struct adata *list, lcomm *val);
void ec_set_sort_x(struct adata *set); /* Sort in place */