Class: Nl::Linux::RtNeigh::Messages::DoNewneighRequest

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

Overview

Add new neighbour entry

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:



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

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

#fdb_ext_attrs ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags_ext ⇒ Integer

Known flags are defined in Flags::NtfExtFlags.

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lladdr ⇒ String

Returns:

  • (String)

See Also:



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


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

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


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

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


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

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


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

def ndm_type; fixed_header.ndm_type; end

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#probes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vlan ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vni ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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