Lines Matching refs:capi
13 from .. import capi as capi unknown
23 return tc.Handle(capi.rtnl_htb_get_defcls(self._qdisc._rtnl_qdisc))
27 capi.rtnl_htb_set_defcls(self._qdisc._rtnl_qdisc, int(value))
32 return capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc)
36 capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc,
56 rate = capi.rtnl_htb_get_rate(self._class._rtnl_class)
61 capi.rtnl_htb_set_rate(self._class._rtnl_class, int(value))
66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class)
71 capi.rtnl_htb_set_ceil(self._class._rtnl_class, int(value))
76 burst = capi.rtnl_htb_get_rbuffer(self._class._rtnl_class)
81 capi.rtnl_htb_set_rbuffer(self._class._rtnl_class, int(value))
86 burst = capi.rtnl_htb_get_cbuffer(self._class._rtnl_class)
91 capi.rtnl_htb_set_cbuffer(self._class._rtnl_class, int(value))
96 return capi.rtnl_htb_get_prio(self._class._rtnl_class)
100 capi.rtnl_htb_set_prio(self._class._rtnl_class, int(value))
105 return capi.rtnl_htb_get_quantum(self._class._rtnl_class)
109 capi.rtnl_htb_set_quantum(self._class._rtnl_class, int(value))
114 return capi.rtnl_htb_get_level(self._class._rtnl_class)
118 capi.rtnl_htb_set_level(self._class._rtnl_class, int(value))