From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,953a175e642a4006 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-17 14:58:56 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!fu-berlin.de!uni-berlin.de!ppp-1-234.5800-10.access.uk.worldonline.COM!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Memory representation of variable length record components Date: Wed, 17 Jan 2001 22:58:00 -0000 Message-ID: <94583d$bks5t$1@ID-25716.news.dfncis.de> References: NNTP-Posting-Host: ppp-1-234.5800-10.access.uk.worldonline.com (62.64.173.234) X-Trace: fu-berlin.de 979772334 12218557 62.64.173.234 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:4124 Date: 2001-01-17T22:58:00+00:00 List-Id: Lutz, it seems to me that you can define a record type for the IP header (the first 5 32-bit words) in the way you showed. That would then leave you using something slightly less easy (e.g. streams) to deal with the options and payload. Not perfect, but not too hard! Am I missing the point? -- Nick Roberts http://www.AdaOS.org