Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for ioctl (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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