Lines Matching refs:Conn
26 func (c *Conn) dtlsDoReadRecord(want recordType) (recordType, *block, error) {
121 func (c *Conn) makeFragment(header, data []byte, fragOffset, fragLen int) []byte {
131 func (c *Conn) dtlsWriteRecord(typ recordType, data []byte) (n int, err error) {
267 func (c *Conn) dtlsPackHandshake() error {
319 func (c *Conn) dtlsFlushHandshake() error {
333 func (c *Conn) dtlsPackRecord(typ recordType, data []byte, mustPack bool) (n int, err error) {
409 func (c *Conn) dtlsFlushPacket() error {
418 func (c *Conn) dtlsDoReadHandshake() ([]byte, error) {
488 func DTLSServer(conn net.Conn, config *Config) *Conn { argument
489 c := &Conn{config: config, isDTLS: true, conn: conn}
498 func DTLSClient(conn net.Conn, config *Config) *Conn { argument
499 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}