proxygen
folly::IPAddressV4::AddressStorage Union Reference

Public Member Functions

 AddressStorage ()
 
 AddressStorage (const ByteArray4 bytes)
 
 AddressStorage (const in_addr addr)
 

Public Attributes

in_addr inAddr_
 
ByteArray4 bytes_
 

Detailed Description

Definition at line 285 of file IPAddressV4.h.

Constructor & Destructor Documentation

folly::IPAddressV4::AddressStorage::AddressStorage ( )
inline

Definition at line 291 of file IPAddressV4.h.

291  {
292  std::memset(this, 0, sizeof(AddressStorage));
293  }
folly::IPAddressV4::AddressStorage::AddressStorage ( const ByteArray4  bytes)
inlineexplicit

Definition at line 294 of file IPAddressV4.h.

294 : bytes_(bytes) {}
const unsigned char * bytes() const
Definition: IPAddressV4.h:280
folly::IPAddressV4::AddressStorage::AddressStorage ( const in_addr  addr)
inlineexplicit

Member Data Documentation

ByteArray4 folly::IPAddressV4::AddressStorage::bytes_

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