public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] inet: Add ICMPv6 Destination Unreachable codes from RFC 4443 [BZ# 29974]
@ 2023-01-09  9:43 Simon Josefsson
  2024-01-13 21:41 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Josefsson @ 2023-01-09  9:43 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

See also:
https://www.rfc-editor.org/rfc/rfc4443#section-6.2
https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=c2cfa7889c09b6bd1ef7bc9967111e6509e610c7
---
 inet/netinet/icmp6.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/inet/netinet/icmp6.h b/inet/netinet/icmp6.h
index 249d2275d7..cfddb3e23d 100644
--- a/inet/netinet/icmp6.h
+++ b/inet/netinet/icmp6.h
@@ -78,6 +78,9 @@ struct icmp6_hdr
 #define ICMP6_DST_UNREACH_BEYONDSCOPE 2 /* beyond scope of source address */
 #define ICMP6_DST_UNREACH_ADDR        3 /* address unreachable */
 #define ICMP6_DST_UNREACH_NOPORT      4 /* bad port */
+#define ICMP6_DST_UNREACH_POLICYFAIL  5 /* Source address failed
+                                           ingress/egress policy */
+#define ICMP6_DST_UNREACH_REJECTROUTE 6 /* Reject route to destination */
 
 #define ICMP6_TIME_EXCEED_TRANSIT     0 /* Hop Limit == 0 in transit */
 #define ICMP6_TIME_EXCEED_REASSEMBLY  1 /* Reassembly time out */
-- 
2.38.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-13 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09  9:43 [PATCH] inet: Add ICMPv6 Destination Unreachable codes from RFC 4443 [BZ# 29974] Simon Josefsson
2024-01-13 21:41 ` Simon Josefsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).