Class: Nl::Linux::RtAddr::AsyncOperations

Inherits:
Object
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_addr.rb

Instance Method Summary collapse

Instance Method Details

#do_deladdr(**args) ⇒ Nl::Async::Future<void>

Remove address

Parameters:

  • args (Hash)

Options Hash (**args):

  • ifa_family (Integer)
  • ifa_prefixlen (Integer)
  • ifa_flags (Integer)
  • ifa_scope (Integer)
  • ifa_index (Integer)
  • address (String)
  • local (String)

Returns:

See Also:



646
647
648
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 646

def do_deladdr(**args)
  @exchange.call(:"do", Messages::DoDeladdrRequest, nil, args)
end

#do_getmulticast(**args) ⇒ Nl::Async::Future<Messages::DoGetmulticastReply>

Get / dump IPv4/IPv6 multicast addresses.

Parameters:

  • args (Hash)

Options Hash (**args):

  • ifa_family (Integer)
  • ifa_prefixlen (Integer)
  • ifa_flags (Integer)
  • ifa_scope (Integer)
  • ifa_index (Integer)

Returns:

See Also:



672
673
674
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 672

def do_getmulticast(**args)
  @exchange.call(:"do", Messages::DoGetmulticastRequest, Messages::DoGetmulticastReply, args)
end

#do_newaddr(**args) ⇒ Nl::Async::Future<void>

Add new address

Parameters:

  • args (Hash)

Options Hash (**args):

  • ifa_family (Integer)
  • ifa_prefixlen (Integer)
  • ifa_flags (Integer)
  • ifa_scope (Integer)
  • ifa_index (Integer)
  • address (String)
  • local (String)
  • label (String)
  • cacheinfo (Structs::IfaCacheinfo, Hash<Symbol, Object>)

Returns:

See Also:



631
632
633
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 631

def do_newaddr(**args)
  @exchange.call(:"do", Messages::DoNewaddrRequest, nil, args)
end

#dump_getaddr(**args) ⇒ Nl::Async::Stream<Messages::DumpGetaddrReply>

Dump address information.

Parameters:

  • args (Hash)

Options Hash (**args):

  • ifa_family (Integer)
  • ifa_prefixlen (Integer)
  • ifa_flags (Integer)
  • ifa_scope (Integer)
  • ifa_index (Integer)

Returns:

See Also:



659
660
661
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 659

def dump_getaddr(**args)
  @exchange.call(:"dump", Messages::DumpGetaddrRequest, Messages::DumpGetaddrReply, args)
end

#dump_getmulticast(**args) ⇒ Nl::Async::Stream<Messages::DumpGetmulticastReply>

Get / dump IPv4/IPv6 multicast addresses.

Parameters:

  • args (Hash)

Options Hash (**args):

  • ifa_family (Integer)
  • ifa_prefixlen (Integer)
  • ifa_flags (Integer)
  • ifa_scope (Integer)
  • ifa_index (Integer)

Returns:

See Also:



685
686
687
# File 'nl-linux/generated/nl/linux/rt_addr.rb', line 685

def dump_getmulticast(**args)
  @exchange.call(:"dump", Messages::DumpGetmulticastRequest, Messages::DumpGetmulticastReply, args)
end