BPXYMSGH is used by the sendmsg and recvmsg syscalls. AMODE 31 callers use BPXYMSGH — Map the message header.
SYSSTATE AMODE64=YES
BPXYMSGH ,
** BPXYMSGH: MSGH system call structure
** Used By: SendMsg / RecvMsg
MSGH DSECT ,
MSGHBEGIN DS 0D
* ------------- 64-Bit Version
MSGHNAMEPTR DS D'0' Pointer to sockaddr
MSGHIOVPTR DS D'0' Pointer to an array of IOVEC buffers.
MSGHCONTROLPTR DS D'0' Pointer to ancillary data buffer
MSGHFLAGS DS F'0' Output flags on received message
MSGHNAMELEN DS F'0' Buffer length.
MSGHIOVNUM DS F'0' Number of elements in IOVEC array.
MSGHCONTROLLEN DS F'0' Length of ancillary data buffer
*
* Constants
*
MSGH#LENGTH EQU *-MSGH Length of MsgH
*
CMSGPTR DS A(0) CMsg pointer
*
CMSGHDR DSECT ,
CMSGLEN DS F'0' Length, including header
CMSGLEVEL DS F'0' Level
CMSGTYPE DS F'0' Type
CMSGDATA DS 0C Data
*
* Constants
*
SCM_RIGHTS EQU 1 Access Rights
SCM_SECINFO EQU 16386 Security Information
*
** BPXYMSGH End