From nobody Wed Jun 21 05:24:52 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmBlS6540z4fx0C for ; Wed, 21 Jun 2023 05:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmBlS4fXYz3MRp for ; Wed, 21 Jun 2023 05:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687325092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=anxqGzhKOQhXTMbjBLVlMILQQLYTA0fNl22WBNSXk5A=; b=U5HARzqQEuuaGmUXjZWAo+yr1JJ5nQwp7lTY1eSMMSrGcF/o6Fxm+6i58ZgI3kIZVBk9fd r6fcWp3NIV/zopC68z43QOC9lGwInsl+3ZuaKPSd7SuYeivHv+QqQEjz+SMifNWPt0uSnO +pcgMHUL0OgUQLgI1xWWrhtOnxp1jRAb9UTjohHUPuAQoAuvVvZS+BSY6gJH2Z54dgrGhi CopkOrEm003ol1UUKns2DGX5r52gCf1CJn/HZ1DNuvEHJ/R1iP0+gES1qaAy7WZJ4Vo0Zp GtR7VTS74R560lQzIw2/Yd246Q7c7A8mkXt0pCJxH9haL0kdaFg6vWiRxh2oWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687325092; a=rsa-sha256; cv=none; b=YZS1JswtIIwC8dp23O8Ksi4ZHCv/hxslzLfwkvveJ9evLUsiE2uJGb4gl9ieLf+Z2UcdxL HooQvYwjHA6vyOf5PflTodFM4w+Mwd4/aHU4fPZ8Oio2Xs7Frrr4Wto4iYEwgrFeWRmFB7 Rj4rXdY8FZwAit+NQGYADVuBPWQ7OiKMu6jSkoEEDxJXoBwR8xoyasZNegJbs4O2OTK/ws lSJSweIMYIdTNS/8LnlkoXhNmFR2FxGryaaKTYgnJhcvtgIRmjG0P3AjRIVySeU4t4dnYa UgwkYvogPBi3PTXdq9egDn6NZVMWbeBSiAbxkRNBN7nWn7fgKzduR571GClPTg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QmBlS3dCSzVGD for ; Wed, 21 Jun 2023 05:24:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35L5OqBN069384 for ; Wed, 21 Jun 2023 05:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35L5Oq8f069383 for bugs@FreeBSD.org; Wed, 21 Jun 2023 05:24:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272124] The socket option "SCTP_DELAYED_ACK_TIME" is not available Date: Wed, 21 Jun 2023 05:24:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ph317093@fh-muenster.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272124 Bug ID: 272124 Summary: The socket option "SCTP_DELAYED_ACK_TIME" is not available Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: ph317093@fh-muenster.de CC: doc@FreeBSD.org The socket option "SCTP_DELAYED_ACK_TIME" is not available on FreeBSD-14.0-CURRENT-amd64-20230615, even though it is mentioned in the man= ual. Instead, you can use SCTP_DELAYED_SACK. I believe this is an error in the manual and needs to be replaced. Here's an example of the error: struct sctp_sack_info sackInfo; socklen_t sackInfo_len =3D (socklen_t) sizeof(sackInfo); memset(&sackInfo, 0, sackInfo_len); sackInfo.sack_assoc_id =3D sackAssocId; sackInfo.sack_delay =3D sackDelay; sackInfo.sack_freq =3D sackFreq; if (setsockopt(fd, IPPROTO_SCTP, SCTP_DELAYED_ACK_TIME, &sackInfo, sackInfo_len) =3D=3D -1) { perror("SCTP_DELAYED_ACK_TIME"); exit(EXIT_FAILURE); } error: use of undeclared identifier 'SCTP_DELAYED_ACK_TIME' ^ Instead, the following approach works: if (setsockopt(fd, IPPROTO_SCTP, SCTP_DELAYED_SACK, &sackInfo, sackInfo_len) =3D=3D -1) { perror("SCTP_DELAYED_SACK"); exit(EXIT_FAILURE); } --=20 You are receiving this mail because: You are the assignee for the bug.=