var pollSplice … // spliceFrom transfers data from r to c using the splice system call to minimize // copies from and to userspace. c must be a TCP connection. // Currently, spliceFrom is only enabled if r is a TCP or a stream-oriented Unix connection. // // If spliceFrom returns handled == false, it has performed no work. func spliceFrom(c *netFD, r io.Reader) (written int64, err error, handled bool) { … } // spliceTo transfers data from c to w using the splice system call to minimize // copies from and to userspace. c must be a TCP connection. // Currently, spliceTo is only enabled if w is a stream-oriented Unix connection. // // If spliceTo returns handled == false, it has performed no work. func spliceTo(w io.Writer, c *netFD) (written int64, err error, handled bool) { … }