|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Represents an IP address in an interface address list. More...
#include <capture_ifinfo.h>
Public Attributes | ||
| if_address_type | ifat_type | |
| union { | ||
| uint32_t ip4_addr | ||
| uint8_t ip6_addr [16] | ||
| } | addr | |
Represents an IP address in an interface address list.
This structure holds either an IPv4 or IPv6 address, along with a type indicator. It is typically used to store addresses associated with network interfaces.
| if_address_type if_addr_t::ifat_type |
Type of address (IPv4 or IPv6).
| uint32_t if_addr_t::ip4_addr |
IPv4 address in network byte order.
| uint8_t if_addr_t::ip6_addr[16] |
IPv6 address in network byte order.