| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
ws_iana_ip_special_block Struct Reference

Describes an IANA-registered special-purpose IP address block. More...

`#include <iana-info.h>`

## Public Attributes
enum iana_ip | type
union { |
ipv4_addr_and_mask ipv4 |
ipv6_addr_and_prefix ipv6 |
} | u_ip
const char * | name
int | source
int | destination
int | forwardable
int | global
int | reserved

## Detailed Description

Describes an IANA-registered special-purpose IP address block.

## Member Data Documentation

## ◆ destination

int ws_iana_ip_special_block::destination

Whether addresses in this block are valid as a packet destination

## ◆ forwardable

int ws_iana_ip_special_block::forwardable

Whether packets to/from this block may be forwarded by routers

## ◆ global

int ws_iana_ip_special_block::global

Whether this block is globally routable

## ◆ ipv4

ipv4_addr_and_mask ws_iana_ip_special_block::ipv4

IPv4 address and subnet mask; valid when type == WS_IANA_IPv4

## ◆ ipv6

ipv6_addr_and_prefix ws_iana_ip_special_block::ipv6

IPv6 address and prefix length; valid when type == WS_IANA_IPv6

## ◆ name

const char* ws_iana_ip_special_block::name

Human-readable name of the special-purpose block (e.g., "Loopback")

## ◆ reserved

int ws_iana_ip_special_block::reserved

Whether this block is reserved and otherwise unspecified

## ◆ source

int ws_iana_ip_special_block::source

Whether addresses in this block are valid as a packet source

## ◆ type

enum iana_ip ws_iana_ip_special_block::type

IP version of this address block

## ◆ [union]

union { ... } ws_iana_ip_special_block::u_ip

Address block data, discriminated by type

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

- /builds/wireshark/wireshark/epan/iana-info.h