Dobby 3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
NlRouteAddress Class Reference

Wrapper around the rtnl_addr object. More...

Public Member Functions

 NlRouteAddress (in_addr_t address, in_addr_t netmask=0xffffffff)
 
 NlRouteAddress (struct in6_addr address, int netmask=128)
 
 operator bool () const noexcept
 
 operator struct rtnl_addr * () const noexcept
 
std::string toString () const
 

Static Private Member Functions

static struct rtnl_addr * fromIpv4 (in_addr_t address, in_addr_t netmask)
 
static struct rtnl_addr * fromIpv6 (struct in6_addr address, int netmask)
 

Private Attributes

struct rtnl_addr *const mAddress
 
int mAddressFamily
 

Detailed Description

Wrapper around the rtnl_addr object.

Simple wrapper used to handle construction and safe destruction of a rtnl addr object.


The documentation for this class was generated from the following file: