Lines Matching refs:header
400 * err (input) - error code to place in header.
408 * otherwise - error from reply header.
418 ndmp_header header;
431 header.sequence = ++(connection->conn_my_sequence);
432 header.time_stamp = time.tv_sec;
433 header.message_type = NDMP_MESSAGE_REQUEST;
434 header.message = message;
435 header.reply_sequence = 0;
436 header.error = err;
439 if (!xdr_ndmp_header(&connection->conn_xdrs, &header)) {
441 "Sending message 0x%x: encoding request header", message);
509 * err (input) - error code to place in header.
517 * otherwise - error from reply header.
545 * err (input) - error code to place in header.
560 ndmp_header header;
565 header.sequence = ++(connection->conn_my_sequence);
566 header.time_stamp = time.tv_sec;
567 header.message_type = NDMP_MESSAGE_REPLY;
568 header.message = connection->conn_msginfo.mi_hdr.message;
569 header.reply_sequence = connection->conn_msginfo.mi_hdr.sequence;
570 header.error = err;
573 if (!xdr_ndmp_header(&connection->conn_xdrs, &header)) {
575 "encoding reply header",
576 header.message);
587 header.message);
1020 * -1 - Error decoding the message header.
1027 /* Decode the header. */
1186 NDMP_LOG(LOG_DEBUG, "error decoding header");
1189 * Error occurred decoding the header.