Class: Nl::Linux::Tc::AttributeSets::ActCtinfoAttrs

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

Defined Under Namespace

Classes: Act, Attribute, Pad, ParmsCpmarkMask, ParmsDscpMask, ParmsDscpStatemask, StatsCpmarkSet, StatsDscpError, StatsDscpSet, Tm, Zone

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#act ⇒ String

Returns:

  • (String)

See Also:



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

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

#parms_cpmark_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms_dscp_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms_dscp_statemask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats_cpmark_set ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats_dscp_error ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats_dscp_set ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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

#zone ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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