github.com/metacubex/mihomo@v1.18.5/common/net/packet.go (about) 1 package net 2 3 import ( 4 "github.com/metacubex/mihomo/common/net/deadline" 5 "github.com/metacubex/mihomo/common/net/packet" 6 ) 7 8 type EnhancePacketConn = packet.EnhancePacketConn 9 type WaitReadFrom = packet.WaitReadFrom 10 11 var NewEnhancePacketConn = packet.NewEnhancePacketConn 12 var NewThreadSafePacketConn = packet.NewThreadSafePacketConn 13 var NewRefPacketConn = packet.NewRefPacketConn 14 15 var NewDeadlineNetPacketConn = deadline.NewNetPacketConn 16 var NewDeadlineEnhancePacketConn = deadline.NewEnhancePacketConn 17 var NewDeadlineSingPacketConn = deadline.NewSingPacketConn 18 var NewDeadlineEnhanceSingPacketConn = deadline.NewEnhanceSingPacketConn