Home | History | Annotate | Download | only in sch
      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-2006 Thomas Graf <tgraf (at) suug.ch>
     10  */
     11 
     12 #ifndef NETLINK_SFQ_H_
     13 #define NETLINK_SFQ_H_
     14 
     15 #include <netlink/netlink.h>
     16 
     17 #ifdef __cplusplus
     18 extern "C" {
     19 #endif
     20 
     21 extern int	rtnl_sfq_set_quantum(struct rtnl_qdisc *, int);
     22 extern int	rtnl_sfq_get_quantum(struct rtnl_qdisc *);
     23 
     24 extern int	rtnl_sfq_set_limit(struct rtnl_qdisc *, int);
     25 extern int	rtnl_sfq_get_limit(struct rtnl_qdisc *);
     26 
     27 extern int	rtnl_sfq_set_perturb(struct rtnl_qdisc *, int);
     28 extern int	rtnl_sfq_get_perturb(struct rtnl_qdisc *);
     29 
     30 extern int	rtnl_sfq_get_divisor(struct rtnl_qdisc *);
     31 
     32 #ifdef __cplusplus
     33 }
     34 #endif
     35 
     36 #endif
     37