MCPcopy
hub / github.com/vishvananda/netlink / ClassList

Function ClassList

class_linux.go:208–210  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

206// If the returned error is [ErrDumpInterrupted], results may be inconsistent
207// or incomplete.
208func 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`.

Callers 1

SafeClassListFunction · 0.85

Calls 1

ClassListMethod · 0.45

Tested by 1

SafeClassListFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…