Class: Nl::Linux::RtNeigh::Messages::DumpGetneighReply

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

Overview

Get or dump neighbour entries

Constant Summary collapse

TYPE =
28
FIXED_HEADER =
Structs::Ndmsg
ATTRIBUTE_SET =
AttributeSets::NeighbourAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[dst lladdr probes vlan port vni ifindex master protocol nh_id fdb_ext_attrs flags_ext])

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:



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

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

#fdb_ext_attrs ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags_ext ⇒ Integer

Known flags are defined in Flags::NtfExtFlags.

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lladdr ⇒ String

Returns:

  • (String)

See Also:



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


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

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


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

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


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

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


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

def ndm_type; fixed_header.ndm_type; end

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#probes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vlan ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vni ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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