From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3212 invoked from network); 13 May 2022 22:29:56 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 13 May 2022 22:29:56 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob1.topicbox.com (Postfix) with ESMTP id B33D222236 for ; Fri, 13 May 2022 18:29:50 -0400 (EDT) (envelope-from bounce.mM89a982028d4683e7593a7b79.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id B0E1F14853DB; Fri, 13 May 2022 18:29:50 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=Oq3e9tJ0 header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=quintile.net; spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1652480990; bh=hWRg/qROu6i/AdBr yrmQ/1rkzThGM3xQ5OHN6gAKrOk=; b=MuoWtCVe3qBx8h2mWqRQ3u8E9A128o4G +ZwzO+4PMhyokvpzNS0miFme7tmI5gYvrE+OA7N+MhhYwswSFKAu+4cbNogA2hhR 8l9jAcZRdvNtJ06I3ezJGdTs64SBOyW31J/VE2Uoh9W752NEPnp0Adhhd+qSDN5z mDxk3UgF7WA= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1652480990; b=LzqDVsUsL6sTU/HHNAeCXozRNUBYh06Iib3225j0X+kYNKzOSX YnPT5k/pRqqhUsEqlIrVflApVVw0z0p9XtATjTJsfOXm6ak0HWUThYDMq4dWIQ3J iU4M4FJu+a9wdqE2DrVPQmqmJzyGLscYJ9FQNrZYjPOS5es6hIl8d0y6A= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=Oq3e9tJ0 header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=quintile.net; spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=Oq3e9tJ0 header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=quintile.net; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx2.mythic-beasts.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-return-mx=pass smtp.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= content-type:content-transfer-encoding:from:mime-version:subject :date:message-id:references:in-reply-to:to:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=hWRg/qROu6i/AdBryrmQ/1rkzThGM3xQ5OHN6gAKrOk=; b=ZMdBhUsNN4Pk uM+oKEhZk//mHrdpc6XmcEI7t5iZglYWxcSrxe4DF2puwYpgf1hM72Y+tAPSLRrW MQx3Crws+Tujy3YKht/m7y6sILaUFa3foKP+0p5ZmgqHO6NchFsR5RRjNinLxC6T 0EHEhgnepOhKMKzUyOazoMyBNd3nnMg= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 498F514844E8 for <9fans@9fans.net>; Fri, 13 May 2022 18:29:10 -0400 (EDT) (envelope-from steve@quintile.net) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 8A7A66E19A0; Fri, 13 May 2022 18:29:10 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1652480950; b=xH4utwSpxLMNCapKeasiAWcYgNExbQb1Df9oY65bp6d7m6nP32 Zhln7w05tSThJK+KtZqXTkVPJsqAZHehUZjN/bRH5pcKsccQeYzonj1hQdp7IP1R G0PbDHrF1VnnBuYzd7FsJr/s4vRXmP0SR5qTCS8v9J7gqDlHB+BKBK/9n59Ii07e YYKS89BMpVrKnO0HvJIKkgDxi5EeNKhrMbsV3XSEFJ91PRIWfymzk8bu0+W7xiAN ABcFf8m/aTLs66cJ/JjLab/Dzxlko5RpDp0fFZE4ylbVuRQYDlSvjeBUM4sNZBYN 8Iihr2gKHqIjT3LXCau5qjYqldBtfd9G/wEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to; s=arcseal; t=1652480950; bh=eqzEHkYChh7woOslqVd16xiXfwzswMb8By4 GbsxRhmw=; b=ljJSV2iIPMrervh2hQbN5Gr0I4npEw18itN+3yT/ZGPeVbBiTMv ZsZsruPQhaSmhdAKb4uyHAtOsnHlp2D76mNkRVkP+oYH9aLaR4CUSQL24FsV7837 1DwtjNhIl/wVaU0P/ubOnjLY25DnNhV/auqPE+cmLPBdvN9JMny8yr7A4lAt1fTs gLd58hw5TucOcPT5D6djwXI2tjqEbtWTa5SfNY9JFxQ6IlqhoT121Cra9noGjp+c 91VRV5u+UHE6FjRdpSRvyVvAc3ZdmxchvIGElrgAl5g9DWjtZzUyCqamx1CZMKhc o61ZVPvwBfXYCF8vWuMBGP5DD52UJyqOvQQ== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=Oq3e9tJ0 header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=quintile.net; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx2.mythic-beasts.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-return-mx=pass smtp.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrhedtgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfghfgguf ffkfhfjgfvofesthhqmhdthhdtjeenucfhrhhomhepufhtvghvvgcuufhimhhonhcuoehs thgvvhgvsehquhhinhhtihhlvgdrnhgvtheqnecuggftrfgrthhtvghrnhepfeefteevff ehfeekffeiiedufeegleevjeelvddvtdfhvddutefgueegueejjeefnecuffhomhgrihhn pehtohhpihgtsghogidrtghomhenucfkphepgeeirddvfeehrddvvdejrddvgedpkedurd dukeejrdduleekrddufedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehi nhgvthepgeeirddvfeehrddvvdejrddvgedphhgvlhhopehmgidvrdhmhihthhhitgdqsg gvrghsthhsrdgtohhmpdhmrghilhhfrhhomhepoehsthgvvhgvsehquhhinhhtihhlvgdr nhgvtheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (quintile.net: Sender is authorized to use 'steve@quintile.net' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="steve@quintile.net"; helo=mx2.mythic-beasts.com; client-ip=46.235.227.24 Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 13 May 2022 18:29:09 -0400 (EDT) (envelope-from steve@quintile.net) Received: from [81.187.198.132] (port=52373 helo=smtpclient.apple) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1npdmS-0007G9-7B for 9fans@9fans.net; Fri, 13 May 2022 23:29:08 +0100 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: Steve Simon Mime-Version: 1.0 (1.0) Subject: Re: [9fans] ntohl, htonl, &c Date: Fri, 13 May 2022 23:29:01 +0100 Message-Id: <948B711D-CD62-4467-BDA1-7370873E26BF@quintile.net> References: <0A3B41017F6A41EB721E1ED9FF8FADB9@eigenstate.org> In-Reply-To: <0A3B41017F6A41EB721E1ED9FF8FADB9@eigenstate.org> To: 9fans <9fans@9fans.net> X-Mailer: iPhone Mail (19E258) X-BlackCat-Spam-Score: 4 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1e935b3e-d30c-11ec-b579-ba28c816d268 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYmY1ODMxMGI1NjFjZDE4MC1NODlhOTgyMDI4ZDQ2ODNlNzU5M2E3?= =?UTF-8?B?Yjc5Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M89a982028d4683e7593a7b79:1:8Ry8DYzMGqX9mTi31SrBE-nVHth4Q2qsx5g0kpwnwQ0 ntohl in libc? say its not so? -Steve > On 13 May 2022, at 10:23 pm, ori@eigenstate.org wrote: >=20 > =EF=BB=BFQuoth adr : >> so I imagined that some functions >> or macros could be defined already somewhere. >=20 > They exist in fcall.h -- see GBIT/PBIT macros. >=20 > I wouldn't object mych to putting them in libc, possibly > with better names and an accompanying patch to move > the rest of the code over to use them. >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tbf58310b561cd180-M89a98= 2028d4683e7593a7b79 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription