sfq.h 902 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * netlink/route/sch/sfq.c SFQ Qdisc
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation version 2.1
  7. * of the License.
  8. *
  9. * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch>
  10. */
  11. #ifndef NETLINK_SFQ_H_
  12. #define NETLINK_SFQ_H_
  13. #include <netlink/netlink.h>
  14. #include <netlink/route/qdisc.h>
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. extern void rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
  19. extern int rtnl_sfq_get_quantum(struct rtnl_qdisc *);
  20. extern void rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
  21. extern int rtnl_sfq_get_limit(struct rtnl_qdisc *);
  22. extern void rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
  23. extern int rtnl_sfq_get_perturb(struct rtnl_qdisc *);
  24. extern int rtnl_sfq_get_divisor(struct rtnl_qdisc *);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif