-
-
Notifications
You must be signed in to change notification settings - Fork 205
Rfc9293 WIP #202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Rfc9293 WIP #202
Conversation
:ack-p t is the default.
| (challenge-ack connection)) | ||
| ((logtest flags +tcp4-flag-ack+) | ||
| (detach-tcp-connection connection)))) | ||
| ((not (logtest flags +tcp4-flag-ack+))) ; Ignore packets without ACK set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the commit message for this one. Not commenting on the logic in the change.
| (t | ||
| (when (eql ack (tcp-connection-snd.nxt connection)) | ||
| (detach-tcp-connection connection))))) | ||
| (detach-tcp-connection connection)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another typo in this commit message.
| (eql seq (tcp-connection-rcv.nxt connection))) | ||
| (setf (tcp-connection-rcv.nxt connection) (+u32 seq 1) | ||
| (tcp-connection-state connection) :close-wait) | ||
| (setf (tcp-connection-state connection) :close-wait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in commit message: "resive".
|
|
||
| (defun arp-expiration () | ||
| (let ((time (1+ (get-internal-real-time)))) | ||
| (let ((time (1+ (get-universal-time)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it an option to use internal-real-time throughout arp.lisp instead? Is get-universal-time monotonic, or can it change backwards when setting the system date/time (in which case it should not be used for ARP timeouts).
Fixes crash when accepting listener connection
- Reorganized code with section headers for better structure - Added detailed comments for constants and parameters - Replaced hardcoded MSS values with *default-max-seg-size* and *max-seg-size* - Replaced `(when (not ...))` with `(unless ...)` for readability - Improved documentation of TCP flags and options
No description provided.