RPKI Engine  1.0
Public Member Functions | Static Public Attributes
rpki::ipaddrs::v4addr Class Reference
Inheritance diagram for rpki::ipaddrs::v4addr:
Inheritance graph
Collaboration diagram for rpki::ipaddrs::v4addr:
Collaboration graph

List of all members.

Public Member Functions

def __new__
def __str__
def from_bytes
def to_bytes

Static Public Attributes

int bits = 32

Detailed Description

IPv4 address.

Derived from long, but supports IPv4 print syntax.

Definition at line 47 of file ipaddrs.py.


Member Function Documentation

def rpki::ipaddrs::v4addr::__new__ (   cls,
  x 
)
Construct a v4addr object.

Definition at line 56 of file ipaddrs.py.

def rpki::ipaddrs::v4addr::__str__ (   self)
Convert a v4addr object to string format.

Definition at line 78 of file ipaddrs.py.

References to_bytes().

Here is the call graph for this function:

def rpki::ipaddrs::v4addr::from_bytes (   cls,
  x 
)
Convert from a raw byte string to a v4addr object.

Definition at line 72 of file ipaddrs.py.

def rpki::ipaddrs::v4addr::to_bytes (   self)
Convert a v4addr object to a raw byte string.

Definition at line 65 of file ipaddrs.py.

Referenced by __str__(), and rpki::ipaddrs::v6addr::__str__().

Here is the caller graph for this function:


Member Data Documentation

int rpki::ipaddrs::v4addr::bits = 32 [static]

Definition at line 54 of file ipaddrs.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties