i_result = DRD64_MARSHALD_DISPATCH_RESULT_COMPLETE;
- p_cinfo = Drd64_Marshald_CInfo_GetConnectInfo( p_phead->i_cid_dest );
- assert( NULL != p_cinfo );
+ if( DRD64_IsPacketType_Answer( p_phead ) ) {
+ /* debugee is localhost(answer) */
- if( -1 == p_cinfo->i_dest_socket ) {
- /* debugee is localhost */
- if( DRD64_IsPacketType_Answer( p_phead ) ) {
+ }
+ else {
+ p_cinfo = Drd64_Marshald_CInfo_GetConnectInfo( p_phead->i_cid_dest );
+ assert( NULL != p_cinfo );
- }
- else {
+ if( -1 == p_cinfo->i_dest_socket ) {
+ /* debugee is localhost(request) */
i_result
= Drd64_Marshald_Cmd_AttachReport_Local_Request(
i_recv_id, p_phead, p_areport, p_marshald );
- }
- }
- else {
- /* debugee is INet */
- i_result = Drd64_Marshald_Cmd_AttachReport_Inet(
+ }
+ else {
+ /* debugee is INet */
+ i_result = Drd64_Marshald_Cmd_AttachReport_Inet(
i_recv_id, p_phead, p_areport, p_marshald );
+ }
}
DRD64_LOG_VERBOSE("[STAT]CMD: Attach Report Ended");
#define DRD64_PACKETTYPE_CONTROL 0x0002
#define DRD64_PACKETTYPE_LINK 0x0003
#define DRD64_PACKETTYPE_REPORT 0x0004
-#define DRD64_PACKETTYPE_INDICATE 0x0005
+
+#define DRD64_PACKETTYPE_OPTION_INDICATE 0x0010
#define DRD64_PACKETTYPE_FLAG_REQUEST 0x0000 /* Bit 0x0100 is OFF */
#define DRD64_PACKETTYPE_FLAG_ANSWER 0x0100 /* Bit 0x0100 is ON */