Class: Nl::Linux::Tc::AttributeSets::ActCtAttrs

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

Defined Under Namespace

Classes: Action, Attribute, HelperFamily, HelperName, HelperProto, Labels, LabelsMask, Mark, MarkMask, NatIpv4Max, NatIpv4Min, NatIpv6Max, NatIpv6Min, NatPortMax, NatPortMin, Pad, Parms, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#action ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#helper_family ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#helper_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#helper_proto ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#labels ⇒ String

Returns:

  • (String)

See Also:



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

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

#labels_mask ⇒ String

Returns:

  • (String)

See Also:



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

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

#mark ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mark_mask ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_ipv4_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_ipv4_min ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_ipv6_max ⇒ String

Returns:

  • (String)

See Also:



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

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

#nat_ipv6_min ⇒ String

Returns:

  • (String)

See Also:



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

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

#nat_port_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#nat_port_min ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms ⇒ String

Returns:

  • (String)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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

#zone ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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