Home
last modified time | relevance | path

Searched refs:Conn (Results 1 – 25 of 43) sorted by relevance

12

/external/boringssl/src/ssl/test/runner/
Dpacket_adapter.go30 net.Conn anonMember
37 func newPacketAdaptor(conn net.Conn) *packetAdaptor { argument
51 if _, err := io.ReadFull(p.Conn, out); err != nil {
59 if err := binary.Read(p.Conn, binary.BigEndian, &length); err != nil {
63 if _, err := io.ReadFull(p.Conn, out); err != nil {
89 if _, err := p.Conn.Write(payload); err != nil {
104 if _, err := p.Conn.Write(payload); err != nil {
134 net.Conn anonMember
141 func newReplayAdaptor(conn net.Conn) net.Conn { argument
142 return &replayAdaptor{Conn: conn}
[all …]
Dtls.go28 func Server(conn net.Conn, config *Config) *Conn { argument
29 c := &Conn{conn: conn, config: config}
38 func Client(conn net.Conn, config *Config) *Conn { argument
39 c := &Conn{conn: conn, config: config, isClient: true}
52 func (l *listener) Accept() (c net.Conn, err error) {
100 func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
171 func Dial(network, addr string, config *Config) (*Conn, error) {
Ddtls.go26 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}
[all …]
Dconn.go29 type Conn struct { struct
31 conn net.Conn argument
123 func (c *Conn) init() { argument
137 func (c *Conn) LocalAddr() net.Addr { argument
142 func (c *Conn) RemoteAddr() net.Addr { argument
149 func (c *Conn) SetDeadline(t time.Time) error { argument
155 func (c *Conn) SetReadDeadline(t time.Time) error { argument
162 func (c *Conn) SetWriteDeadline(t time.Time) error { argument
756 func (c *Conn) useInTrafficSecret(version uint16, suite *cipherSuite, secret []byte) error { argument
769 func (c *Conn) useOutTrafficSecret(version uint16, suite *cipherSuite, secret []byte) { argument
[all …]
Drecordingconn.go47 net.Conn anonMember
68 if n, err = r.Conn.Read(b); n == 0 {
76 if n, err = r.Conn.Write(b); n == 0 {
Dticket.go160 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) {
182 func (c *Conn) decryptTicket(encrypted []byte) (*sessionState, bool) {
/external/syzkaller/vendor/google.golang.org/grpc/credentials/
Dcredentials.go94 ClientHandshake(context.Context, string, net.Conn) (net.Conn, AuthInfo, error) argument
100 ServerHandshake(net.Conn) (net.Conn, AuthInfo, error) argument
148 … ClientHandshake(ctx context.Context, authority string, rawConn net.Conn) (_ net.Conn, _ AuthInfo,…
171 return tlsConn{Conn: conn, rawConn: rawConn}, TLSInfo{conn.ConnectionState()}, nil
174 func (c *tlsCreds) ServerHandshake(rawConn net.Conn) (net.Conn, AuthInfo, error) {
179 return tlsConn{Conn: conn, rawConn: rawConn}, TLSInfo{conn.ConnectionState()}, nil
Dcredentials_util_go19.go31 *tls.Conn anonMember
32 rawConn net.Conn
37 conn, ok := c.rawConn.(syscall.Conn)
Dcredentials_util_pre_go19.go29 *tls.Conn anonMember
30 rawConn net.Conn
/external/syzkaller/vendor/google.golang.org/grpc/
Dproxy.go64 net.Conn anonMember
72 func doHTTPConnectHandshake(ctx context.Context, conn net.Conn, addr string) (_ net.Conn, err error… argument
103 return &bufConn{Conn: conn, r: r}, nil
109 …yDialer(dialer func(context.Context, string) (net.Conn, error)) func(context.Context, string) (net… argument
110 return func(ctx context.Context, addr string) (conn net.Conn, err error) {
Dgo16.go36 func dialContext(ctx context.Context, network, address string) (net.Conn, error) {
40 func sendHTTPRequest(ctx context.Context, req *http.Request, conn net.Conn) error { argument
Dgo17.go37 func dialContext(ctx context.Context, network, address string) (net.Conn, error) {
41 func sendHTTPRequest(ctx context.Context, req *http.Request, conn net.Conn) error { argument
/external/syzkaller/vendor/google.golang.org/appengine/internal/
Dnet.go30 func limitDial(network, addr string) (net.Conn, error) {
40 lc := &limitConn{Conn: conn}
47 net.Conn anonMember
55 return lc.Conn.Close()
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop.go301 func expectGoAway(conn net.Conn) (*GoAwayFrame, error) { argument
316 func expectGoAwaySoon(conn net.Conn) (*GoAwayFrame, error) { argument
330 func http2Connect(c net.Conn, sf *SettingsFrame) error { argument
346 net.Conn anonMember
354 return c.Conn.Write(data)
358 n, err := c.Conn.Read(data)
396 return &CapConn{Conn: conn}, nil
405 return &CapConn{Conn: tls.Client(conn, config)}, nil
/external/syzkaller/pkg/rpctype/
Drpc.go56 conn net.Conn
60 func Dial(addr string) (net.Conn, error) {
61 var conn net.Conn
106 func setupKeepAlive(conn net.Conn, keepAlive time.Duration) { argument
/external/syzkaller/vendor/golang.org/x/net/http2/
Dconfigure_transport.go34 upgradeFn := func(authority string, c *tls.Conn) http.RoundTripper {
49 t1.TLSNextProto = map[string]func(string, *tls.Conn) http.RoundTripper{
Dgo17.go21 func serverConnBaseContext(c net.Conn, opts *ServeConnOpts) (ctx contextContext, cancel func()) { argument
56 ci := httptrace.GotConnInfo{Conn: cc.tconn}
Dclient_conn_pool.go127 func (p *clientConnPool) addConnIfNeeded(key string, t *Transport, c *tls.Conn) (used bool, err err…
162 func (c *addConnCall) run(t *Transport, key string, tc *tls.Conn) {
Dnot_go17.go46 func serverConnBaseContext(c net.Conn, opts *ServeConnOpts) (ctx contextContext, cancel func()) { argument
/external/syzkaller/vendor/google.golang.org/grpc/internal/channelz/
Dutil_linux_go19.go29 c, ok := socket.(syscall.Conn)
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Dc23c8321e09bd2ba06836428476b17c2.00000703.honggfuzz.cov5 Conn�ctf � Keep-A)
/external/honggfuzz/examples/apache-httpd/corpus_http1/
Dc23c8321e09bd2ba06836428476b17c2.00000703.honggfuzz.cov5 Conn�ctf � Keep-A)
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dgo16.go33 func dialContext(ctx context.Context, network, address string) (net.Conn, error) {
Dgo17.go34 func dialContext(ctx context.Context, network, address string) (net.Conn, error) {
Dhttp_util.go530 conn net.Conn
536 func newBufWriter(conn net.Conn, batchSize int) *bufWriter { argument
580 func newFramer(conn net.Conn, writeBufferSize, readBufferSize int) *framer { argument

12