Class: Nl::Linux::Tc::AttributeSets::ActGateAttrs

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

Defined Under Namespace

Classes: Attribute, BaseTime, Clockid, CycleTime, CycleTimeExt, EntryList, Flags, Pad, Parms, Priority, Tm

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#base_time ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#clockid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#cycle_time ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#cycle_time_ext ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#entry_list ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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