|
1 | 1 | /* |
2 | | - Copyright (c) 2003, 2021, Oracle and/or its affiliates. |
| 2 | + Copyright (c) 2003, 2025, Oracle and/or its affiliates. |
3 | 3 | All rights reserved. Use is subject to license terms. |
4 | 4 |
|
5 | 5 | This program is free software; you can redistribute it and/or modify |
|
30 | 30 | printLQH_TRANSCONF(FILE * output, const Uint32 * theData, |
31 | 31 | Uint32 len, Uint16 receiverBlockNo) { |
32 | 32 | const LqhTransConf * const sig = (LqhTransConf *)theData; |
33 | | - fprintf(output, " tcRef: %x\n", sig->tcRef); |
34 | | - fprintf(output, " lqhNodeId: %x\n", sig->lqhNodeId); |
35 | | - fprintf(output, " operationStatus: %x\n", sig->operationStatus); |
36 | | - fprintf(output, " transId1: %x\n", sig->transId1); |
37 | | - fprintf(output, " transId2: %x\n", sig->transId2); |
38 | | - fprintf(output, " apiRef: %x\n", sig->apiRef); |
39 | | - fprintf(output, " apiOpRec: %x\n", sig->apiOpRec); |
40 | | - fprintf(output, " lqhConnectPtr: %x\n", sig->lqhConnectPtr); |
41 | | - fprintf(output, " oldTcOpRec: %x\n", sig->oldTcOpRec); |
42 | | - fprintf(output, " requestInfo: %x\n", sig->requestInfo); |
43 | | - fprintf(output, " gci_hi: %x\n", sig->gci_hi); |
44 | | - fprintf(output, " gci_lo: %x\n", sig->gci_lo); |
45 | | - fprintf(output, " nextNodeId1: %x\n", sig->nextNodeId1); |
46 | | - fprintf(output, " nextNodeId2: %x\n", sig->nextNodeId2); |
47 | | - fprintf(output, " nextNodeId3: %x\n", sig->nextNodeId3); |
48 | | - fprintf(output, " tableId: %x\n", sig->tableId); |
| 33 | + if (len >= LqhTransConf::MarkerSignalLength) { |
| 34 | + fprintf(output, " tcRef: %x\n", sig->tcRef); |
| 35 | + fprintf(output, " lqhNodeId: %x\n", sig->lqhNodeId); |
| 36 | + fprintf(output, " operationStatus: %x\n", sig->operationStatus); |
| 37 | + fprintf(output, " transId1: %x\n", sig->transId1); |
| 38 | + fprintf(output, " transId2: %x\n", sig->transId2); |
| 39 | + fprintf(output, " apiRef: %x\n", sig->apiRef); |
| 40 | + fprintf(output, " apiOpRec: %x\n", sig->apiOpRec); |
| 41 | + } |
| 42 | + if (len >= LqhTransConf::SignalLength) { |
| 43 | + fprintf(output, " lqhConnectPtr: %x\n", sig->lqhConnectPtr); |
| 44 | + fprintf(output, " oldTcOpRec: %x\n", sig->oldTcOpRec); |
| 45 | + fprintf(output, " requestInfo: %x\n", sig->requestInfo); |
| 46 | + fprintf(output, " gci_hi: %x\n", sig->gci_hi); |
| 47 | + fprintf(output, " gci_lo: %x\n", sig->gci_lo); |
| 48 | + fprintf(output, " nextNodeId1: %x\n", sig->nextNodeId1); |
| 49 | + fprintf(output, " nextNodeId2: %x\n", sig->nextNodeId2); |
| 50 | + fprintf(output, " nextNodeId3: %x\n", sig->nextNodeId3); |
| 51 | + fprintf(output, " tableId: %x\n", sig->tableId); |
| 52 | + } |
49 | 53 | return true; |
50 | 54 | } |
51 | 55 |
|
0 commit comments