Class: Nl::Linux::RtNeigh::Messages::DoGetneighReply

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:



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

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

#fdb_ext_attrs ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags_ext ⇒ Integer

Known flags are defined in Flags::NtfExtFlags.

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lladdr ⇒ String

Returns:

  • (String)

See Also:



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


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

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


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

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


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

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


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

def ndm_type; fixed_header.ndm_type; end

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#probes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vlan ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vni ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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