mirror of
https://github.com/soypat/lneto.git
synced 2026-08-03 06:27:52 +00:00
changes to TCP stack to enable xnet functionality
This commit is contained in:
@@ -182,7 +182,7 @@ func NewEthernetTCPStack(ourMAC, gwMAC [6]byte, ip netip.AddrPort, mtu uint16, s
|
||||
lport: 0,
|
||||
})
|
||||
var conn tcp.Conn
|
||||
err = conn.Configure(&tcp.ConnConfig{
|
||||
err = conn.Configure(tcp.ConnConfig{
|
||||
RxBuf: make([]byte, mtu),
|
||||
TxBuf: make([]byte, mtu),
|
||||
TxPacketQueueSize: 3,
|
||||
|
||||
Reference in New Issue
Block a user