Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ipcidr #129

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ and [protocols/](protocols/) for specifications of the currently supported proto
TODO: most of these are way underspecified

- /ip4, /ip6
- /ipcidr
- /dns4, /dns6
- [/dnsaddr](protocols/DNSADDR.md)
- /tcp
Expand Down
1 change: 1 addition & 0 deletions protocols.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ code, size, name, comment
33, 16, dccp,
41, 128, ip6,
42, V, ip6zone, rfc4007 IPv6 zone
43, 8, ipcidr, CIDR mask for IP addresses
Copy link
Member

@mxinden mxinden Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this be used for IPv4 only? In other words, isn't an IPv6 CIDR > 8 byte?

Never mind. Sorry. This is the CIDR suffix only.

53, V, dns, domain name resolvable to both IPv6 and IPv4 addresses
54, V, dns4, domain name resolvable only to IPv4 addresses
55, V, dns6, domain name resolvable only to IPv6 addresses
Expand Down