libnl: /data/src/libnl3/include/netlink/route/qdisc/fifo.h Source File

libnl 3.7.0

fifo.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
4 */
5
6 #ifndef NETLINK_FIFO_H_
7 #define NETLINK_FIFO_H_
8
9 #include <netlink/netlink.h>
10 #include <netlink/route/qdisc.h>
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 extern int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *, int);
17 extern int rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *);
18
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif
rtnl_qdisc_fifo_get_limit
int rtnl_qdisc_fifo_get_limit(struct rtnl_qdisc *)
Get limit of a FIFO qdisc.
Definition: fifo.c:118
rtnl_qdisc_fifo_set_limit
int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *, int)
Set limit of FIFO qdisc.
Definition: fifo.c:100