lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Byte ordering and byte swapping


From: Muhamad Ikhwan Ismail
Subject: RE: [lwip-users] Byte ordering and byte swapping
Date: Mon, 10 Dec 2007 13:11:35 +0000


Hi,

Can wireshark see garbage frames ?  If it can, then it has to be my driver problem then since I didnt see
anything. But if i just set BYTE ORDER as litlle endian, lwip will use htons functions as default right ?
It should work for me then ?

Thanks for the reply

Greetings.
M Ikhwan





> Date: Mon, 10 Dec 2007 11: Send53:58 +0000
> From: address@hidden
> To: address@hidden
> Subject: Re: [lwip-users] Byte ordering and byte swapping
>
> Muhamad Ikhwan Ismail wrote:
> >
> >
> > Hi
> >
> > I got a q about how i should setup the byte ordering on my project for
> > lwip.
> > Im running lwip 1.2 on PowerPC MPC852t under little endian mode, and
> > what i did was
> > in cc.h I defined BYTE ORDER as LITTLE_ENDIAN. I am not defining any
> > other swapping functions
> > so im expecting it to use the normal htons functions. My question is, is
> > my steps correct cause as i send out DHCP
> > packets none is detected by wireshark...
>
> Are you saying that wireshark sees garbage packets instead? Is there any
> reason you suspect byte ordering specifically? To me, your problem looks
> more fundamental than that - something in your ethernet driver. Set
> breakpoints on your ethernet driver send function and see what happens.
>
> Jifl
> --
> eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
> Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
> Registered in England and Wales: Reg No 4422071.
> ------["The best things in life aren't things."]------ Opinions==mine
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users


Your smile counts. The more smiles you share, the more we donate. Join in!

reply via email to

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