ClassList gets a list of classes in the system. Equivalent to: `tc class show`. Generally returns nothing if link and parent are not specified. If the returned error is [ErrDumpInterrupted], results may be inconsistent or incomplete.
(link Link, parent uint32)
| 206 | // If the returned error is [ErrDumpInterrupted], results may be inconsistent |
| 207 | // or incomplete. |
| 208 | func ClassList(link Link, parent uint32) ([]Class, error) { |
| 209 | return pkgHandle.ClassList(link, parent) |
| 210 | } |
| 211 | |
| 212 | // ClassList gets a list of classes in the system. |
| 213 | // Equivalent to: `tc class show`. |
searching dependent graphs…