Skip to content

Conversation

@ebrasca
Copy link
Contributor

@ebrasca ebrasca commented Jul 13, 2024

No description provided.

: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.
Copy link
Collaborator

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))
Copy link
Collaborator

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
Copy link
Collaborator

@fitzsim fitzsim Jul 14, 2024

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))))
Copy link
Collaborator

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).

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.

2 participants