Class: Nl::Linux::RtNeigh::Messages::DoDelneighRequest

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

Overview

Remove an existing neighbour entry

Constant Summary collapse

TYPE =
29
FIXED_HEADER =
Structs::Ndmsg
ATTRIBUTE_SET =
AttributeSets::NeighbourAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[dst ifindex])

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

#dst ⇒ String

Returns:

  • (String)

See Also:



993
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 993

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



997
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 997

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


977
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 977

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


986
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 986

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


980
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 980

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


983
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 983

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


989
# File 'nl-linux/generated/nl/linux/rt_neigh.rb', line 989

def ndm_type; fixed_header.ndm_type; end