Skip to content

feat: Small tvalv2#25

Merged
Leikoe merged 6 commits intostaging/devfrom
small_tvalv2
Apr 16, 2025
Merged

feat: Small tvalv2#25
Leikoe merged 6 commits intostaging/devfrom
small_tvalv2

Conversation

@NemoDacremont
Copy link
Owner

Added :

  • make (c|r|cp)tval_v2send
  • make (c|r|cp)tval_v2recv

They enable unit testing sending data and receiving data through TCP with our driver.

@Catatomik
Copy link
Collaborator

Well, still unable to test receive without begin able to send : opening a TCP connection needs a handshake
=> Must be able to acknowledge packets from within QEMU without sending any data back (even IP through ARP response)
So we can't send any IP packet (only ARP requests will be received)

=> Just send some ARP requests, and check that ARP responses are being treated and sent

Copy link
Collaborator

@Leikoe Leikoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yolo

@Leikoe Leikoe merged commit 70cde0c into staging/dev Apr 16, 2025
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.

3 participants