Base IP address data. More...
#include <LogField.h>
Inherited by LogFieldIp4, and LogFieldIp6.
Data Fields | |
uint16_t | _family |
IP address family. |
Base IP address data.
To unpack an IP address, the generic memory is first cast to this type to get the family. That pointer can then be static_cast to the appropriate subtype to get the actual address data.
AF_INET
and AF_INET6
. Definition at line 250 of file LogField.h.
uint16_t LogFieldIp::_family |
IP address family.
Definition at line 251 of file LogField.h.
Referenced by LogAccess::marshal_ip(), parse_log_buff(), and LogAccess::unmarshal_ip().