Class: Nl::Linux::RtNeigh::Notifications::NewneighNtf

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

Overview

Notify a neighbour creation

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:



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

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

#fdb_ext_attrs ⇒ String

Returns:

  • (String)

See Also:



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

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

#flags_ext ⇒ Integer

Known flags are defined in Flags::NtfExtFlags.

Returns:

  • (Integer)

See Also:



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

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#lladdr ⇒ String

Returns:

  • (String)

See Also:



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ndm_family ⇒ Integer

Returns:

  • (Integer)


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

def ndm_family; fixed_header.ndm_family; end

#ndm_flags ⇒ Integer

Returns:

  • (Integer)


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

def ndm_flags; fixed_header.ndm_flags; end

#ndm_ifindex ⇒ Integer

Returns:

  • (Integer)


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

def ndm_ifindex; fixed_header.ndm_ifindex; end

#ndm_state ⇒ Integer

Returns:

  • (Integer)


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

def ndm_state; fixed_header.ndm_state; end

#ndm_type ⇒ Integer

Returns:

  • (Integer)


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

def ndm_type; fixed_header.ndm_type; end

#nh_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#probes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#protocol ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vlan ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vni ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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