Source file src/net/tcpconn_keepalive_conf_unix_test.go

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build aix || dragonfly || freebsd || illumos || linux || netbsd
     6  
     7  package net
     8  
     9  import (
    10  	"syscall"
    11  	"testing"
    12  )
    13  
    14  const (
    15  	syscall_TCP_KEEPIDLE  = syscall.TCP_KEEPIDLE
    16  	syscall_TCP_KEEPCNT   = syscall.TCP_KEEPCNT
    17  	syscall_TCP_KEEPINTVL = syscall.TCP_KEEPINTVL
    18  )
    19  
    20  type fdType = int
    21  
    22  func maybeSkipKeepAliveTest(_ *testing.T) {}
    23  

View as plain text