public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] inet: Add ICMPv6 Destination Unreachable codes from RFC 4443 [BZ# 29974]
Date: Sat, 13 Jan 2024 22:41:49 +0100	[thread overview]
Message-ID: <87h6jgx65e.fsf@kaka.sjd.se> (raw)
In-Reply-To: <87lemccacb.fsf@josefsson.org> (Simon Josefsson via Libc-alpha's message of "Mon, 09 Jan 2023 10:43:00 +0100")


[-- Attachment #1.1: Type: text/plain, Size: 179 bytes --]

Hi

What do you think about this?

I am attaching an updated patch that includes a Signed-off-by for DCO.

See also: https://sourceware.org/bugzilla/show_bug.cgi?id=29974

/Simon

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-inet-Add-ICMPv6-Destination-Unreachable-codes-from-R.patch --]
[-- Type: text/x-diff, Size: 1305 bytes --]

From 96b7dc8299708b4f3fb99f0e025e0a04e25f547c Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Mon, 9 Jan 2023 10:29:36 +0100
Subject: [PATCH] inet: Add ICMPv6 Destination Unreachable codes from RFC 4443

Resolves: BZ # 29974

https://www.rfc-editor.org/rfc/rfc4443#section-6.2
https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=c2cfa7889c09b6bd1ef7bc9967111e6509e610c7

Signed-off-by: Simon Josefsson <simon@josefsson.org>
---
 inet/netinet/icmp6.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/inet/netinet/icmp6.h b/inet/netinet/icmp6.h
index 6301ae858b..285075a1fe 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.34.1


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

      reply	other threads:[~2024-01-13 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09  9:43 Simon Josefsson
2024-01-13 21:41 ` Simon Josefsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6jgx65e.fsf@kaka.sjd.se \
    --to=simon@josefsson.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).