Class: Nl::Linux::Sunrpc::Messages::DoCacheFlushRequest

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

Overview

Flush sunrpc caches (ip_map and/or unix_gid)

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
6
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::CacheFlush
ATTRIBUTES =
Ractor.make_shareable(%i[mask])

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

#mask ⇒ Integer

Known flags are defined in Flags::CacheType.

Returns:

  • (Integer)

See Also:



452
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 452

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