Class: Nl::Linux::RtLink::Messages::DoDellinkRequest

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

Overview

Delete an existing link.

Constant Summary collapse

TYPE =
17
FIXED_HEADER =
Structs::Ifinfomsg
ATTRIBUTE_SET =
AttributeSets::LinkAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[ifname])

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

#ifi_change ⇒ Integer

Returns:

  • (Integer)


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

def ifi_change; fixed_header.ifi_change; end

#ifi_family ⇒ Integer

Returns:

  • (Integer)


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

def ifi_family; fixed_header.ifi_family; end

#ifi_flags ⇒ Integer

Returns:

  • (Integer)


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

def ifi_flags; fixed_header.ifi_flags; end

#ifi_index ⇒ Integer

Returns:

  • (Integer)


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

def ifi_index; fixed_header.ifi_index; end

#ifi_type ⇒ Integer

Returns:

  • (Integer)


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

def ifi_type; fixed_header.ifi_type; end

#ifname ⇒ String

Returns:

  • (String)

See Also:



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

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