lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Help with IP header size


From: Adam Fullerton
Subject: [lwip-users] Help with IP header size
Date: Sat, 01 May 2010 17:00:58 +0100

Hi,

I am trying to make lwIP work with a big endian SH processor, but I think that I have some of the configuration options set incorrectly. The processor is 32 bit and the DMA requires the data to be 4 bytes aligned.

When I look at the data sent by a DHCP discover it has a two byte offset at the start:

ipStart: MAC: 00:00:87:36:C4:99
ipInitialise: 9
ipLinkMonitor: Started
ipLinkMonitor: Link Down
ipLinkMonitor: Link Up
dhcp_start(netif=c006924) E0
dhcp_start(): starting new DHCP client
dhcp_start(): allocated dhcpdhcp_start(): starting DHCP configuration
dhcp_discover()
transaction id xid(1)
dhcp_discover: making request
dhcp_discover: realloc()ing
dhcp_discover: sendto(DISCOVER, IP_ADDR_BROADCAST, DHCP_SERVER_PORT)
ipOutput: 9
ipOutput 0 0xc07bd50 352 Total 352
00 00 FF FF FF FF FF FF 00 00 87 36 C4 99 08 00
45 00 01 50 00 00 00 00 FF 11 BA 9D 00 00 00 00
FF FF FF FF 00 44 00 43 01 3C D0 A4 01 01 06 00
00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 87 36 C4 99 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 63 82 53 63 35 01 01 39
02 05 DC 37 04 01 03 1C 06 FF 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
dhcp_discover: deleting()ing
dhcp_discover: SELECTING
dhcp_discover(): set request timeout 2000 msecs

Which settings have I got wrong?

Thanks in advance.

Adam Fullerton.



reply via email to

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