Class: Nl::Linux::Fou::Messages::DoDelRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/fou.rb

Overview

Delete port.

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
2
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Fou
ATTRIBUTES =
Ractor.make_shareable(%i[port af local_v4 local_v6 peer_v4 peer_v6 peer_port ifindex])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

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

#af ⇒ Integer

Returns:

  • (Integer)

See Also:



262
# File 'nl-linux/generated/nl/linux/fou.rb', line 262

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

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



286
# File 'nl-linux/generated/nl/linux/fou.rb', line 286

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

#local_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



266
# File 'nl-linux/generated/nl/linux/fou.rb', line 266

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

#local_v6 ⇒ String

Returns:

  • (String)

See Also:



270
# File 'nl-linux/generated/nl/linux/fou.rb', line 270

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

#peer_port ⇒ Integer

Returns:

  • (Integer)

See Also:



282
# File 'nl-linux/generated/nl/linux/fou.rb', line 282

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

#peer_v4 ⇒ Integer

Returns:

  • (Integer)

See Also:



274
# File 'nl-linux/generated/nl/linux/fou.rb', line 274

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

#peer_v6 ⇒ String

Returns:

  • (String)

See Also:



278
# File 'nl-linux/generated/nl/linux/fou.rb', line 278

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

#port ⇒ Integer

Returns:

  • (Integer)

See Also:



258
# File 'nl-linux/generated/nl/linux/fou.rb', line 258

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