ArtsBgp4Prefix


[ libArts | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class ArtsBgp4Prefix

{

public:
uint8_t AddressFamily() const;
uint8_t AddressFamily(uint8_t addressFamily);
uint8_t MaskLength() const;
uint8_t MaskLength(uint8_t maskLength);
ipv4addr_t Ipv4Network() const;
ipv4addr_t Ipv4Network(ipv4addr_t ipv4Network);
ipv6addr_t Ipv6Network() const;
ipv6addr_t Ipv6Network(ipv6addr_t ipv6Network);
ArtsBgp4Prefix & operator = (const ArtsBgp4Prefix & bgp4prefix);
protected:
}; // ArtsBgp4Prefix

Back to the top of ArtsBgp4Prefix


DESCRIPTION


-------------------------------------------------------------------------
class ArtsBgp4Prefix
-------------------------------------------------------------------------
This class abstracts an IPv4 or IPv6 network prefix. It contains an IP address and a netmask length. In the case of a host address, the netmask length is equal to the length of the address (in bits).
-------------------------------------------------------------------------

Back to the top of ArtsBgp4Prefix


uint8_t AddressFamily() const;


-------------------------------------------------------------------------
uint8_t AddressFamily() const
.........................................................................
Returns the address family for the ArtsBgp4Prefix (AF_INET or AF_INET6).
-------------------------------------------------------------------------

  uint8_t AddressFamily() const;

Back to the top of ArtsBgp4Prefix


uint8_t AddressFamily(uint8_t addressFamily);


-------------------------------------------------------------------------
uint8_t AddressFamily(uint8_t addressFamily)
.........................................................................
Sets and returns the address family for the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  uint8_t AddressFamily(uint8_t addressFamily);

Back to the top of ArtsBgp4Prefix


uint8_t MaskLength() const;


-------------------------------------------------------------------------
uint8_t MaskLength() const
.........................................................................
Returns the length of the netmask for the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  uint8_t MaskLength() const;

Back to the top of ArtsBgp4Prefix


uint8_t MaskLength(uint8_t maskLength);


-------------------------------------------------------------------------
uint8_t MaskLength(uint8_t maskLength)
.........................................................................
Sets and returns the length of the netmask for the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  uint8_t MaskLength(uint8_t maskLength);

Back to the top of ArtsBgp4Prefix


ipv4addr_t Ipv4Network() const;


-------------------------------------------------------------------------
ipv4addr_t Ipv4Network() const
.........................................................................
If the ArtsBgp4Prefix holds an IPv4 prefix, returns the IPv4 address in the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  ipv4addr_t Ipv4Network() const;

Back to the top of ArtsBgp4Prefix


ipv4addr_t Ipv4Network(ipv4addr_t ipv4Network);


-------------------------------------------------------------------------
ipv4addr_t Ipv4Network(ipv4addr_t ipv4Network)
.........................................................................
Sets and returns the IPv4 address in the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  ipv4addr_t Ipv4Network(ipv4addr_t ipv4Network);

Back to the top of ArtsBgp4Prefix


ipv6addr_t Ipv6Network() const;


-------------------------------------------------------------------------
ipv6addr_t Ipv6Network() const
.........................................................................
If the ArtsBgp4Prefix holds an IPv6 prefix, returns the IPv6 address in the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  ipv6addr_t Ipv6Network() const;

Back to the top of ArtsBgp4Prefix


ipv6addr_t Ipv6Network(ipv6addr_t ipv6Network);


-------------------------------------------------------------------------
ipv6addr_t Ipv6Network(ipv6addr_t ipv6Network)
.........................................................................
Sets and returns the IPv6 address in the ArtsBgp4Prefix.
-------------------------------------------------------------------------

  ipv6addr_t Ipv6Network(ipv6addr_t ipv6Network);

Back to the top of ArtsBgp4Prefix


ArtsBgp4Prefix & operator = (const ArtsBgp4Prefix & bgp4prefix);

HAVE_IPV6
-------------------------------------------------------------------------
operator = (const ArtsBgp4Prefix & bgp4prefix)
.........................................................................
Overloaded '=' operator for assigning the value of an ArtsBgp4Prefix from another ArtsBgp4Prefix.
-------------------------------------------------------------------------

  ArtsBgp4Prefix & operator = (const ArtsBgp4Prefix & bgp4prefix);

Back to the top of ArtsBgp4Prefix


All Members

public:
uint8_t AddressFamily() const;
uint8_t AddressFamily(uint8_t addressFamily);
uint8_t MaskLength() const;
uint8_t MaskLength(uint8_t maskLength);
ipv4addr_t Ipv4Network() const;
ipv4addr_t Ipv4Network(ipv4addr_t ipv4Network);
ipv6addr_t Ipv6Network() const;
ipv6addr_t Ipv6Network(ipv6addr_t ipv6Network);
ArtsBgp4Prefix & operator = (const ArtsBgp4Prefix & bgp4prefix);
protected:

Back to the top of ArtsBgp4Prefix


Ancestors

Class does not inherit from any other class.

Back to the top of ArtsBgp4Prefix


Descendants

Class is not inherited by any others.

Back to the top of ArtsBgp4Prefix


Generated from source by the Cocoon utilities on Sat Oct 17 14:39:53 1998 .

Report problems to jkotula@unimax.com