// ChainDel will delete a chain from the system. func ChainDel(link Link, chain Chain) error { … } // ChainDel will delete a chain from the system. // Equivalent to: `tc chain del $chain` func (h *Handle) ChainDel(link Link, chain Chain) error { … } // ChainAdd will add a chain to the system. // Equivalent to: `tc chain add` func ChainAdd(link Link, chain Chain) error { … } // ChainAdd will add a chain to the system. // Equivalent to: `tc chain add` func (h *Handle) ChainAdd(link Link, chain Chain) error { … } func (h *Handle) chainModify(cmd, flags int, link Link, chain Chain) error { … } // ChainList gets a list of chains in the system. // Equivalent to: `tc chain list`. // The list can be filtered by link. func ChainList(link Link, parent uint32) ([]Chain, error) { … } // ChainList gets a list of chains in the system. // Equivalent to: `tc chain list`. // The list can be filtered by link. func (h *Handle) ChainList(link Link, parent uint32) ([]Chain, error) { … }