[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] RE: [lwip] weird piece of code in etharp since 0.5.3+ ??
From: |
Ivarsson Magnus |
Subject: |
[lwip-users] RE: [lwip] weird piece of code in etharp since 0.5.3+ ?? |
Date: |
Thu, 09 Jan 2003 02:12:29 -0000 |
> Problem is that only the mac address of the default gw must be placed
> in the packet, the destination IP must be preserved, and inside
> etharp.c it seems to be a good place to do so (for a quick hack,
> i guess).
Looking in lwip/netif.h the output function is defined:
err_t (* output)(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr);
Is it not this ip_addr that is used in finding the Mac adress?
The IP packet should be unchanged if I understand things correctly?
BR, Magnus
[This message was sent through the lwip discussion list.]