Class: Nl::Linux::Tc::AttributeSets::TaprioAttrs

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Defined Under Namespace

Classes: AdminSched, Attribute, Flags, Pad, Priomap, SchedBaseTime, SchedClockid, SchedCycleTime, SchedCycleTimeExtension, SchedEntryList, SchedSingleEntry, TcEntry, TxtimeDelay

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



10507
# File 'nl-linux/generated/nl/linux/tc.rb', line 10507

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



10513
# File 'nl-linux/generated/nl/linux/tc.rb', line 10513

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#admin_sched ⇒ String

Returns:

  • (String)

See Also:



10480
# File 'nl-linux/generated/nl/linux/tc.rb', line 10480

def admin_sched; self[:"admin_sched"]&.value; end

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



10492
# File 'nl-linux/generated/nl/linux/tc.rb', line 10492

def flags; self[:"flags"]&.value; end

#priomap ⇒ Structs::TcMqprioQopt

Returns:

See Also:



10460
# File 'nl-linux/generated/nl/linux/tc.rb', line 10460

def priomap; self[:"priomap"]&.value; end

#sched_base_time ⇒ Integer

Returns:

  • (Integer)

See Also:



10468
# File 'nl-linux/generated/nl/linux/tc.rb', line 10468

def sched_base_time; self[:"sched_base_time"]&.value; end

#sched_clockid ⇒ Integer

Returns:

  • (Integer)

See Also:



10476
# File 'nl-linux/generated/nl/linux/tc.rb', line 10476

def sched_clockid; self[:"sched_clockid"]&.value; end

#sched_cycle_time ⇒ Integer

Returns:

  • (Integer)

See Also:



10484
# File 'nl-linux/generated/nl/linux/tc.rb', line 10484

def sched_cycle_time; self[:"sched_cycle_time"]&.value; end

#sched_cycle_time_extension ⇒ Integer

Returns:

  • (Integer)

See Also:



10488
# File 'nl-linux/generated/nl/linux/tc.rb', line 10488

def sched_cycle_time_extension; self[:"sched_cycle_time_extension"]&.value; end

#sched_entry_list ⇒ AttributeSets::TaprioSchedEntryList



10464
# File 'nl-linux/generated/nl/linux/tc.rb', line 10464

def sched_entry_list; self[:"sched_entry_list"]&.value; end

#sched_single_entry ⇒ AttributeSets::TaprioSchedEntry



10472
# File 'nl-linux/generated/nl/linux/tc.rb', line 10472

def sched_single_entry; self[:"sched_single_entry"]&.value; end

#tc_entry ⇒ AttributeSets::TaprioTcEntryAttrs



10500
# File 'nl-linux/generated/nl/linux/tc.rb', line 10500

def tc_entry; self[:"tc_entry"]&.value; end

#txtime_delay ⇒ Integer

Returns:

  • (Integer)

See Also:



10496
# File 'nl-linux/generated/nl/linux/tc.rb', line 10496

def txtime_delay; self[:"txtime_delay"]&.value; end