Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!utzoo.UUCP!henry From: henry@utzoo.UUCP Newsgroups: comp.protocols.tcp-ip Subject: Re: TCP checksum unrolling Message-ID: <8710210522.AA25366@ucbvax.Berkeley.EDU> Date: Wed, 21-Oct-87 00:31:43 EDT Article-I.D.: ucbvax.8710210522.AA25366 Posted: Wed Oct 21 00:31:43 1987 Date-Received: Fri, 23-Oct-87 01:59:03 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 10 > ... Some C compilers won't accept the wierd syntax below; or maybe I > should point out, as you wretch on the floor, that there is at least ONE > c compiler that DOES accept this syntax. This particular piece of ugliness (switch labels inside a loop, for loop unrolling) is known as Duff's Device, and is legitimate C that any correct C compiler is supposed to accept. Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,decvax,pyramid}!utzoo!henry