]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_labelpool.h
bgpd: Adding BGP GR Global & Per Neighbour FSM changes
[mirror_frr.git] / bgpd / bgp_labelpool.h
index fa35cde0e12616479f50e7d35c5d156d9a9976ed..eaa3fce20b107dc793d9f8980058f12cddc83b78 100644 (file)
  * Types used in bgp_lp_get for debug tracking; add more as needed
  */
 #define LP_TYPE_VRF    0x00000001
+#define LP_TYPE_BGP_LU 0x00000002
+
+PREDECL_LIST(lp_fifo)
 
 struct labelpool {
        struct skiplist         *ledger;        /* all requests */
        struct skiplist         *inuse;         /* individual labels */
        struct list             *chunks;        /* granted by zebra */
-       struct lp_fifo          *requests;      /* blocked on zebra */
+       struct lp_fifo_head     requests;       /* blocked on zebra */
        struct work_queue       *callback_q;
        uint32_t                pending_count;  /* requested from zebra */
 };