侵入式双向链表

This commit is contained in:
impact-eintr
2021-09-07 21:52:00 +08:00
parent e02fb492fd
commit a5683465e8
5 changed files with 217 additions and 4 deletions

View File

@@ -38,9 +38,6 @@ type endpoint struct {
views []buffer.View
dispatcher stack.NetworkDispatcher
// handleLocal indicates whether packets destined to itself should be
// handled by the netstack internally (true) or be forwarded to the FD
// endpoint (false).
// handleLocal指示发往自身的数据包是由内部netstack处理true还是转发到FD端点false
// Resend packets back to netstack if destined to itself
// Add option to redirect packet back to netstack if it's destined to itself.