ICMSG_HDR
if (buflen < ICMSG_HDR + offsetof(struct icmsg_negotiate, reserved)) {
negop = (struct icmsg_negotiate *)&buf[ICMSG_HDR];
if (recvlen < ICMSG_HDR) {
kvp_msg = (struct hv_kvp_msg *)&recv_buffer[ICMSG_HDR];
if (recvlen < ICMSG_HDR) {
if (recvlen < ICMSG_HDR + sizeof(struct hv_vss_msg)) {
vss_msg = (struct hv_vss_msg *)&recv_buffer[ICMSG_HDR];
if (recvlen < ICMSG_HDR) {
if (recvlen < ICMSG_HDR + sizeof(struct shutdown_msg_data)) {
shutdown_msg = (struct shutdown_msg_data *)&shut_txf_buf[ICMSG_HDR];
if (recvlen < ICMSG_HDR) {
if (recvlen < ICMSG_HDR + sizeof(struct ictimesync_ref_data)) {
refdata = (struct ictimesync_ref_data *)&time_txf_buf[ICMSG_HDR];
if (recvlen < ICMSG_HDR + sizeof(struct ictimesync_data)) {
timedatap = (struct ictimesync_data *)&time_txf_buf[ICMSG_HDR];
if (recvlen < ICMSG_HDR) {
if (recvlen < ICMSG_HDR + sizeof(u64)) {
heartbeat_msg = (struct heartbeat_msg_data *)&hbeat_txf_buf[ICMSG_HDR];
(ICMSG_HDR + sizeof(struct icmsg_negotiate) + \
if (buflen < ICMSG_HDR + offsetof(struct icmsg_negotiate, reserved)) {
negop = (struct icmsg_negotiate *)&buf[ICMSG_HDR];
if (pktlen < ICMSG_HDR + sizeof(struct hv_fcopy_hdr)) {
fcopy_msg = (struct hv_fcopy_hdr *)&desc[offset + ICMSG_HDR];
(ICMSG_HDR + sizeof(struct icmsg_negotiate) + \