From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Memory representation of variable length record components
Date: 18 Jan 2001 08:45:32 GMT
Date: 2001-01-18T08:45:32+00:00 [thread overview]
Message-ID: <slrn96db4c.ji.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 94583d$bks5t$1@ID-25716.news.dfncis.de
* Nick Roberts wrote:
>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.
I currently do this. (http://www.iks-jena.de/mitarb/lutz/ada/net/)
>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?
A little bit, yes. I get a memory image of a frame by the network interface
card. In order to avoid to much copying I'd like to map the data structures
similar to the C code used in actual OSs. But I'd like to have the
advantages of Ada95 typing. That's all ;-)
prev parent reply other threads:[~2001-01-18 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 11:38 Memory representation of variable length record components Lutz Donnerhacke
2001-01-17 14:40 ` Lutz Donnerhacke
2001-01-17 22:58 ` Nick Roberts
2001-01-18 8:45 ` Lutz Donnerhacke [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox