summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpe.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-03 21:50:22 +0100
committerRenato Westphal <renato@opensourcerouting.org>2017-03-03 21:50:22 +0100
commit257799cdb69707f7bea43b118c9787458d1d81ba (patch)
treef3ded89e87ac55271d14630c5918ea48116cd4a0 /ldpd/ldpe.h
parentldpd: implement RFC 6667 (Typed Wildcard FEC for PWid) (diff)
downloadfrr-257799cdb69707f7bea43b118c9787458d1d81ba.tar.xz
frr-257799cdb69707f7bea43b118c9787458d1d81ba.zip
ldpd: implement RFC 5919 (LDP End-of-LIB)
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/ldpe.h')
-rw-r--r--ldpd/ldpe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldpd/ldpe.h b/ldpd/ldpe.h
index 24512989d..2bd0568d6 100644
--- a/ldpd/ldpe.h
+++ b/ldpd/ldpe.h
@@ -113,6 +113,7 @@ struct nbr {
#define F_NBR_GTSM_NEGOTIATED 0x01
#define F_NBR_CAP_DYNAMIC 0x02
#define F_NBR_CAP_TWCARD 0x04
+#define F_NBR_CAP_UNOTIF 0x08
RB_HEAD(nbr_id_head, nbr);
RB_PROTOTYPE(nbr_id_head, nbr, id_tree, nbr_id_compare)
@@ -186,6 +187,7 @@ int recv_address(struct nbr *, char *, uint16_t);
void send_labelmessage(struct nbr *, uint16_t, struct mapping_head *);
int recv_labelmessage(struct nbr *, char *, uint16_t, uint16_t);
int gen_pw_status_tlv(struct ibuf *, uint32_t);
+uint16_t len_fec_tlv(struct map *);
int gen_fec_tlv(struct ibuf *, struct map *);
int tlv_decode_fec_elm(struct nbr *, struct ldp_msg *, char *,
uint16_t, struct map *);