.. Copyright (c) 2022, 2023, Panagiotis Tsirigotis This file is part of linuxnet-qos. linuxnet-qos is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU Affero General Public License as published by the Free Software Foundation. linuxnet-qos is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with linuxnet-qos. If not, see . .. currentmodule:: linuxnet.qos.extension Utility functions ----------------- A number of utility functions provide conversions for the units used by the **tc(8)** command. .. autofunction:: bwstr2int -------------- .. autofunction:: datastr2int -------------- .. autofunction:: unitstr2int -------------- .. autofunction:: timestr2float -------------- .. autofunction:: rate2str