Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PSM (0.03 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // using the L2CAP protocol.
    type SockaddrL2 struct {
    	PSM      uint16
    	CID      uint16
    	Addr     [6]uint8
    	AddrType uint8
    	raw      RawSockaddrL2
    }
    
    func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	sa.raw.Family = AF_BLUETOOTH
    	psm := (*[2]byte)(unsafe.Pointer(&sa.raw.Psm))
    	psm[0] = byte(sa.PSM)
    	psm[1] = byte(sa.PSM >> 8)
    	for i := 0; i < len(sa.Addr); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddrHCI struct {
    	Family  uint16
    	Dev     uint16
    	Channel uint16
    }
    
    type RawSockaddrL2 struct {
    	Family      uint16
    	Psm         uint16
    	Bdaddr      [6]uint8
    	Cid         uint16
    	Bdaddr_type uint8
    	_           [1]byte
    }
    
    type RawSockaddrRFCOMM struct {
    	Family  uint16
    	Bdaddr  [6]uint8
    	Channel uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
Back to top