diff options
author | lynne <lynne@voltanet.io> | 2020-04-15 19:49:41 +0200 |
---|---|---|
committer | lynne <lynne@voltanet.io> | 2020-04-29 18:27:17 +0200 |
commit | 2d1aa1e8875ea38d6d2c2c79cca849399044261a (patch) | |
tree | 03bbd5094f44f0cbf3c51dc483951c27442ea20f /ldpd/lde.h | |
parent | Merge pull request #6230 from donaldsharp/nhrp_json_silliness (diff) | |
download | frr-2d1aa1e8875ea38d6d2c2c79cca849399044261a.tar.xz frr-2d1aa1e8875ea38d6d2c2c79cca849399044261a.zip |
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/lde.h')
-rw-r--r-- | ldpd/lde.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ldpd/lde.h b/ldpd/lde.h index 36196a3d0..2895e00ae 100644 --- a/ldpd/lde.h +++ b/ldpd/lde.h @@ -168,6 +168,9 @@ void lde_send_labelwithdraw_pwid_wcard(struct lde_nbr *, uint16_t, uint32_t); void lde_send_labelrelease(struct lde_nbr *, struct fec_node *, struct map *, uint32_t); +void lde_send_labelrequest(struct lde_nbr *, struct fec_node *, + struct map *, int); +void lde_send_labelrequest_wcard(struct lde_nbr *, uint16_t af); void lde_send_notification(struct lde_nbr *, uint32_t, uint32_t, uint16_t); void lde_send_notification_eol_prefix(struct lde_nbr *, int); @@ -183,7 +186,10 @@ void lde_req_del(struct lde_nbr *, struct lde_req *, int); struct lde_wdraw *lde_wdraw_add(struct lde_nbr *, struct fec_node *); void lde_wdraw_del(struct lde_nbr *, struct lde_wdraw *); void lde_change_egress_label(int); -void lde_change_host_label(int); +void lde_change_allocate_filter(int); +void lde_change_advertise_filter(int); +void lde_change_accept_filter(int); +void lde_change_expnull_for_filter(int); struct lde_addr *lde_address_find(struct lde_nbr *, int, union ldpd_addr *); |