Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
if_addr_t Struct Reference

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 
 

Detailed Description

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.

Member Data Documentation

◆ ifat_type

if_address_type if_addr_t::ifat_type

Type of address (IPv4 or IPv6).

◆ ip4_addr

uint32_t if_addr_t::ip4_addr

IPv4 address in network byte order.

◆ ip6_addr

uint8_t if_addr_t::ip6_addr[16]

IPv6 address in network byte order.


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