Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
iana-ip-data.c
1/*
2 * This file was generated by running ./tools/make-iana-ip.py.
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#include "iana-ip.h"
8
9_U_ static const struct ws_iana_ip_special_block __ipv4_special_block[] = {
10 { 4, { .ipv4 = { 0x00000000, 0xff000000 } }, "\"This network\"", 1, 0, 0, 0, 1 },
11 { 4, { .ipv4 = { 0x00000000, 0xffffffff } }, "\"This host on this network\"", 1, 0, 0, 0, 1 },
12 { 4, { .ipv4 = { 0x0a000000, 0xff000000 } }, "Private-Use", 1, 1, 1, 0, 0 },
13 { 4, { .ipv4 = { 0x64400000, 0xffc00000 } }, "Shared Address Space", 1, 1, 1, 0, 0 },
14 { 4, { .ipv4 = { 0x7f000000, 0xff000000 } }, "Loopback", -1, -1, -1, -1, 1 },
15 { 4, { .ipv4 = { 0xa9fe0000, 0xffff0000 } }, "Link Local", 1, 1, 0, 0, 1 },
16 { 4, { .ipv4 = { 0xac100000, 0xfff00000 } }, "Private-Use", 1, 1, 1, 0, 0 },
17 { 4, { .ipv4 = { 0xc0000000, 0xffffff00 } }, "IETF Protocol Assignments", 0, 0, 0, 0, 0 },
18 { 4, { .ipv4 = { 0xc0000000, 0xfffffff8 } }, "IPv4 Service Continuity Prefix", 1, 1, 1, 0, 0 },
19 { 4, { .ipv4 = { 0xc0000008, 0xffffffff } }, "IPv4 dummy address", 1, 0, 0, 0, 0 },
20 { 4, { .ipv4 = { 0xc0000009, 0xffffffff } }, "Port Control Protocol Anycast", 1, 1, 1, 1, 0 },
21 { 4, { .ipv4 = { 0xc000000a, 0xffffffff } }, "Traversal Using Relays around NAT Anycast", 1, 1, 1, 1, 0 },
22 { 4, { .ipv4 = { 0xc00000aa, 0xffffffff } }, "NAT64/DNS64 Discovery", 0, 0, 0, 0, 1 },
23 { 4, { .ipv4 = { 0xc00000ab, 0xffffffff } }, "NAT64/DNS64 Discovery", 0, 0, 0, 0, 1 },
24 { 4, { .ipv4 = { 0xc0000200, 0xffffff00 } }, "Documentation (TEST-NET-1)", 0, 0, 0, 0, 0 },
25 { 4, { .ipv4 = { 0xc01fc400, 0xffffff00 } }, "AS112-v4", 1, 1, 1, 1, 0 },
26 { 4, { .ipv4 = { 0xc034c100, 0xffffff00 } }, "AMT", 1, 1, 1, 1, 0 },
27 { 4, { .ipv4 = { 0xc0a80000, 0xffff0000 } }, "Private-Use", 1, 1, 1, 0, 0 },
28 { 4, { .ipv4 = { 0xc0af3000, 0xffffff00 } }, "Direct Delegation AS112 Service", 1, 1, 1, 1, 0 },
29 { 4, { .ipv4 = { 0xc6120000, 0xfffe0000 } }, "Benchmarking", 1, 1, 1, 0, 0 },
30 { 4, { .ipv4 = { 0xc6336400, 0xffffff00 } }, "Documentation (TEST-NET-2)", 0, 0, 0, 0, 0 },
31 { 4, { .ipv4 = { 0xcb007100, 0xffffff00 } }, "Documentation (TEST-NET-3)", 0, 0, 0, 0, 0 },
32 { 4, { .ipv4 = { 0xf0000000, 0xf0000000 } }, "Reserved", 0, 0, 0, 0, 1 },
33 { 4, { .ipv4 = { 0xffffffff, 0xffffffff } }, "Limited Broadcast", 0, 1, 0, 0, 1 },
34};
35
36// GCC bug?
37DIAG_OFF(missing-braces)
38_U_ static const struct ws_iana_ip_special_block __ipv6_special_block[] = {
39 { 6, { .ipv6 = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 128 } },
40 "Unspecified Address", 1, 0, 0, 0, 1 },
41 { 6, { .ipv6 = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }, 128 } },
42 "Loopback Address", 0, 0, 0, 0, 1 },
43 { 6, { .ipv6 = { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 }, 96 } },
44 "IPv4-mapped Address", 0, 0, 0, 0, 1 },
45 { 6, { .ipv6 = { { 0x00, 0x64, 0xff, 0x9b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 96 } },
46 "IPv4-IPv6 Translat.", 1, 1, 1, 1, 0 },
47 { 6, { .ipv6 = { { 0x00, 0x64, 0xff, 0x9b, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 48 } },
48 "IPv4-IPv6 Translat.", 1, 1, 1, 0, 0 },
49 { 6, { .ipv6 = { { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 64 } },
50 "Discard-Only Address Block", 1, 1, 1, 0, 0 },
51 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 23 } },
52 "IETF Protocol Assignments", -1, -1, -1, -1, 0 },
53 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 32 } },
54 "TEREDO", 1, 1, 1, -1, 0 },
55 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 }, 128 } },
56 "Port Control Protocol Anycast", 1, 1, 1, 1, 0 },
57 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }, 128 } },
58 "Traversal Using Relays around NAT Anycast", 1, 1, 1, 1, 0 },
59 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03 }, 128 } },
60 "DNS-SD Service Registration Protocol Anycast", 1, 1, 1, 1, 0 },
61 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 48 } },
62 "Benchmarking", 1, 1, 1, 0, 0 },
63 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 32 } },
64 "AMT", 1, 1, 1, 1, 0 },
65 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x04, 0x01, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 48 } },
66 "AS112-v6", 1, 1, 1, 1, 0 },
67 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 28 } },
68 "ORCHIDv2", 1, 1, 1, 1, 0 },
69 { 6, { .ipv6 = { { 0x20, 0x01, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 28 } },
70 "Drone Remote ID Protocol Entity Tags (DETs) Prefix", 1, 1, 1, 1, 0 },
71 { 6, { .ipv6 = { { 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 32 } },
72 "Documentation", 0, 0, 0, 0, 0 },
73 { 6, { .ipv6 = { { 0x20, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 16 } },
74 "6to4", 1, 1, 1, -1, 0 },
75 { 6, { .ipv6 = { { 0x26, 0x20, 0x00, 0x4f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 48 } },
76 "Direct Delegation AS112 Service", 1, 1, 1, 1, 0 },
77 { 6, { .ipv6 = { { 0x3f, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 20 } },
78 "Documentation", 0, 0, 0, 0, 0 },
79 { 6, { .ipv6 = { { 0x5f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 16 } },
80 "Segment Routing (SRv6) SIDs", 1, 1, 1, 0, 0 },
81 { 6, { .ipv6 = { { 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 7 } },
82 "Unique-Local", 1, 1, 1, -1, 0 },
83 { 6, { .ipv6 = { { 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 10 } },
84 "Link-Local Unicast", 1, 1, 0, 0, 1 },
85};
86DIAG_ON(missing-braces)
Definition iana-ip.h:24