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: [EMAIL PROTECTED]
> To: [email protected]
> 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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate. Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users