From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from uggla.sjd.se (uggla.sjd.se [IPv6:2001:9b1:8633::107]) by sourceware.org (Postfix) with ESMTPS id 4CE643858D20 for ; Mon, 9 Jan 2023 09:43:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4CE643858D20 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=josefsson.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=josefsson.org DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=26ns188X/eKuOzxQ6Fkk/WyLredW0QXQjZwghatWOIQ=; t=1673257382; x=1674466982; b=BSGuqyLvnx45y+YWzk07+kQch4tKI8zSFYQ748LlBHhAk7e weyXRmwGM2YzcljyolpDNQaBQKehAzNbnR1lkDg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=26ns188X/eKuOzxQ6Fkk/WyLredW0QXQjZwghatWOIQ=; t=1673257382; x=1674466982; b=t1lde7vLvO6Kb8uXmAEcplNKiUTI4sUU1CIpx/wawbVtBLA PBF2VSm9CJG7dB8BA+CJ1TilnBVjd7Iut+Az9xfSfK8fIWXbvRgOmxzczYkoWabObdg+1cWdRrk4i EciiMxOUNjryCi4KofbzfU6QzFEhqvVIewO8Y4x8f3uVBIz3f59D+DGyrypPesBw7rksT9l9JjcUF OFQh2L5kXI4zizW+r+CvXcq5CVKnfrx/k9BeWvknBeL1R+MwIPWMPpMBjLzw1KLVtKwtww6P0Y1ky b+tNb2OP3uK0Mign556uDgL9Z5195jstn5m8DoA1b4n+/FensdF1uVqoTZhLDFLpiPbLtqABYgesd s6nkl/HabyYhusOd+is46xLyZOCQ8l/CM5SAyVvy2p/34B0c6eK7o03y7TrbMkQax2/G22DdFJF7v hVZ6sNnoueonRI4tujbTmbrf; Received: from [2001:9b1:41ac:ff00:be83:be22:3e7e:fd91] (port=52058 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pEogG-00A4lD-JY for libc-alpha@sourceware.org; Mon, 09 Jan 2023 10:43:00 +0100 X-Hashcash: 1:22:230109:libc-alpha@sourceware.org::+8VINUGnCVBgRSnE:mQY From: Simon Josefsson To: libc-alpha@sourceware.org Subject: [PATCH] inet: Add ICMPv6 Destination Unreachable codes from RFC 4443 [BZ# 29974] OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Mon, 09 Jan 2023 10:43:00 +0100 Message-ID: <87lemccacb.fsf@josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable See also: https://www.rfc-editor.org/rfc/rfc4443#section-6.2 https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=3Dc2cfa7889c09b6= bd1ef7bc9967111e6509e610c7 =2D-- 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 =2D-- 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 */ =20 #define ICMP6_TIME_EXCEED_TRANSIT 0 /* Hop Limit =3D=3D 0 in transit */ #define ICMP6_TIME_EXCEED_REASSEMBLY 1 /* Reassembly time out */ =2D-=20 2.38.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCY7vhpBQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFonB0AQDyAH/i7Mw9M8J19TecYlB6lT0cVEf0 06+tz5SGwro9hAEA3fIpYqwZWBhYJ9j/ODMEf0osyCnFFF/Vd2NylMM5jgk= =LMx1 -----END PGP SIGNATURE----- --=-=-=--