]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_labelpool.h
Merge pull request #5703 from ton31337/feature/limit_outgoing_prefixes
[mirror_frr.git] / bgpd / bgp_labelpool.h
index 0507e65489e4cd7405cd43329d775e140c7ec983..eaa3fce20b107dc793d9f8980058f12cddc83b78 100644 (file)
 #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 */
 };