Re: UDP checksum calculation - uses lenght twice ?
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 09:32:44 +0200
Hi, Alexander , just a little correction :
TCP headers have no relation with Unix(BSD) stack because TCPIP stack was
invented by Vint Serf and Bob Kahn in 1973-1974 ( even RFC973 appeared in
1981 due to http://www.faqs.org/rfcs/rfc793.html ) and first Berkley socket
subsystem appeared in 1983 only. Unix long time was single computer Os
opposite to other minicomputer ( the first computer for Unix was PDP-7 and
shortly moved to PDP-11 ) Oses called RT ( search for DECNet e.g. which was
develop in parallel with TCP/IP so DEC didn't want TCP long period :)
opposite to HP and other minicomputer's ( for RT ) OEMs.
That just part of my life in computers : ) both on DEC and HP RT computers.
My first network experience was on HP21xx serie ( mini with microcomputers
net ) the same time Berkley sockets first issued. That was so long ago that
you can't to find any data about RTE Os
( RT Executer of HP ) in the web, DEC is something different , but that due
to Dave Catler and his team moved from DEC to MSFT and created all modern
Windows ( not a lot but that is its history :
http://research.microsoft.com/~gbell/Digital/timeline/1957.htm )
Arkady
"Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
news:O6ZT7JF9FHA.2676@xxxxxxxxxxxxxxxxxxxxxxx
> I'm not exactly sure, but I believe the reason is due to an
> implementation detail of the BSD network stack. The
> pseudo-header corresponds to the last 12 bytes of the
> original IP packet header, but modified after processing
> at the IP layer. These contain the source and destination
> addresses, the TTL (which is now zero), the protocol (17
> for UDP), and the IP header checksum, which is apparently
> replaced with the packet length before the packet is passed
> to the UDP layer for processing. Notice it is _not_ in network
> byte order :)...
>
> I hope this is the answer you were looking for all along...
>
> --
> =====================================
> Alexander Nickolov
> Microsoft MVP [VC], MCSD
> email: agnickolov@xxxxxxxx
> MVP VC FAQ: http://www.mvps.org/vcfaq
> =====================================
>
> "R.Wieser" <address@xxxxxxxxxxxxx> wrote in message
> news:ux58gzC9FHA.3876@xxxxxxxxxxxxxxxxxxxxxxx
>> Arkady Frenkel <arkadyf@xxxxxxxxxxxxxxxx> schreef in berichtnieuws
>> #WLcVnC9FHA.2264@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> Hello Arkady,
>>
>>> P.S. BTW Police officer ( in this case RFC sure not me :) describe
>>> that maybe not clearly enough but "This gives the TCP protection
>>> against misrouted segments" ( RFC ) is the explanation.
>>
>> I'm sorry, but no ammount of effort on my part in trying to explain what
>> I
>> want does seem to help ....
>>
>> Your above answer is as correct as the "because otherwise it does not
>> function" one, but allso does *not* answer my question.
>>
>> I'm asking why the calculation has been designed as it curently is,
>> nothing
>> more, nothing less.
>>
>> Regards,
>> Rudy Wieser
>>
>>
>>
>
>
.
- Follow-Ups:
- Re: UDP checksum calculation - uses lenght twice ?
- From: Alexander Nickolov
- Re: UDP checksum calculation - uses lenght twice ?
- References:
- UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Arkady Frenkel
- Re: UDP checksum calculation - uses lenght twice ?
- From: R.Wieser
- Re: UDP checksum calculation - uses lenght twice ?
- From: Alexander Nickolov
- UDP checksum calculation - uses lenght twice ?
- Prev by Date: Re: UDP checksum calculation - uses lenght twice ?
- Next by Date: Re: Question about PfAddFilterToInterface
- Previous by thread: Re: UDP checksum calculation - uses lenght twice ?
- Next by thread: Re: UDP checksum calculation - uses lenght twice ?
- Index(es):
Relevant Pages
|