Files
RTLPlayground/uip
d00f 1c8cdab4bf arp: take the sender MAC from where a received frame keeps it
IPBUF is laid out for frames we send, with the 12 byte TX descriptor in
front of the Ethernet header. A received frame starts with the Ethernet
header at uip_buf[0] and carries the RTL and VLAN tags after the
addresses, so IPBUF->ethhdr.src read the port mask and both VLAN fields
as a MAC. Every IP packet from the local network then replaced the
sender's ARP entry with that, and our replies went to an address nobody
has. The IP source address sits at the same offset in both layouts,
which is why the rest looked right.

Use BUF, the receive view uip_arp_arpin() already works from.
2026-09-13 04:14:21 +02:00
..
2025-07-11 14:16:08 +02:00
2025-07-11 14:16:08 +02:00
2025-07-11 14:16:08 +02:00
2026-04-19 22:18:39 +02:00
2025-07-11 14:16:08 +02:00
2025-08-28 16:58:51 +02:00
2026-09-04 07:11:49 +02:00
2026-08-26 20:51:32 +02:00
2025-07-11 14:16:08 +02:00