Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for nrecvmsg (0.31 sec)

  1. src/syscall/syscall_aix.go

    //sys	Shutdown(s int, how int) (err error)
    
    // In order to use msghdr structure with Control, Controllen in golang.org/x/net,
    // nrecvmsg and nsendmsg must be used.
    //sys	recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = nrecvmsg
    //sys	sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
    
    func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, 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)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    //sys	sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
    
    // In order to use msghdr structure with Control, Controllen, nrecvmsg and nsendmsg must be used.
    //sys	recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = nrecvmsg
    //sys	sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = nsendmsg
    
    //sys	munmap(addr uintptr, length uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    int getpeername(int, uintptr_t, uintptr_t);
    int getsockname(int, uintptr_t, uintptr_t);
    int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
    int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
    int nrecvmsg(int, uintptr_t, int);
    int nsendmsg(int, uintptr_t, int);
    int munmap(uintptr_t, uintptr_t);
    int madvise(uintptr_t, size_t, int);
    int mprotect(uintptr_t, size_t, int);
    int mlock(uintptr_t, size_t);
    int mlockall(int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go

    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
    	r0, er := C.nrecvmsg(C.int(s), C.uintptr_t(uintptr(unsafe.Pointer(msg))), C.int(flags))
    	n = int(r0)
    	if r0 == -1 && er != nil {
    		err = er
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    //go:cgo_import_dynamic libc_getsockname getsockname "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_munmap munmap "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_madvise madvise "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_recvfrom recvfrom "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_sendto sendto "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Shutdown shutdown "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_nrecvmsg nrecvmsg "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_nsendmsg nsendmsg "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_accept accept "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Openat openat "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)
  7. src/syscall/syscall_linux_386.go

    	}
    	_, e := socketcall(_SENDTO, uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen))
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
    	n, e := socketcall(_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
    	if e != 0 {
    		err = e
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    	}
    	if rsa.Addr.Family != AF_UNSPEC {
    		from, err = anyToSockaddr(fd, &rsa)
    	}
    	return
    }
    
    // Recvmsg receives a message from a socket using the recvmsg system call. The
    // received non-control data will be written to p, and any "out of band"
    // control data will be written to oob. The flags are passed to recvmsg.
    //
    // The results are:
    //   - n is the number of non-control data bytes read into p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  9. src/net/tcpsock_test.go

    		if conns > b.N {
    			conns = b.N
    		}
    	}
    	sendMsg := func(c Conn, buf []byte) bool {
    		n, err := c.Write(buf)
    		if n != len(buf) || err != nil {
    			b.Log(err)
    			return false
    		}
    		return true
    	}
    	recvMsg := func(c Conn, buf []byte) bool {
    		for read := 0; read != len(buf); {
    			n, err := c.Read(buf)
    			read += n
    			if err != nil {
    				b.Log(err)
    				return false
    			}
    		}
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. src/runtime/select.go

    	if nsends+nrecvs == 0 {
    		return dflt, false
    	}
    
    	// Compact sel and orig if necessary.
    	if nsends+nrecvs < len(cases) {
    		copy(sel[nsends:], sel[len(cases)-nrecvs:])
    		copy(orig[nsends:], orig[len(cases)-nrecvs:])
    	}
    
    	order := make([]uint16, 2*(nsends+nrecvs))
    	var pc0 *uintptr
    	if raceenabled {
    		pcs := make([]uintptr, nsends+nrecvs)
    		for i := range pcs {
    			selectsetpc(&pcs[i])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top