add_qdisc


Description:

public bool add_qdisc (TCQdisc qdisc)

Appends a new qdisc and associated information to the setting.

The given qdisc is duplicated internally and is not changed by this function. If an identical qdisc (considering attributes as well) already exists, the qdisc is not added and the function returns false.

Parameters:

this

the SettingTCConfig

qdisc

the qdisc to add

Returns:

true if the qdisc was added; false if the qdisc was already known.