Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for ioctl (0.08 sec)

  1. src/runtime/syscall2_solaris.go

    //go:cgo_import_dynamic libc_forkx forkx "libc.so"
    //go:cgo_import_dynamic libc_gethostname gethostname "libc.so"
    //go:cgo_import_dynamic libc_getpid getpid "libc.so"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
    //go:cgo_import_dynamic libc_setgid setgid "libc.so"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/syscall/asm_solaris_amd64.s

    TEXT ·forkx(SB),NOSPLIT,$0
    	JMP	runtime·syscall_forkx(SB)
    
    TEXT ·gethostname(SB),NOSPLIT,$0
    	JMP	runtime·syscall_gethostname(SB)
    
    TEXT ·getpid(SB),NOSPLIT,$0
    	JMP	runtime·syscall_getpid(SB)
    
    TEXT ·ioctl(SB),NOSPLIT,$0
    	JMP	runtime·syscall_ioctl(SB)
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawsyscall(SB)
    
    TEXT ·RawSyscall6(SB),NOSPLIT,$0
    	JMP	runtime·syscall_rawsyscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 17:21:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/syscall_aix.go

    //go:cgo_import_dynamic libc_execve execve "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_fcntl fcntl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_fork fork "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_ioctl ioctl "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgid setgid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setgroups setgroups "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/lif/address.go

    	var as []Addr
    	for _, ll := range lls {
    		var lifr lifreq
    		for i := 0; i < len(ll.Name); i++ {
    			lifr.Name[i] = int8(ll.Name[i])
    		}
    		for _, ep := range eps {
    			ioc := int64(syscall.SIOCGLIFADDR)
    			err := ioctl(ep.s, uintptr(ioc), unsafe.Pointer(&lifr))
    			if err != nil {
    				continue
    			}
    			sa := (*sockaddrStorage)(unsafe.Pointer(&lifr.Lifru[0]))
    			l := int(nativeEndian.Uint32(lifr.Lifru1[:4]))
    			if l == 0 {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/net/interface_aix.go

    				ifi.Name = string(sdl.Data[:sdl.Nlen])
    				ifi.HardwareAddr = sdl.Data[sdl.Nlen : sdl.Nlen+sdl.Alen]
    
    				// Retrieve MTU
    				ifr := &ifreq{}
    				copy(ifr.Name[:], ifi.Name)
    				err = unix.Ioctl(sock, syscall.SIOCGIFMTU, unsafe.Pointer(ifr))
    				if err != nil {
    					return nil, err
    				}
    				ifi.MTU = int(ifr.Ifru[0])<<24 | int(ifr.Ifru[1])<<16 | int(ifr.Ifru[2])<<8 | int(ifr.Ifru[3])
    
    				ift = append(ift, *ifi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    func (ifr *Ifreq) Name() string {
    	return ByteSliceToString(ifr.raw.Ifrn[:])
    }
    
    // According to netdevice(7), only AF_INET addresses are returned for numerous
    // sockaddr ioctls. For convenience, we expose these as Inet4Addr since the Port
    // field and other data is always empty.
    
    // Inet4Addr returns the Ifreq union data from an embedded sockaddr as a C
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    //	LWS            = [CRLF] 1*( SP | HT )
    func isLWS(b byte) bool { return b == ' ' || b == '\t' }
    
    // isCTL reports whether b is a control byte, according
    // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2
    //
    //	CTL            = <any US-ASCII control character
    //	                 (octets 0 - 31) and DEL (127)>
    func isCTL(b byte) bool {
    	const del = 0x7f // a CTL
    	return b < ' ' || b == del
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top