![]() |
![]() |
PASAHO Message Length Patching Command Macros | |
Macros used by the PASAHO Message Length Patching Command | |
#define | PASAHO_SET_SUB_CODE_PATCH_MSG_LEN(x) PASAHO_SET_BITFIELD((x)->word0, PASAHO_SUB_CMD_PATCH_MSG_LEN, 24, 5) |
#define | PASAHO_SET_MSGLEN_OFFSET(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8) |
#define | PASAHO_SET_MSGLEN_SIZE(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 15, 1) |
#define | PASAHO_SET_MSGLEN(x, v) PASAHO_SET_BITFIELD((x)->word0, (v), 0, 15) |
#define PASAHO_SET_MSGLEN | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 0, 15) |
Specifies the message length excluding the IP header and payload length
#define PASAHO_SET_MSGLEN_OFFSET | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 16, 8) |
Specifies the offset to the message length field to be patched
#define PASAHO_SET_MSGLEN_SIZE | ( | x, | |||
v | ) | PASAHO_SET_BITFIELD((x)->word0, (v), 15, 1) |
Specifies the size of the length field (0: 16-bit; 1: 32-bit)
#define PASAHO_SET_SUB_CODE_PATCH_MSG_LEN | ( | x | ) | PASAHO_SET_BITFIELD((x)->word0, PASAHO_SUB_CMD_PATCH_MSG_LEN, 24, 5) |
Set sub-command code to indicate Message Length Patching command