PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > 16 bit TCP IP stack
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

16 bit TCP IP stack

Réponse
 
LinkBack Outils de la discussion
Vieux 13/03/2006, 19h18   #1
vik.reck@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 16 bit TCP IP stack

Hi
Please point me to a 16-bit GPL'ed open source TCP/IP stack. I
need to use during the 16-bit real mode during pre-boot environment.

Does any one know if there are any current linux(uClinux, eCOS ,
RTlinux etc) tcp/ip stacks which can be used in 16-bit real mode.

Anyone's prior experience with using a 16-bit tcp/ip stack.

thanks for your
-vikas

  Réponse avec citation
Vieux 15/03/2006, 01h55   #2
Craig Partridge
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

What do you mean by 16-bit TCP?

TCP doesn't care about native machine bit sizes and instruction sizes.

Some code may be written that assumes 32-bit integer math is cheap.
But that's usually just the checksum routine -- easy to change.

Craig


"vik.reck@gmail.com" <vik.reck@gmail.com> writes:

>Hi
> Please point me to a 16-bit GPL'ed open source TCP/IP stack. I
>need to use during the 16-bit real mode during pre-boot environment.


>Does any one know if there are any current linux(uClinux, eCOS ,
>RTlinux etc) tcp/ip stacks which can be used in 16-bit real mode.


>Anyone's prior experience with using a 16-bit tcp/ip stack.


>thanks for your
>-vikas


  Réponse avec citation
Vieux 15/03/2006, 05h13   #3
Walter Roberson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

In article <dv7s65$dvt$1@pcls4.std.com>,
Craig Partridge <craigp@std.com> top-posted, now corrected:
>"vik.reck@gmail.com" <vik.reck@gmail.com> writes:


>>Does any one know if there are any current linux(uClinux, eCOS ,
>>RTlinux etc) tcp/ip stacks which can be used in 16-bit real mode.


>What do you mean by 16-bit TCP?


>TCP doesn't care about native machine bit sizes and instruction sizes.


On the other hand if you have a processor with a 16-bit
non-memory-mapped address space, then you are going to have to be
careful about window sizes and fragmentation reassembly and other
items that assume that you have 64K objects readily available.
  Réponse avec citation
Vieux 15/03/2006, 12h50   #4
Craig Partridge
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

roberson@hushmail.com (Walter Roberson) writes:

>>TCP doesn't care about native machine bit sizes and instruction sizes.


>On the other hand if you have a processor with a 16-bit
>non-memory-mapped address space, then you are going to have to be
>careful about window sizes and fragmentation reassembly and other
>items that assume that you have 64K objects readily available.


TCP doesn't assume that. After all, some of the first implementations
were done on 16-bit native machines.

I just did a quick check (so I may have missed something) but the window
size is 16 bits, as is the urgent pointer. Sequence numbers are 32-bits
so you need to do some 32-bit arithmetic, but not much and it isn't
very hard. The maximum packet size is 16 bits, so you're safe there.

Certainly you don't, say, want to negotiate TCP big windows or extended
sequence numbers -- but in a 16-bit machine, you're hardly ready to accept
that kind of firehose of data anyway.

Craig
  Réponse avec citation
Vieux 15/03/2006, 13h33   #5
Markus Zingg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

> Please point me to a 16-bit GPL'ed open source TCP/IP stack. I
>need to use during the 16-bit real mode during pre-boot environment.


IMHO your best bet is to look for "embeddable TCP" stacks. There are a
few open source projects in this area and they should be easily
portable to 16 bit real mode PC envireonement.

LwIP comes to mind, but there are others. Once you find one, links
found on such a page most likely will lead you to the others.

HTH

Markus

  Réponse avec citation
Vieux 15/03/2006, 15h40   #6
Vernon Schryver
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

In article <dv92i6$otg$1@pcls4.std.com>,
Craig Partridge <craigp@std.com> wrote:

>>items that assume that you have 64K objects readily available.

>
>TCP doesn't assume that. After all, some of the first implementations
>were done on 16-bit native machines.


The trouble is not in the assumptions of protocol but the assumptions
of the implementors. Recall the recent talk here about TCP
implementations that go (or went?) crazy when presented with
"negative" port numbers and window sizes. I agree that a new TCP
implementation for a 16-bit system would not be hard write. Such
an extremely tiny system (by modern standards) should omit many
modern elaborations from header predicting to large windows to varys
buffering systems such as "cluster mbufs." The problem is that a
very tiny (by today's standards) 16-bit system is not likely to be
written from scratch instead of created by trimming and recompiling
existing code that assumes that int's contain at least 32 bits.


Vernon Schryver vjs@rhyolite.com
  Réponse avec citation
Vieux 15/03/2006, 15h47   #7
Al Dykes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

In article <1142277506.265880.50490@j52g2000cwj.googlegroups. com>,
vik.reck@gmail.com <vik.reck@gmail.com> wrote:
>Hi
> Please point me to a 16-bit GPL'ed open source TCP/IP stack. I
>need to use during the 16-bit real mode during pre-boot environment.
>
>Does any one know if there are any current linux(uClinux, eCOS ,
>RTlinux etc) tcp/ip stacks which can be used in 16-bit real mode.
>
>Anyone's prior experience with using a 16-bit tcp/ip stack.
>
>thanks for your
>-vikas
>


Open Source DOS probably has a real mode IP stack. I don't know
what the usage license is.

http://www.freedos.org/

--
a d y k e s @ p a n i x . c o m

Don't blame me. I voted for Gore.
  Réponse avec citation
Vieux 16/03/2006, 07h46   #8
chenyongbao@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

Another open source implementation of tcp/ip protocol stack:
http://freshmeat.net/projects/uip/

  Réponse avec citation
Vieux 16/03/2006, 10h28   #9
Markus Zingg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: 16 bit TCP IP stack

>very tiny (by today's standards) 16-bit system is not likely to be
>written from scratch instead of created by trimming and recompiling
>existing code that assumes that int's contain at least 32 bits.


That's why I sugested to look in the embedded area. There, all stacks
known to me (including the one I wrote) were written from scratch.

Markus
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14929 seconds with 17 queries