Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Member Functions | List of all members
transport::core::Prefix Class Reference

Public Member Functions

 Prefix (const char *prefix)
 
 Prefix (const std::string &prefix)
 
 Prefix (std::string &&prefix)
 
 Prefix (std::string &prefix, uint16_t prefix_length)
 
 Prefix (const core::Name &content_name, uint16_t prefix_length)
 
std::unique_ptr< Sockaddr > toSockaddr () const
 
uint16_t getPrefixLength () const
 
PrefixsetPrefixLength (uint16_t prefix_length)
 
std::string getNetwork () const
 
int contains (const ip_address_t &content_name) const
 
int contains (const core::Name &content_name) const
 
Name getName () const
 
Name getRandomName () const
 
Name getName (const core::Name &mask, const core::Name &components, const core::Name &content_name) const
 
Name mapName (const core::Name &content_name) const
 
PrefixsetNetwork (std::string &network)
 
int getAddressFamily () const
 
PrefixsetAddressFamily (int address_family)
 
Name makeRandomName () const
 
const ip_prefix_ttoIpPrefixStruct () const
 

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