NeKernel dev
Loading...
Searching...
No Matches
Kernel::IPFactory Class Referencefinal

IP Creation helpers. More...

#include <IP.h>

Static Public Member Functions

static ErrorOr< KStringToKString (Ref< RawIPAddress6 > &ipv6)
static ErrorOr< KStringToKString (Ref< RawIPAddress > &ipv4)
static bool IpCheckVersion4 (const Char *ip)

Detailed Description

IP Creation helpers.

Member Function Documentation

◆ IpCheckVersion4()

bool Kernel::IPFactory::IpCheckVersion4 ( const Char * ip)
static
Note
Doesn't catch IPs such as 256.999.0.1, UNSAFE!

◆ ToKString() [1/2]

ErrorOr< KString > Kernel::IPFactory::ToKString ( Ref< RawIPAddress > & ipv4)
static

◆ ToKString() [2/2]

ErrorOr< KString > Kernel::IPFactory::ToKString ( Ref< RawIPAddress6 > & ipv6)
static

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