Skip to content
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

New function to forward ACK/DONE/NOOP message to handler #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cathay4t
Copy link
Member

@cathay4t cathay4t commented Apr 9, 2024

Introducing these public functions to allow forwarding ACK/DONE/NOOP
message to handler:

  • Connection::set_forward_noop()
  • Connection::set_forward_done()
  • Connection::set_forward_ack()

By default, we still drop these messages, so rtnetlink/ethtool crates will
not be impacted. If any protocol require the handle of ACK/DONE/NOOP in
handler, please invoke these functions during connection setup( e.g.
rtnetlink has function new_connection()).

Introducing these public functions to allow forwarding ACK/DONE/NOOP
message to handler:
 * `Connection::set_forward_noop()`
 * `Connection::set_forward_done()`
 * `Connection::set_forward_ack()`

By default, we still drop these messages, so rtnetlink/ethtool crates
will not be impacted. If any protocol require the handle of
ACK/DONE/NOOP in handler, please invoke these functions during
connection setup( e.g. rtnetlink has function `new_connection()`).

Signed-off-by: Gris Ge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants