func setsockopt(fd int, optname, optval, optlen uintptr) (uintptr, uintptr, error) { … }
func getsockopt(fd int, optname, optval, optlen uintptr) (uintptr, uintptr, error) { … }
type rawConn …
func (r rawConn) Control(f func(fd uintptr)) error { … }
func (r rawConn) Read(f func(fd uintptr) (done bool)) error { … }
func (r rawConn) Write(f func(fd uintptr) (done bool)) error { … }
func (c *SCTPConn) SCTPWrite(b []byte, info *SndRcvInfo) (int, error) { … }
func parseSndRcvInfo(b []byte) (*SndRcvInfo, error) { … }
func (c *SCTPConn) SCTPRead(b []byte) (int, *SndRcvInfo, error) { … }
func (c *SCTPConn) Close() error { … }
func (c *SCTPConn) SetWriteBuffer(bytes int) error { … }
func (c *SCTPConn) GetWriteBuffer() (int, error) { … }
func (c *SCTPConn) SetReadBuffer(bytes int) error { … }
func (c *SCTPConn) GetReadBuffer() (int, error) { … }
func ListenSCTP(net string, laddr *SCTPAddr) (*SCTPListener, error) { … }
func ListenSCTPExt(network string, laddr *SCTPAddr, options InitMsg) (*SCTPListener, error) { … }
func listenSCTPExtConfig(network string, laddr *SCTPAddr, options InitMsg, control func(network, address string, c syscall.RawConn) error) (*SCTPListener, error) { … }
func (ln *SCTPListener) AcceptSCTP() (*SCTPConn, error) { … }
func (ln *SCTPListener) Accept() (net.Conn, error) { … }
func (ln *SCTPListener) Close() error { … }
func DialSCTP(net string, laddr, raddr *SCTPAddr) (*SCTPConn, error) { … }
func DialSCTPExt(network string, laddr, raddr *SCTPAddr, options InitMsg) (*SCTPConn, error) { … }
func dialSCTPExtConfig(network string, laddr, raddr *SCTPAddr, options InitMsg, control func(network, address string, c syscall.RawConn) error) (*SCTPConn, error) { … }