Class: Nl::Linux::MptcpPm::AttributeSets::SubflowAttribute

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

Defined Under Namespace

Classes: Attribute, Flags, IdLoc, IdRem, MapDatalen, MapSeq, MapSfseq, Pad, RelwriteSeq, SsnOffset, TokenLoc, TokenRem

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:



310
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 310

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



316
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 316

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

Instance Method Details

#flags ⇒ Integer

Returns:

  • (Integer)

See Also:



295
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 295

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

#id_loc ⇒ Integer

Returns:

  • (Integer)

See Also:



303
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 303

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

#id_rem ⇒ Integer

Returns:

  • (Integer)

See Also:



299
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 299

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

#map_datalen ⇒ Integer

Returns:

  • (Integer)

See Also:



291
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 291

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

#map_seq ⇒ Integer

Returns:

  • (Integer)

See Also:



279
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 279

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

#map_sfseq ⇒ Integer

Returns:

  • (Integer)

See Also:



283
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 283

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

#relwrite_seq ⇒ Integer

Returns:

  • (Integer)

See Also:



275
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 275

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

#ssn_offset ⇒ Integer

Returns:

  • (Integer)

See Also:



287
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 287

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

#token_loc ⇒ Integer

Returns:

  • (Integer)

See Also:



271
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 271

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

#token_rem ⇒ Integer

Returns:

  • (Integer)

See Also:



267
# File 'nl-linux/generated/nl/linux/mptcp_pm.rb', line 267

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