[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] transmit data using udp in raw mode
From: |
bobbyb |
Subject: |
Re: [lwip-users] transmit data using udp in raw mode |
Date: |
Fri, 18 Sep 2009 12:24:07 -0700 (PDT) |
i started in etharp.c where netif->linkout is being called by etharp_raw. i
then traced it xlltemacif.c, xlltemacif_sdma.c, xlldma_bdring.c in that
order. In bdring.c it seems to succesfully write to the register tell the
temac to begin processing the packet. Yet, i get nothing in wireshark.
Dick Balaska wrote:
>
> Have you stepped through netif/etharp.c to make sure it is doing its
> thing?
> The very first thing you should see going out the wire is a "gratuitous
> arp" via etharp.c.
> When you checked that netif->linkoutput() was being called, who was
> calling it? It should be etharp first.
> Set wireshark to look at all arp messages, NOT filtered by your mac
> address, in case that is stuffed up.
>
> dik
>
> Am 9/18/2009 2:07 PM, also sprach bobbyb:
>> Thank you for pointing me in the right direction. I did exactly what you
>> said
>> - traced from netif->linkout() as far as i could (that is, to the point
>> where the command to send the packet is written to the appropriate
>> register
>> and the hardware takes over). It seems to work fine, no errors or strange
>> statuses. Any idea what else it could be? Again, thank you for all your
>> effort.
>>
>>
>> Kieran Mansley wrote:
>>
>>> On Fri, 2009-09-18 at 08:30 -0700, bobbyb wrote:
>>>
>>>> What can i do if that is the problem? I tried switching to the generic
>>>> driver
>>>> and that doesn't work at all.
>>>>
>>> Trace through the code till you find out what's going wrong. E.g. first
>>> check that netif->linkoutput() is getting called. If it is, follow the
>>> packet through the driver until it either makes it out onto the wire or
>>> you find the problem.
>>>
>>> Kieran
>>>
>>>
>>>
>>> _______________________________________________
>>> 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/transmit-data-using-udp-in-raw-mode-tp25492137p25514176.html
Sent from the lwip-users mailing list archive at Nabble.com.
- [lwip-users] transmit data using udp in raw mode, bobbyb, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, Kieran Mansley, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, bobbyb, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, Kieran Mansley, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, bobbyb, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, Kieran Mansley, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, bobbyb, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode, Dick Balaska, 2009/09/18
- Re: [lwip-users] transmit data using udp in raw mode,
bobbyb <=