lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : RE [lwip-users] : PPP


From: Frédéric BERNON
Subject: RE : RE [lwip-users] : PPP
Date: Wed, 7 Nov 2007 09:11:08 +0100

>For your information we are using lwip 0.6.3 also i could see 1.2.0 is the 
>version available now...

0.6.3 is very old release. There was lot of releases since this one (0.6.4, 
0.6.5, 0.6.6, 0.7.0, 1.0.0, 1.1.0, 1.1.1, 1.2.0)

>but in that i couldn't see the macros u have mentioned. PPPOE_SUPPORT=0 
>PPPOS_SUPPORT=1 and pppOverSerialOpen 

As you talk about pppoE, I thought you use the CVS head.

>It will be more useful if u refer how to get this source code meaning CVS 
>checkout through Windows
Take a look to :
https://savannah.nongnu.org/cvs/?group=lwip (for lwIP CVS checkout)
http://www.nongnu.org/cvs/ (for CVS generic concepts)
http://www.tortoisecvs.org/ or http://www.wincvs.org/ (for some Windows CVS 
tools)

>Also for CVS checkout you have mentioned 
>http://lwip.scribblewiki.com/LwIP_Main_Page
??? No, I give you this link for general lwIP documentation, like 
initialization steps, not for checkout

>this site is having unix/linux related files.I am new to Linux kindly refer 
>this for Windows.
I'm not sure to understand. What unix/linux related files ?
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : address@hidden 
Web Site : http://www.hymatom.fr 
====================================
P Avant d'imprimer, penser à l'environnement
 


-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de ramash
Envoyé : mercredi 7 novembre 2007 06:21
À : address@hidden
Objet : Re: RE [lwip-users] : PPP




For your information we are using lwip 0.6.3
also i could see 1.2.0 is the version available now...
but in that i couldn't see the macros u have mentioned. PPPOE_SUPPORT=0 
PPPOS_SUPPORT=1 and pppOverSerialOpen 

Correct me if i am wrong

It will be more useful if u refer how to get this source code meaning CVS 
checkout through Windows.Also for CVS checkout you have mentioned 
http://lwip.scribblewiki.com/LwIP_Main_Page  this site is having unix/linux 
related files.I am new to Linux kindly refer this for Windows.

Regards 
ramash





Frédéric BERNON wrote:
> 
>>Thanks for your reply,we are able to send udp packets but unable to 
>>get
the value for sockets and how to pass the socket value inside the udp_send to 
function. 
> 
> Be careful, if you use sockets API layer, you don't have to use the 
> socket value for udp_send (the raw API layer). You should use 
> lwip_send/lwip_sendto (or send/sendto).
> 
>>how to use socket to get a valid return value,since the return value 
>>is
zero for opening socket 
> 
> But 0 is a valid value for lwip_socket/socket!!! (>=0)
> 
>>kindly suggest a option to get a valid return value for socket with 
>>out
using eternet (using only serial port)
> 
> You don't have answer to these questions: "...To be sure to 
> understand, do you use the ppp stack provided with lwIP sources, or 
> your own one? What lwIP release do you use?...".
> 
> If you use the CVS head, you could set in your lwipopts.h: 
> PPP_SUPPORT=1 PPPOE_SUPPORT=0
> PPPOS_SUPPORT=1
> 
> It SHOULD work (but since I don't use PPP, I can't confirm you). Note 
> that previous pppOpen call is now replace by pppOverSerialOpen (sample 
> in unix port is broken).
> 
>   
> ====================================
> Frédéric BERNON
> HYMATOM SA 
> Chef de projet informatique 
> Microsoft Certified Professional 
> Tél. : +33 (0)4-67-87-61-10 
> Fax. : +33 (0)4-67-70-85-44 
> Email : address@hidden 
> Web Site : http://www.hymatom.fr 
> ====================================
> P Avant d'imprimer, penser à l'environnement
>  
> 
> 
> -----Message d'origine-----
> De : address@hidden
> [mailto:address@hidden De 
> la part de ramash Envoyé : mardi 6 novembre 2007 13:21
> À : address@hidden
> Objet : Re: [lwip-users] PPP
> 
> 
> 
> Thanks for your reply,we are able to send udp packets but unable to 
> get the value for sockets and how to pass the socket value inside the 
> udp_send to function.
> 
> 1. how to use socket to get a valid return value,since the return 
> value is zero for opening socket.kindly suggest a option to get a 
> valid return value for socket with out using eternet (using only 
> serial port)
> 
> regards
> ramash
> 
> 
> 
> Frédéric BERNON-2 wrote:
>> 
>>> Dear All,
>>>    Our project team is trying to send data using point to point 
>>> protocol,We are using PPP 2.4 version with LWIP.We are able to 
>>> establish a PPP link and
>>> got IP address from ISP using our own drivers.After this we have the
>>> following issues.
>> 
>> To be sure to understand, do you use the ppp stack provided with lwIP 
>> sources, or your own one? What lwIP release do you use?
>> 
>>> 1.We are unable to pass the  IP packets ,since there are more files
>>> such
>>> as
>>> tcp.c,ip.c,tcpip.c,udp.c..etc.Through which file we have to send data
>>> that
>>> is IP packets.
>> 
>> I will suppose you have implement your own PPP. So, if you use 
>> sockets
>> API, you should send them to the tcpip_input function (sockets API and 
>> netconn API use the same entry point)
>> 
>>> 2.We decided to use sockets to send packets,but it does not returns 
>>> a socket id like  windows socket API.
>> 
>> lwip_socket/socket return an "int", this one is valid is it's >=0.
>> Windows
>> socket API return a SOCKET type, which is also an "int"
>> 
>>> 3.we are confused to decide a code flow   to send tcp/ip packets. also
>>> in
>>> a
>>> file called ip.c the function  ip_init is empty but defined, a comment
>>> is
>>> mentioned inside the function   "/* no initializations as of yet */".
>>>
>>> kindly reply us to find a correct path.
>> 
>> The CVS head is now more simple for init. The best if you know 
>> Windows
>> is to look the lwip/contrib/ports/msvc6 port which is updated for 
>> initialization parts.
>> Once initialized, you can use sockets API like on any systems.
>> 
>> You can also found some informations on :
>> 
>> http://lwip.scribblewiki.com/LwIP_Main_Page
>> 
>>> --
>>> View this message in context:
>>> http://www.nabble.com/PPP-tf4741948.html#a13560146
>>> Sent from the lwip-users mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> _______________________________________________
>>> lwip-users mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/lwip-users
>>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/lwip-users
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/PPP-tf4741948.html#a13605559
> Sent from the lwip-users mailing list archive at Nabble.com.
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden 
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]