FreeCalypso > hg > freecalypso-sw
diff rvinterf/lowlevel/rvifmain.c @ 178:7ab6b29e76bb
rvinterf: forwarding of Rx packets to clients implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 23 Nov 2013 22:15:16 +0000 |
parents | fef035264dd4 |
children | ebfa9657d03d |
line wrap: on
line diff
--- a/rvinterf/lowlevel/rvifmain.c Sat Nov 23 20:15:02 2013 +0000 +++ b/rvinterf/lowlevel/rvifmain.c Sat Nov 23 22:15:16 2013 +0000 @@ -123,16 +123,28 @@ case RVT_RV_HEADER: if (rxpkt_len < 6) goto unknown; - print_rv_trace(); + if (!background || logF) + print_rv_trace(); + if (client_head) + forward_rv_trace(); return; case RVT_L1_HEADER: - print_l1_trace(); + if (!background || logF) + print_l1_trace(); + if (client_head) + forward_nonrvt_pkt(); return; case RVT_L23_HEADER: - print_g23_trace(); + if (!background || logF) + print_g23_trace(); + if (client_head) + forward_nonrvt_pkt(); return; case RVT_TM_HEADER: - print_etm_output_raw(); + if (!background || logF) + print_etm_output_raw(); + if (client_head) + forward_nonrvt_pkt(); return; default: unknown: