Data Fields

LogFieldIp Struct Reference

Base IP address data. More...

#include <LogField.h>

Inherited by LogFieldIp4, and LogFieldIp6.

Data Fields

uint16_t _family
 IP address family.

Detailed Description

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.

Note:
We don't use our own enum for the family. Instead we use AF_INET and AF_INET6.

Definition at line 250 of file LogField.h.


Field Documentation

IP address family.

Definition at line 251 of file LogField.h.

Referenced by LogAccess::marshal_ip(), parse_log_buff(), and LogAccess::unmarshal_ip().


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