comparison rvinterf/etm/init.c @ 197:fa7174faa9aa

fc-tmsh: option to invoke rvinterf "behind the scenes"
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 15 Dec 2013 07:31:52 +0000
parents 13a0348ffce4
children 2f285f20d617
comparison
equal deleted inserted replaced
196:3daa8ebbe74d 197:fa7174faa9aa
73 static u_char want_rvt_etm[9] = {CLI2RVI_WANT_RVTRACE, 73 static u_char want_rvt_etm[9] = {CLI2RVI_WANT_RVTRACE,
74 0xFF, 0xFF, 0xFF, 0xFF, 74 0xFF, 0xFF, 0xFF, 0xFF,
75 0x00, 0x1E, 0x00, 0x04}; 75 0x00, 0x1E, 0x00, 0x04};
76 static u_char want_etm_mux[2] = {CLI2RVI_WANT_MUXPROTO, RVT_TM_HEADER}; 76 static u_char want_etm_mux[2] = {CLI2RVI_WANT_MUXPROTO, RVT_TM_HEADER};
77 77
78 connect_local_socket(); 78 if (!sock)
79 connect_local_socket();
79 localsock_prep_for_length_rx(); 80 localsock_prep_for_length_rx();
80 send_init_command(want_rvt_lost, 9); 81 send_init_command(want_rvt_lost, 9);
81 send_init_command(want_rvt_etm, 9); 82 send_init_command(want_rvt_etm, 9);
82 send_init_command(want_etm_mux, 2); 83 send_init_command(want_etm_mux, 2);
83 } 84 }