Function class_for_index

Source
pub fn class_for_index<T: NetlinkConnection>(
    index: u32,
) -> Result<Vec<Tc>, TcError>
Expand description

class_for_index returns a list of all classes for a given interface index. The underlying implementation makes a netlink call with the RTM_GETCLASS command.