Class: Nl::Linux::RtNeigh::Notifications::DelneighNtf

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

Overview

Notify a neighbour deletion

Constant Summary collapse

TYPE =
29
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:



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

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

#fdb_ext_attrs ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags_ext ⇒ Integer

Known flags are defined in Flags::NtfExtFlags.

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lladdr ⇒ String

Returns:

  • (String)

See Also:



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


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

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


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

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


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

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


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

def ndm_type; fixed_header.ndm_type; end

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#probes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vlan ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vni ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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