Lines Matching refs:dss
161 handler := func(dss *dualStackServer, ln Listener) {
170 dss, err := newDualStackServer()
174 if err := dss.buildup(handler); err != nil {
175 dss.teardown()
186 c, err := d.Dial("tcp", JoinHostPort("localhost", dss.port))
195 dss.teardown()
321 handler := func(dss *dualStackServer, ln Listener) {
345 dss, err := newDualStackServer()
349 defer dss.teardown()
350 if err := dss.buildup(handler); err != nil {
355 dss.teardownNetwork(tt.teardownNetwork)
358 primaries := makeAddrs(tt.primaries, dss.port)
359 fallbacks := makeAddrs(tt.fallbacks, dss.port)
453 handler := func(dss *dualStackServer, ln Listener) {
462 dss, err := newDualStackServer()
466 defer dss.teardown()
467 if err := dss.buildup(handler); err != nil {
475 c, err := d.Dial("tcp", JoinHostPort("slow6loopback4", dss.port))
500 handler := func(dss *dualStackServer, ln Listener) {
515 dss, err := newDualStackServer()
519 defer dss.teardown()
520 if err := dss.buildup(handler); err != nil {
549 addr, err := ResolveTCPAddr("tcp", JoinHostPort(ip, dss.port))
734 handler := func(dss *dualStackServer, ln Listener) {
746 dss, err := newDualStackServer()
750 defer dss.teardown()
751 if err := dss.buildup(handler); err != nil {
756 for range dss.lns {
757 c, err := d.Dial("tcp", JoinHostPort("localhost", dss.port))
764 dss.teardownNetwork("tcp4")
766 dss.teardownNetwork("tcp6")