Skip to content

feat: handle ARP replies#31

Merged
akos011221 merged 1 commit into
mainfrom
feat/arp-reply-handling
Mar 7, 2026
Merged

feat: handle ARP replies#31
akos011221 merged 1 commit into
mainfrom
feat/arp-reply-handling

Conversation

@akos011221
Copy link
Copy Markdown
Owner

From now on UPE is able to handle ARP requests that are destined to UPE's interface IP - it replies with ARP Reply.

Devices are now able to discover UPE's MAC.

Reply is built in-place by rewriting the incoming packet buffer:

  • Swap Ethernet src/dst
  • Set ARP opcode to Reply (2)
  • Swap sender and target fields

From now on UPE is able to handle ARP requests that are destined to UPE's interface IP - it replies with ARP Reply.

Devices are now able to discover UPE's MAC.

Reply is built in-place by rewriting the incoming packet buffer:
- Swap Ethernet src/dst
- Set ARP opcode to Reply (2)
- Swap sender and target fields
@akos011221 akos011221 changed the title feat(cp): handle ARP replies feat: handle ARP replies Mar 7, 2026
@akos011221 akos011221 merged commit b80c436 into main Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant