Class: Nl::Linux::RtLink::Messages::DumpGetlinkRequest

Inherits:
Raw::Message
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Overview

Get / dump information about a link.

Constant Summary collapse

TYPE =
18
FIXED_HEADER =
Structs::Ifinfomsg
ATTRIBUTE_SET =
AttributeSets::LinkAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[master linkinfo ext_mask target_netnsid])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#ext_mask ⇒ Integer

Known flags are defined in Flags::RtextFilter.

Returns:

  • (Integer)

See Also:



8896
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8896

def ext_mask; attributes[:"ext_mask"]&.value; end

#ifi_change ⇒ Integer

Returns:

  • (Integer)


8883
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8883

def ifi_change; fixed_header.ifi_change; end

#ifi_family ⇒ Integer

Returns:

  • (Integer)


8871
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8871

def ifi_family; fixed_header.ifi_family; end

#ifi_flags ⇒ Integer

Returns:

  • (Integer)


8880
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8880

def ifi_flags; fixed_header.ifi_flags; end

#ifi_index ⇒ Integer

Returns:

  • (Integer)


8877
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8877

def ifi_index; fixed_header.ifi_index; end

#ifi_type ⇒ Integer

Returns:

  • (Integer)


8874
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8874

def ifi_type; fixed_header.ifi_type; end

#linkinfo ⇒ AttributeSets::LinkinfoAttrs



8891
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8891

def linkinfo; attributes[:"linkinfo"]&.value; end

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



8887
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8887

def master; attributes[:"master"]&.value; end

#target_netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



8900
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8900

def target_netnsid; attributes[:"target_netnsid"]&.value; end