lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] a question about porting


From: jack W
Subject: [lwip-users] a question about porting
Date: Wed, 10 Nov 2004 20:02:35 +0800

lwip-usershello everyone


  i am porting the lwip into ucos . but i happen a question . i use ping 
command to ping the board  and i watch the incoming data packet , it is running 
.and  data is follwing :
                                               from here 
                                               |
0x80043180  00 00 00 00 00 00 00 00 02 01 00 00 90 31 04 80 .............1..
0x80043190  40 00 40 00 FF FF FF FF FF FF 00 E0 4C 03 18 72 @address@hidden
0x800431a0  08 00 06 04 08 00 06 04 00 01 00 E0 4C 03 18 72 ............L..r
0x800431b0  C0 A8 00 01 00 00 00 00 00 00 C0 A8 00 03 20 20 ..............  
                                                     | end

 but in the function arp_arp_input() ; it watch the pointer hdr 

...hdr
     ethhdr
       ....dst  ff ff ff ff ff ff
       ....src  00 e0 4c 03 18 72
     hwtype    0x01000
     proto     0x0008
     _hwlen_protolen 0x0406
    shwaddr 
       ..... 00 e0 40 03 18 72
     sipaddr  
       ..... 0x0100a8c0
    dhwaddr
     .....   00 00 00 00 00 00
    dipaddr 
     ......  0x20200300      <---- why happen this error ,my board ip should    
       be                            0x0300a8c0 "192.168.0.3






reply via email to

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