Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReadMsgUnix (0.11 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    }](c *net.UnixConn, timeout time.Duration, oob []byte) (PT, int, error) {
    	var buf [1024]byte
    	err := c.SetReadDeadline(time.Now().Add(timeout))
    	if err != nil {
    		return nil, 0, err
    	}
    	n, oobn, flags, _, err := c.ReadMsgUnix(buf[:], oob)
    	if err != nil {
    		return nil, 0, err
    	}
    	if flags&unix.MSG_TRUNC != 0 {
    		return nil, 0, fmt.Errorf("truncated message")
    	}
    	if flags&unix.MSG_CTRUNC != 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg net, method (*UnixConn) Read([]uint8) (int, error)
    pkg net, method (*UnixConn) ReadFrom([]uint8) (int, Addr, error)
    pkg net, method (*UnixConn) ReadFromUnix([]uint8) (int, *UnixAddr, error)
    pkg net, method (*UnixConn) ReadMsgUnix([]uint8, []uint8) (int, int, int, *UnixAddr, error)
    pkg net, method (*UnixConn) RemoteAddr() Addr
    pkg net, method (*UnixConn) SetDeadline(time.Time) error
    pkg net, method (*UnixConn) SetReadBuffer(int) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top