From nobody Mon Feb 13 18:17:14 2023 X-Original-To: dev-commits-src-main@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 4PFsxl2DPKz3pdcT; Mon, 13 Feb 2023 18:17:15 +0000 (UTC) (envelope-from git@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 4PFsxl1Xbqz3xXM; Mon, 13 Feb 2023 18:17:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676312235; 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=bXghk/VkBu0MYyfPKpUFqJmqOIcZi0/KOI8+FM9jCeM=; b=LiNGjaoX8oGV2tuErIkHNbyAJYQSwi6jA7Ht6eZahLoY6MlvVbix2hbHExG9jTTeAchIbw 8yg0CI8qJCoAlgOJQV8GUwzDn2IDIYGgvsHGmhxhMXTtmeesA9xpNvwRxhW3BSAAEHshrb Ev70R/p/pBXNRwsc8rbAfARbagh3TEhuPZm86KDyuw8mTNK05wFEdiyHdyeM0bV/I0DZLa aY/xKBFkUzL6G/63OznB66Ql61nMgFB6ZGO2jdsL3hTKOnA0W0pJ/cNsQuHhH0+MFam3wQ hKYQ5KJFbO6C+UtZAx2/rftrQfNE7mLLgw9LfT6TTwJ3stkC9hjIVoB3ZAy7Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676312235; 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=bXghk/VkBu0MYyfPKpUFqJmqOIcZi0/KOI8+FM9jCeM=; b=SNAxaZlWOnijHWU8CqLKHOMezYoigkwd2lb95lUSzPZ9TvfSllsqdjzhnwEMtC2D8YqwFN PF2WrBsoUd9iQGMGqIhGRYgzOlU4ywvsPKwtpJq55QkNGaw2iPfIBRsDCKwJuEEKkV6UiK Z7NXHyGpKxMYBDXP/IrTLLO8nyegCM5WfFEuWsOnR/N0DeXWyMvVOn/q6AZ+hlZLQDU88W zF25DdeSNvnq83Pjacqvat9WsbWSqkIghmpQtqIrz7kkRUpDIkBAymfRAQXgAYTlpapmCn pgsQg6ADfzCHs+v0qFuwcxc1qUqucKftzv9lZ9DVRDISnYsNGqD/yrF75JqYWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676312235; a=rsa-sha256; cv=none; b=Kbl1FeOoU91L5ENXE8zVYjeTdizW32n+ULeOYvCvdgzSU9mTwBSltcJB7+fV0ZkfVFCZjI ASUE2VQwh87KFVeZcZ2KchmyJW5GpecJoJESH2DCr6GTGA5gMgRl+2OoXa6q9CEYvY4/mD gSYwsc7xnA1NrSdmtkWoNixym3xBGTn5hxFlpvYIJR2j7IXKyRabbSRYsR+OD8n8209rm4 zRMgKK19SJvPrbj5N+eoZ5BmNeqYG4ro1CMKtuXA8zja1UZJPkKgLHRaRuQ3TDQYIrnZAN pqNVMJd3t0EgB2KmkENyoBkG64tDXXvB8Qc6WZ55hALmqkjh53Tr3pbhjrx+5w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4PFsxl0TmZzSlN; Mon, 13 Feb 2023 18:17:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31DIHEgl012282; Mon, 13 Feb 2023 18:17:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DIHEWa012281; Mon, 13 Feb 2023 18:17:14 GMT (envelope-from git) Date: Mon, 13 Feb 2023 18:17:14 GMT Message-Id: <202302131817.31DIHEWa012281@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: e4542107d8a6 - main - sctp: ansify List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e4542107d8a6d3bb5174136e7e6b7262c0343337 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=e4542107d8a6d3bb5174136e7e6b7262c0343337 commit e4542107d8a6d3bb5174136e7e6b7262c0343337 Author: Mateusz Guzik AuthorDate: 2023-02-13 18:16:28 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-13 18:17:10 +0000 sctp: ansify Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netinet/sctp_syscalls.c | 43 ++++--------------------------------------- 1 file changed, 4 insertions(+), 39 deletions(-) diff --git a/sys/netinet/sctp_syscalls.c b/sys/netinet/sctp_syscalls.c index 5ae1da98e5da..a4824e963bfa 100644 --- a/sys/netinet/sctp_syscalls.c +++ b/sys/netinet/sctp_syscalls.c @@ -139,12 +139,7 @@ sctp_syscalls_uninit(void) * SCTP syscalls. */ int -sys_sctp_peeloff(td, uap) - struct thread *td; - struct sctp_peeloff_args /* { - int sd; - caddr_t name; - } */ *uap; +sys_sctp_peeloff(struct thread *td, struct sctp_peeloff_args *uap) { struct file *headfp, *nfp = NULL; struct socket *head, *so; @@ -211,17 +206,7 @@ done2: } int -sys_sctp_generic_sendmsg (td, uap) - struct thread *td; - struct sctp_generic_sendmsg_args /* { - int sd, - caddr_t msg, - int mlen, - caddr_t to, - __socklen_t tolen, - struct sctp_sndrcvinfo *sinfo, - int flags - } */ *uap; +sys_sctp_generic_sendmsg(struct thread *td, struct sctp_generic_sendmsg_args *uap) { struct sctp_sndrcvinfo sinfo, *u_sinfo = NULL; struct socket *so; @@ -320,17 +305,7 @@ sctp_bad2: } int -sys_sctp_generic_sendmsg_iov(td, uap) - struct thread *td; - struct sctp_generic_sendmsg_iov_args /* { - int sd, - struct iovec *iov, - int iovlen, - caddr_t to, - __socklen_t tolen, - struct sctp_sndrcvinfo *sinfo, - int flags - } */ *uap; +sys_sctp_generic_sendmsg_iov(struct thread *td, struct sctp_generic_sendmsg_iov_args *uap) { struct sctp_sndrcvinfo sinfo, *u_sinfo = NULL; struct socket *so; @@ -446,17 +421,7 @@ sctp_bad2: } int -sys_sctp_generic_recvmsg(td, uap) - struct thread *td; - struct sctp_generic_recvmsg_args /* { - int sd, - struct iovec *iov, - int iovlen, - struct sockaddr *from, - __socklen_t *fromlenaddr, - struct sctp_sndrcvinfo *sinfo, - int *msg_flags - } */ *uap; +sys_sctp_generic_recvmsg(struct thread *td, struct sctp_generic_recvmsg_args *uap) { uint8_t sockbufstore[256]; struct uio auio;