xref: /aosp_15_r20/external/libnl/include/netlink/route/qdisc/plug.h (revision 4dc78e53d49367fa8e61b07018507c90983a077d)
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3  * Copyright (c) 2012 Shriram Rajagopalan <[email protected]>
4  */
5 
6 #ifndef NETLINK_PLUG_H_
7 #define NETLINK_PLUG_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_plug_set_limit(struct rtnl_qdisc *, int);
17 extern int	rtnl_qdisc_plug_buffer(struct rtnl_qdisc *);
18 extern int	rtnl_qdisc_plug_release_one(struct rtnl_qdisc *);
19 extern int	rtnl_qdisc_plug_release_indefinite(struct rtnl_qdisc *);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif
26