/* SPDX-License-Identifier: LGPL-2.1-only */ /* * Copyright (c) 2013 Cong Wang */ #ifndef NETLINK_FQ_CODEL_H_ #define NETLINK_FQ_CODEL_H_ #include #include #ifdef __cplusplus extern "C" { #endif extern int rtnl_qdisc_fq_codel_set_limit(struct rtnl_qdisc *, int); extern int rtnl_qdisc_fq_codel_get_limit(struct rtnl_qdisc *); extern int rtnl_qdisc_fq_codel_set_target(struct rtnl_qdisc *, uint32_t); extern uint32_t rtnl_qdisc_fq_codel_get_target(struct rtnl_qdisc *); extern int rtnl_qdisc_fq_codel_set_interval(struct rtnl_qdisc *, uint32_t); extern uint32_t rtnl_qdisc_fq_codel_get_interval(struct rtnl_qdisc *); extern int rtnl_qdisc_fq_codel_set_quantum(struct rtnl_qdisc *, uint32_t); extern uint32_t rtnl_qdisc_fq_codel_get_quantum(struct rtnl_qdisc *); extern int rtnl_qdisc_fq_codel_set_flows(struct rtnl_qdisc *, int); extern int rtnl_qdisc_fq_codel_get_flows(struct rtnl_qdisc *); extern int rtnl_qdisc_fq_codel_set_ecn(struct rtnl_qdisc *, int); extern int rtnl_qdisc_fq_codel_get_ecn(struct rtnl_qdisc *); #ifdef __cplusplus } #endif #endif