Class: Nl::Linux::OvsFlow::AttributeSets::TunnelKeyAttrs

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

Defined Under Namespace

Classes: Attribute, Csum, DontFragment, ErspanOpts, GeneveOpts, Id, Ipv4Dst, Ipv4InfoBridge, Ipv4Src, Ipv6Dst, Ipv6Src, Oam, Pad, Tos, TpDst, TpSrc, Ttl, VxlanOpts

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:



1874
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1874

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



1880
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1880

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

Instance Method Details

#csum ⇒ Integer

Returns:

  • (Integer)

See Also:



1824
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1824

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

#dont_fragment ⇒ Integer

Returns:

  • (Integer)

See Also:



1820
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1820

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

#erspan_opts ⇒ String

struct erspan_metadata

Returns:

  • (String)

See Also:



1863
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1863

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

#geneve_opts ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



1832
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1832

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

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



1800
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1800

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

#ipv4_dst ⇒ Integer

Returns:

  • (Integer)

See Also:



1808
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1808

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

#ipv4_info_bridge ⇒ Integer

Returns:

  • (Integer)

See Also:



1867
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1867

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

#ipv4_src ⇒ Integer

Returns:

  • (Integer)

See Also:



1804
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1804

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

#ipv6_dst ⇒ String

struct in6_addr destination IPv6 address

Returns:

  • (String)

See Also:



1854
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1854

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

#ipv6_src ⇒ String

struct in6_addr source IPv6 address

Returns:

  • (String)

See Also:



1849
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1849

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

#oam ⇒ Integer

Returns:

  • (Integer)

See Also:



1828
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1828

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

#pad ⇒ String

Returns:

  • (String)

See Also:



1858
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1858

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

#tos ⇒ Integer

Returns:

  • (Integer)

See Also:



1812
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1812

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

#tp_dst ⇒ Integer

Returns:

  • (Integer)

See Also:



1840
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1840

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

#tp_src ⇒ Integer

Returns:

  • (Integer)

See Also:



1836
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1836

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

#ttl ⇒ Integer

Returns:

  • (Integer)

See Also:



1816
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1816

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

#vxlan_opts ⇒ AttributeSets::VxlanExtAttrs



1844
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 1844

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