mcproxy/mcproxy/src/utils/addr_storage.cpp File Reference
#include "include/hamcast_logging.h"
#include "include/utils/addr_storage.hpp"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstring>
#include <endian.h>
#include <string>
Functions | |
bool | operator< (const addr_storage &addr1, const addr_storage &addr2) |
std::ostream & | operator<< (std::ostream &s, const addr_storage a) |
struct in6_addr & | operator<<= (struct in6_addr &l, const addr_storage &r) |
struct in_addr & | operator<<= (struct in_addr &l, const addr_storage &r) |
struct sockaddr_storage & | operator<<= (struct sockaddr_storage &l, const struct addr_storage &r) |
Function Documentation
bool operator< | ( | const addr_storage & | addr1, | |
const addr_storage & | addr2 | |||
) |
References HC_LOG_ERROR, and HC_LOG_TRACE.
std::ostream& operator<< | ( | std::ostream & | s, | |
const addr_storage | a | |||
) |
References HC_LOG_ERROR, and HC_LOG_TRACE.
struct in6_addr& operator<<= | ( | struct in6_addr & | l, | |
const addr_storage & | r | |||
) | [read] |
References HC_LOG_TRACE.
struct in_addr& operator<<= | ( | struct in_addr & | l, | |
const addr_storage & | r | |||
) | [read] |
References HC_LOG_TRACE.
struct sockaddr_storage& operator<<= | ( | struct sockaddr_storage & | l, | |
const struct addr_storage & | r | |||
) | [read] |
References HC_LOG_TRACE.