Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
hashipv4 Struct Reference

Hash table entry for a resolved or unresolved IPv4 address. More...

#include <wtap.h>

Public Attributes

unsigned addr
uint8_t flags
char ip [WS_INET_ADDRSTRLEN]
char name [256]
char cidr_addr [WS_INET_CIDRADDRSTRLEN]

Detailed Description

Hash table entry for a resolved or unresolved IPv4 address.

Member Data Documentation

◆ addr

unsigned hashipv4::addr

IPv4 address in host byte order used as the hash key.

◆ cidr_addr

char hashipv4::cidr_addr[WS_INET_CIDRADDRSTRLEN]

CIDR notation string representation of the IPv4 address/prefix (e.g. "192.168.1.0/24").

◆ flags

uint8_t hashipv4::flags

State flags: B0 = dummy entry, B1 = resolution attempted, B2 = address appears in the capture.

◆ ip

char hashipv4::ip[WS_INET_ADDRSTRLEN]

Dotted-decimal string representation of the IPv4 address (e.g. "192.168.1.1").

◆ name

char hashipv4::name[256]

Resolved DNS hostname for this address, or an empty string if unresolved.


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