Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
iana-ip.h
1
/* iana-ip.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#ifndef __IANA_IP_H__
10
#define __IANA_IP_H__
11
12
#include <wireshark.h>
13
#include <
wsutil/inet_cidr.h
>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
/* __cplusplus */
18
19
enum
iana_ip {
20
WS_IANA_IPv4 = 4,
21
WS_IANA_IPv6 = 6,
22
};
23
24
struct
ws_iana_ip_special_block
{
25
enum
iana_ip type;
26
union
{
27
ipv4_addr_and_mask
ipv4;
28
ipv6_addr_and_prefix
ipv6;
29
} u_ip;
30
const
char
*name;
31
/* true = 1; false = 0; n/a = -1 */
32
int
source, destination, forwardable, global, reserved;
33
};
24
struct
ws_iana_ip_special_block
{
…
};
34
35
WS_DLL_PUBLIC
36
const
struct
ws_iana_ip_special_block
*
37
ws_iana_ipv4_special_block_lookup(uint32_t ipnum);
38
39
WS_DLL_PUBLIC
40
const
struct
ws_iana_ip_special_block
*
41
ws_iana_ipv6_special_block_lookup(
const
ws_in6_addr
*addr);
42
43
#ifdef __cplusplus
44
}
45
#endif
/* __cplusplus */
46
47
#endif
inet_cidr.h
e_in6_addr
Definition
inet_addr.h:21
ipv4_addr_and_mask
Definition
inet_cidr.h:22
ipv6_addr_and_prefix
Definition
inet_cidr.h:27
ws_iana_ip_special_block
Definition
iana-ip.h:24
Generated by
1.9.8