demikernel
demikernel copied to clipboard
[inetstack] Deduplicate state machine
Context
Currently we have one state machine that is used by Catnap and Catloop and then an additional one in the inetstack. This should be deduplicated into one state machine.
Proposed Solution
Add the ability to store state/sockets in the state machine? I think we should be able to store sockets in the state machine and/or addresses depending on the state that the queue/socket is in. This will eliminate the need for the existing state machine in the TCP stack.