|
|
using | NameStruct = hicn_name_t |
| |
|
using | Type = hicn_name_type_t |
| |
|
| | Name (const char *name, uint32_t segment) |
| | Create name. More...
|
| |
|
| Name (int family, const uint8_t *ip_address, std::uint32_t suffix=0) |
| |
|
| Name (const std::string &uri, uint32_t segment) |
| |
|
| Name (const std::string &uri) |
| |
|
| Name (const Name &name) |
| |
|
Name & | operator= (const Name &name) |
| |
|
bool | operator== (const Name &name) const |
| |
|
bool | operator!= (const Name &name) const |
| |
|
| operator bool () const |
| |
|
bool | isValid () const |
| |
|
std::string | toString () const |
| |
|
bool | equals (const Name &name, bool consider_segment=true) const |
| |
|
uint32_t | getHash32 (bool consider_suffix=true) const |
| |
|
void | clear () |
| |
|
Type | getType () const |
| |
|
uint32_t | getSuffix () const |
| |
|
std::shared_ptr< Sockaddr > | getAddress () const |
| |
|
Name & | setSuffix (uint32_t seq_number) |
| |
|
ip_prefix_t | toIpAddress () const |
| |
|
void | copyToDestination (uint8_t *destination, bool include_suffix=false) const |
| |
|
int | getAddressFamily () const |
| |
|
|
class | Packet |
| |
|
class | ContentObject |
| |
|
class | Interest |
| |
◆ Name()
| transport::core::Name::Name |
( |
const char * |
name, |
|
|
uint32_t |
segment |
|
) |
| |
Create name.
- Parameters
-
| name | The null-terminated URI string |
The documentation for this class was generated from the following file:
- libtransport/includes/hicn/transport/core/name.h