Patrick,

Thanks for the patch.  The conind number missing from t_bind_ack
was an oversight.

I don't understand why is was necessary for you to comment out
the canputnext in the t_conn_ind.  Could you explain what problem
it causes?

--brian

On Wed, 19 Feb 2003, compte utilisateur larcena wrote:

> Hello,
> 
> Tank you very much for your help.
> 
> It works with LiS2.13.26 and linux kernel 2.4.17.
> 
> I am using now TCP with an OSI stack over it.
> 
> I had to modify inet.c file :
> parameter CONIND_number was allways initialised to 0 in t_bind_ack function, so i
> fixed it.
> 
> With LiS2.13 i had to suppress canputnext instruction in t_conn_ind function.
> 
> Here are the diffrences listed from the original version inet.c,v
> INETBeta2_4(0.8.2.19) :
> 
> 1702c1702,1703
> <   if (canputnext(ss->rq)) {
> ---
> >   /*if (canputnext(ss->rq)) */ /*PL180302*/
> >    {
> 1915c1916,1917
> < STATIC int t_bind_ack(queue_t * q, ss_addr_t * add)
> ---
> > /*STATIC int t_bind_ack(queue_t * q, ss_addr_t * add)*/ /*PL180203*/
> > STATIC int t_bind_ack(queue_t * q, ss_addr_t * add, int con)
> 1927c1929,1930
> <   p->CONIND_number = 0;
> ---
> >   /*p->CONIND_number = 0;*/
> >   p->CONIND_number = con;
> 3233c3236,3237
> <   return t_bind_ack(q, &ss->src);
> ---
> >   /*return t_bind_ack(q, &ss->src);*/
> >   return t_bind_ack(q, &ss->src,p->CONIND_number);/*PL180302*/
> 
> 
> Best Regards
> 
> P.Larcena
> 
> "Brian F. G. Bidulock" wrote:
> 
> > Patrick,
> >
> > Which inet.c are you using?
> >
> > You might want to try the inet.c from strinet-0.8.2.tgz available
> > from here:
> >
> >         http://www.openss7.org/download.html
> >
> > It should not require kernel patches at all.
> >
> > --brian
> >
> > On Thu, 06 Feb 2003, Dave Grothe wrote:
> >
> > >
> > > >Sender: [EMAIL PROTECTED]
> > > >Date: Thu, 06 Feb 2003 10:22:16 +0000
> > > >From: compte utilisateur larcena <[EMAIL PROTECTED]>
> > > >X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u)
> > > >X-Accept-Language: en
> > > >To: [EMAIL PROTECTED]
> > > >Subject: STREAMS driver for TCP
> > > >X-MIME-Autoconverted: from base64 to 8bit by email.gcom.com id h169Kpf25640
> > > >X-SpamPal:
> > > >PASS
> > > >
> > > >
> > > >Hello
> > > >
> > > >I am using the stream driver for TCP on linux for LiS module.
> > > >
> > > >The file inet.c mentions a patch for TCP in tcp_close function.
> > > >
> > > >I am having problems when reopening and closing a stream binded on one special
> > > >port.
> > > >I can only open once and can not reopen it.
> > > >I suspect this is because i haven't applied the patch for tcp_close function.
> > > >
> > > >Could you please give me the patch for the tcp_close function.
> > > >I already have applied the patches to file tcp_output.c
> > > >
> > > >Best Regards
> > > >
> > > >--
> > > >larcena patrick
> > > >   support engenneer
> > > >   AUDILOG
> > > >   SE&P
> > > >   audilog 14 avenue Gustave Eiffel 78180 Montigny le Bretonneux
> > > >   montigny le bretonneux
> > > >   78180
> > > >   france
> > > >   Fax: 0130432111
> > > >   Work: 0130120580
> > > >  Conference Software Address
> > > >   http://www.audilog.frhttp://www.audilog.com
> > >
> > >
> > > _______________________________________________
> > > Linux-streams mailing list
> > > [EMAIL PROTECTED]
> > > http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
> >
> > --
> > Brian F. G. Bidulock    � The reasonable man adapts himself to the �
> > [EMAIL PROTECTED]    � world; the unreasonable one persists in  �
> > http://www.openss7.org/ � trying  to adapt the  world  to himself. �
> >                         � Therefore  all  progress  depends on the �
> >                         � unreasonable man. -- George Bernard Shaw �
> 
> --
> larcena patrick
>   support engenneer
>   AUDILOG
>   SE&P
>   audilog 14 avenue Gustave Eiffel 78180 Montigny le Bretonneux
>   montigny le bretonneux
>   78180
>   france
>   Fax: 0130432111
>   Work: 0130120580
>  Conference Software Address
>   http://www.audilog.fr http://www.audilog.com
> 

-- 
Brian F. G. Bidulock    � The reasonable man adapts himself to the �
[EMAIL PROTECTED]    � world; the unreasonable one persists in  �
http://www.openss7.org/ � trying  to adapt the  world  to himself. �
                        � Therefore  all  progress  depends on the �
                        � unreasonable man. -- George Bernard Shaw �

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to