summaryrefslogtreecommitdiff
path: root/ldpd/ldpd.h
diff options
context:
space:
mode:
authorlynne <lynne@voltanet.io>2020-04-15 13:49:41 -0400
committerlynne <lynne@voltanet.io>2020-04-29 12:27:17 -0400
commit2d1aa1e8875ea38d6d2c2c79cca849399044261a (patch)
tree03bbd5094f44f0cbf3c51dc483951c27442ea20f /ldpd/ldpd.h
parent5406061b2df1e7c57d514540007a53bb0ee74c00 (diff)
ldpd: fix ACL rule modification
Changes to ACL rules were not applied to LDP. This fix allows LDP to be notified when a rule in an ACL filter is modified by the user. The filter is properly applied to the LDP session. The filter may cause a LDP session to go down/up or to remove/add labels being advertised/received from a neighbor. Signed-off-by: Lynne Morrison <lynne@voltanet.io> Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'ldpd/ldpd.h')
-rw-r--r--ldpd/ldpd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h
index a736b4ca37..606fb372bb 100644
--- a/ldpd/ldpd.h
+++ b/ldpd/ldpd.h
@@ -151,7 +151,9 @@ enum imsg_type {
IMSG_LOG,
IMSG_ACL_CHECK,
IMSG_INIT,
- IMSG_PW_UPDATE
+ IMSG_PW_UPDATE,
+ IMSG_FILTER_UPDATE,
+ IMSG_NBR_SHUTDOWN
};
struct ldpd_init {
@@ -162,6 +164,11 @@ struct ldpd_init {
unsigned short instance;
};
+struct ldp_access {
+ char name[ACL_NAMSIZ];
+ enum access_type type;
+};
+
union ldpd_addr {
struct in_addr v4;
struct in6_addr v6;