Class: Nl::Linux::RtAddr::Messages::DoDeladdrRequest

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

Overview

Remove address

Constant Summary collapse

TYPE =
21
FIXED_HEADER =
Structs::Ifaddrmsg
ATTRIBUTE_SET =
AttributeSets::AddrAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[address local])

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

#address ⇒ String

Returns:

  • (String)

See Also:



340
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 340

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

#ifa_family ⇒ Integer

Returns:

  • (Integer)


324
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 324

def ifa_family; fixed_header.ifa_family; end

#ifa_flags ⇒ Integer

Returns:

  • (Integer)


330
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 330

def ifa_flags; fixed_header.ifa_flags; end

#ifa_index ⇒ Integer

Returns:

  • (Integer)


336
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 336

def ifa_index; fixed_header.ifa_index; end

#ifa_prefixlen ⇒ Integer

Returns:

  • (Integer)


327
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 327

def ifa_prefixlen; fixed_header.ifa_prefixlen; end

#ifa_scope ⇒ Integer

Returns:

  • (Integer)


333
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 333

def ifa_scope; fixed_header.ifa_scope; end

#local ⇒ String

Returns:

  • (String)

See Also:



344
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 344

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