Class: Nl::Linux::Tc::AttributeSets::ActSkbeditAttrs

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

Defined Under Namespace

Classes: Attribute, Flags, Mark, Mask, Pad, Parms, Priority, Ptype, QueueMapping, QueueMappingMax, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms ⇒ String

Returns:

  • (String)

See Also:



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

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

#priority ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ptype ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#queue_mapping ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#queue_mapping_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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