]>
git.proxmox.com Git - mirror_frr.git/blob - isisd/isis_tx_queue.h
2 * IS-IS Rout(e)ing protocol - LSP TX Queuing logic
4 * Copyright (C) 2018 Christian Franke
6 * This file is part of FreeRangeRouting (FRR)
8 * FRR is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
13 * FRR is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; see the file COPYING; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef ISIS_TX_QUEUE_H
23 #define ISIS_TX_QUEUE_H
32 struct isis_tx_queue
*isis_tx_queue_new(void *arg
,
33 void(*send_event
)(void *arg
,
37 void isis_tx_queue_free(struct isis_tx_queue
*queue
);
39 void isis_tx_queue_add(struct isis_tx_queue
*queue
,
41 enum isis_tx_type type
);
43 void isis_tx_queue_del(struct isis_tx_queue
*queue
, struct isis_lsp
*lsp
);
45 unsigned long isis_tx_queue_len(struct isis_tx_queue
*queue
);
47 void isis_tx_queue_clean(struct isis_tx_queue
*queue
);