mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-11 20:20:27 +08:00
increase bufsiz
This commit is contained in:
@@ -58,8 +58,8 @@ func (nc *NIC) Start(m *link.Me) {
|
|||||||
logrus.Infoln("[lower] recv write", n, "bytes packet to nic")
|
logrus.Infoln("[lower] recv write", n, "bytes packet to nic")
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
buf := make([]byte, m.MTU()+68) // 增加报头长度与 TEA 冗余
|
buf := make([]byte, (m.MTU()+68)*4096) // 增加报头长度与 TEA 冗余
|
||||||
buf2 := make([]byte, m.MTU()+68) // 增加报头长度与 TEA 冗余
|
buf2 := make([]byte, (m.MTU()+68)*4096) // 增加报头长度与 TEA 冗余
|
||||||
off := 0
|
off := 0
|
||||||
isrev := false
|
isrev := false
|
||||||
for nc.hasstart { // 从 NIC 发送
|
for nc.hasstart { // 从 NIC 发送
|
||||||
|
|||||||
Reference in New Issue
Block a user