]> git.proxmox.com Git - mirror_frr.git/blobdiff - ldpd/ldp.h
Merge pull request #5288 from SumitAgarwal123/bfd_docs
[mirror_frr.git] / ldpd / ldp.h
index 2edf0475c9fae130918e2849e51fecf6088c59bc..cac3da7c55d0259a5310e6e92cc9b30f294dfd61 100644 (file)
@@ -93,6 +93,7 @@
 #define TLV_TYPE_FRSESSION     0x0502
 #define TLV_TYPE_LABELREQUEST  0x0600
 /* RFC 4447 */
+#define TLV_TYPE_MAC_LIST      0x8404
 #define TLV_TYPE_PW_STATUS     0x896A
 #define TLV_TYPE_PW_IF_PARAM   0x096B
 #define TLV_TYPE_PW_GROUP_ID   0x096C
 #define TLV_TYPE_DYNAMIC_CAP   0x8506
 /* RFC 5918 */
 #define TLV_TYPE_TWCARD_CAP    0x850B
+/* RFC 5919 */
+#define TLV_TYPE_UNOTIF_CAP    0x8603
 /* RFC 7552 */
 #define TLV_TYPE_DUALSTACK     0x8701
 
@@ -204,6 +207,8 @@ struct hello_prms_opt16_tlv {
 #define S_WITHDRAW_MTHD        0x0000002B
 /* RFC 5561 */
 #define        S_UNSSUPORTDCAP 0x0000002E
+/* RFC 5919 */
+#define        S_ENDOFLIB      0x0000002F
 /* RFC 7552 */
 #define        S_TRANS_MISMTCH 0x80000032
 #define        S_DS_NONCMPLNCE 0x80000033
@@ -244,6 +249,7 @@ struct capability_tlv {
 
 #define F_CAP_TLV_RCVD_DYNAMIC 0x01
 #define F_CAP_TLV_RCVD_TWCARD  0x02
+#define F_CAP_TLV_RCVD_UNOTIF  0x04
 
 #define CAP_TLV_DYNAMIC_SIZE   5
 #define CAP_TLV_DYNAMIC_LEN    1
@@ -251,6 +257,9 @@ struct capability_tlv {
 #define CAP_TLV_TWCARD_SIZE    5
 #define CAP_TLV_TWCARD_LEN     1
 
+#define CAP_TLV_UNOTIF_SIZE    5
+#define CAP_TLV_UNOTIF_LEN     1
+
 #define        AF_IPV4                 0x1
 #define        AF_IPV6                 0x2
 
@@ -276,10 +285,10 @@ struct address_list_tlv {
 #define        MAP_TYPE_GENPWID        0x81
 
 #define CONTROL_WORD_FLAG      0x8000
-#define PW_TYPE_ETHERNET_TAGGED        0x0004
-#define PW_TYPE_ETHERNET       0x0005
 #define DEFAULT_PW_TYPE                PW_TYPE_ETHERNET
 
+#define PW_TWCARD_RESERVED_BIT 0x8000
+
 /* RFC 4447 Sub-TLV record */
 struct subtlv {
        uint8_t         type;