Class: Nl::Linux::Tc::AttributeSets::ActTunnelKeyAttrs

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

Defined Under Namespace

Classes: Attribute, EncDstPort, EncIpv4Dst, EncIpv4Src, EncIpv6Dst, EncIpv6Src, EncKeyId, EncOpts, EncTos, EncTtl, NoCsum, NoFrag, Pad, Parms, 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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#enc_dst_port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enc_ipv4_dst ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enc_ipv4_src ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enc_ipv6_dst ⇒ String

Returns:

  • (String)

See Also:



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

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

#enc_ipv6_src ⇒ String

Returns:

  • (String)

See Also:



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

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

#enc_key_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enc_opts ⇒ String

Returns:

  • (String)

See Also:



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

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

#enc_tos ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#enc_ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#no_csum ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#no_frag ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parms ⇒ String

Returns:

  • (String)

See Also:



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

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

#tm ⇒ Structs::TcfT

Returns:

See Also:



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

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