- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Setsockopt (0.29 sec)
-
src/net/tcpsockopt_unix.go
runtime.KeepAlive(fd) return wrapSyscallError("setsockopt", err) } func setKeepAliveCount(fd *netFD, n int) error { if n == 0 { n = defaultTCPKeepAliveCount } else if n < 0 { return nil } err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, n) runtime.KeepAlive(fd) return wrapSyscallError("setsockopt", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 1.3K bytes - Viewed (0) -
src/net/tcpsockopt_solaris.go
secs := int(roundDurationUp(d, time.Second)) err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, sysTCP_KEEPIDLE, secs) runtime.KeepAlive(fd) return wrapSyscallError("setsockopt", err) } func setKeepAliveInterval(fd *netFD, d time.Duration) error { if !unix.SupportTCPKeepAliveIdleIntvlCNT() { return syscall.EPROTOTYPE } if d == 0 { d = defaultTCPKeepAliveInterval
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 3.3K bytes - Viewed (0) -
src/syscall/badlinkname_unix.go
// keep them accessible with pull linknames. // This may change in the future. Please do not depend on them // in new code. // golang.org/x/sys linknames getsockopt. // Do not remove or change the type signature. // //go:linkname getsockopt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 679 bytes - Viewed (0) -
manifests/charts/ztunnel/templates/daemonset.yaml
privileged: false capabilities: drop: - ALL add: # See https://man7.org/linux/man-pages/man7/capabilities.7.html - NET_ADMIN # Required for TPROXY and setsockopt - SYS_ADMIN # Required for `setns` - doing things in other netns - NET_RAW # Required for RAW/PACKET sockets, TPROXY readOnlyRootFilesystem: true runAsGroup: 1337
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 01:33:52 UTC 2024 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1) } func SetsockoptInt(fd, level, opt int, value int) (err error) { var n = int32(value) return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4) } func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) { return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
samples/bookinfo/src/details/details.rb
puts "usage: #{$PROGRAM_NAME} port" exit(-1) end port = Integer(ARGV[0]) server = WEBrick::HTTPServer.new( :BindAddress => '*', :Port => port, :AcceptCallback => -> (s) { s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) }, ) trap 'INT' do server.shutdown end server.mount_proc '/health' do |req, res| res.status = 200 res.body = {'status' => 'Details is healthy'}.to_json
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:35:54 UTC 2024 - 5.8K bytes - Viewed (0) -
src/syscall/syscall_aix.go
//sys Getkerninfo(op int32, where uintptr, size uintptr, arg int64) (i int32, err error) //sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) //sys Listen(s int, backlog int) (err error) //sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) //sys socket(domain int, typ int, proto int) (fd int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm.go
if e1 != 0 { err = errnoErr(e1) } return } func libc_getsockopt_trampoline() //go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.6K bytes - Viewed (0) -
src/syscall/zsyscall_aix_ppc64.go
//go:cgo_import_dynamic libc_connect connect "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Getkerninfo getkerninfo "libc.a/shr_64.o" //go:cgo_import_dynamic libc_getsockopt getsockopt "libc.a/shr_64.o" //go:cgo_import_dynamic libc_Listen listen "libc.a/shr_64.o" //go:cgo_import_dynamic libc_setsockopt setsockopt "libc.a/shr_64.o" //go:cgo_import_dynamic libc_socket socket "libc.a/shr_64.o" //go:cgo_import_dynamic libc_socketpair socketpair "libc.a/shr_64.o"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 41.7K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_riscv64.go
if e1 != 0 { err = errnoErr(e1) } return } func libc_getsockopt_trampoline() //go:cgo_import_dynamic libc_getsockopt getsockopt "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.5K bytes - Viewed (0)