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 4371 invoked from network); 13 May 2022 22:37:49 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 13 May 2022 22:37:49 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 86CC3225CA for ; Fri, 13 May 2022 18:37:48 -0400 (EDT) (envelope-from bounce.mM67c8b4f012da468975a17d1e.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 842E423E65F8; Fri, 13 May 2022 18:37:48 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1652481468; bh=G9lwn2hHB/LsUq8blzJOXzm4I+hdrCkwPWx1s Dhdg28=; b=i2HzTXXdwmYpaK/pSnKXIU4btDaR8uyRKArn5zoI5puKFLNo5cLU/ Ax+NPNAkfpNNQ0wNWRhqozORon4/ajc/R5MhvezHSHu9jq6ekvnYc2U5S8gaEDC1 H5qfsb3NhrSreecVPNi5f7hMDsS6mulUpe+K4g35vQAQ3FnCkLG6V8= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1652481468; b=ZbQY+PBGubl/ivGh+k4jIyuy0kM2iCb5FNZ3cC2FT708pXQL/n 2TMcvniupXefx+4KftYtUf6E4Gf4kcaOvHTdNk8Bl4TuNuWLsRLv13gn1s+b+uq4 DZ0RvwDvvnFfOgkIzsZabCkooUJUti4Ne8kvGqicEZd6kTjue3o4AJdXM= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); 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=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=G9lwn2hH B/LsUq8blzJOXzm4I+hdrCkwPWx1sDhdg28=; b=ip5RjU/ruE14WSe2sjHycowO Dw7kyAgkybu9qcfFF75JwCCAHS14OWV1pQpT1ee6gH/pnWtuvnYCxnBCMWaZkJ5e tregwbRA8UVEg+DKdBM7UaNfacIp8fFx/qAmSRrboQy0rUD+IS73R5lJfdzJJQQL 2kRL1EC1oVuuOZp8FBE= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id CA66C23E61EB for <9fans@9fans.net>; Fri, 13 May 2022 18:37:37 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 3055AA94478; Fri, 13 May 2022 18:37:37 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1652481457; b=Ri0fx/KrrGF42Q/rMmnoTvFXPeq7syz/80xlJKqD+usAuT2E7/ pER/7UaRpaSVtSxG8SpucrmSApoTNntFNRjrT13BPt5DLGWc4nSAhtEzZ9/O0gaa vx+2/fYpB6kvHKWNNBtiSnDGmatquRhCfgWoYsP7dLHXw3B6vwqP5yVb4dRmNOdC DT/mYGUrcSzESfsIfRZYd9RLGhE1oJxpP4YXTzitiV7JNaHVMUKbUmWN2HxaoWbz XHlXuvqhZ4aKZYuyZ/O4sCdszfFdmYJNOYOLA5SpUgyr8A1H/sDSTB6kVCJH2NmP WRDskcbp83e6CaXRSvPh0detcyUPc1DiV2cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1652481457; bh=7f0Msj5L4+gpm30JuKvzqYbazVvEam77Kkup5gHntMU=; b= wxfssALXMv13yyc6SMPrw8uJi1u/vPoLRT5bdQiklH08tttGunLdjwWz0AqFTgc3 cDDeNs8ClZ60R+NWPFd8DB8Miy3QfJZ2C9zmuks9jKCSAqjrnRAcfymfATAWR2Vp o4On4BVwPJZeMPv/i8uavp3Gobq4WmN6gi6RI24o3Xei+5Sd5qAn+SiDUWesP7cL HWEayAVrtey5JuTlQUzJKeyBPzrpt+KMdJkE5ZosaGSmlB+q14aIuZme3OCUYJQr prQAAzehIFFNk66cGYpg4N9qBhxzsH4E2V3fXbYUUb5ec/t3y5WU8whcqP3DLWpb xp0Wa8/t1foIaZcy6Wyw8w== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass 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=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: mail.pikopiko.org,nokogiri.pikopiko.org,eigenstate.org,kusuri.pikopiko.org); 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: gggruggvucftvghtrhhoucdtuddrgedvfedrhedtgdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvufffhf gjgggtgfesthejjedttddtvdenucfhrhhomhepohhrihesvghighgvnhhsthgrthgvrdho rhhgnecuggftrfgrthhtvghrnhepvdehtdeffeetgeelhfegkeehhfeuhfehvddvieduue ehjeetgeevkeeitdevuefhnecukfhppedvtdeirdduvdegrddufedvrddutdejpdejgedr uddtkedrheeirddvvdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinh gvthepvddtiedruddvgedrudefvddruddtjedphhgvlhhopehmihhmihhrrdgvihhgvghn shhtrghtvgdrohhrghdpmhgrihhlfhhrohhmpeeoohhrihesvghighgvnhhsthgrthgvrd horhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 13 May 2022 18:37:36 -0400 (EDT) (envelope-from ori@eigenstate.org) Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 8972de42 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Fri, 13 May 2022 15:37:35 -0700 (PDT) Message-ID: <8CB6493171ADDFFD03A47AB46EE6B568@eigenstate.org> To: 9fans@9fans.net Subject: Re: [9fans] ntohl, htonl, &c Date: Fri, 13 May 2022 18:37:33 -0400 From: ori@eigenstate.org In-Reply-To: <948B711D-CD62-4467-BDA1-7370873E26BF@quintile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 4cfecd54-d30d-11ec-a803-a29a97c8ceda Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYmY1ODMxMGI1NjFjZDE4MC1NNjdjOGI0ZjAxMmRhNDY4OTc1YTE3?= =?UTF-8?B?ZDFlPg==?= 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:M67c8b4f012da468975a17d1e:1:RWbSX7Prjz5uDykFuQtEWrznB7gGvocq8wJ7G1F6JLc Quoth Steve Simon : > ntohl in libc? > say its not so? definitely not the byte swapping versions. the unpacking of known bytes with known endianness into an integer, though, is a sensible API that many programs copy and paste; it's trivial to write, but it's also common. I don't feel strongly that it needs to be there, but I dont' object to it either. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tbf58310b561cd180-M67c8b= 4f012da468975a17d1e Delivery options: https://9fans.topicbox.com/groups/9fans/subscription