Class: TCWrapper::QdiscNetem

Inherits:
Qdisc show all
Defined in:
lib/distem/wrapper/tc/qdiscnetem.rb

Constant Summary

TYPE =
"netem"

Constants inherited from Qdisc

TCWrapper::Qdisc::WTYPE

Constants inherited from Wrapper

Wrapper::CMDBIN

Instance Attribute Summary

Attributes inherited from Qdisc

#id, #parentid

Instance Method Summary (collapse)

Methods inherited from Qdisc

#get_cmd

Methods inherited from Wrapper

#add_param, #get_cmd, #get_params

Constructor Details

- (QdiscNetem) initialize(iface, parent, params = Hash.new)

Returns a new instance of QdiscNetem



8
9
10
# File 'lib/distem/wrapper/tc/qdiscnetem.rb', line 8

def initialize(iface,parent,params=Hash.new)
  super(iface,parent,TYPE,params)
end