MCPcopy Create free account
hub / github.com/encodeous/nylon / makeReceiveIPv6

Method makeReceiveIPv6

polyamide/conn/bind_std.go:293–297  ·  view source on GitHub ↗
(pc *ipv6.PacketConn, conn *net.UDPConn, rxOffload bool)

Source from the content-addressed store, hash-verified

291}
292
293func (s *StdNetBind) makeReceiveIPv6(pc *ipv6.PacketConn, conn *net.UDPConn, rxOffload bool) ReceiveFunc {
294 return func(bufs [][]byte, sizes []int, eps []Endpoint) (n int, err error) {
295 return s.receiveIP(pc, conn, rxOffload, bufs, sizes, eps)
296 }
297}
298
299// TODO: When all Binds handle IdealBatchSize, remove this dynamic function and
300// rename the IdealBatchSize constant to BatchSize.

Callers 1

OpenMethod · 0.95

Calls 1

receiveIPMethod · 0.95

Tested by

no test coverage detected