<p style="white-space: pre-wrap; word-wrap: break-word;">common USB message header initialize function added</p><p><a href="https://gerrit.osmocom.org/9873">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/9873/5/firmware/libcommon/source/sniffer.c">File firmware/libcommon/source/sniffer.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/9873/5/firmware/libcommon/source/sniffer.c@206">Patch Set #5, Line 206:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">struct simtrace_msg_hdr *usb_msg_header;<br> usb_msg->l1h = msgb_put(usb_msg, sizeof(*usb_msg_header));<br> usb_msg_header = (struct simtrace_msg_hdr *) usb_msg->l1h;<br> memset(usb_msg_header, 0, sizeof(*usb_msg_header));<br> usb_msg_header->msg_class = SIMTRACE_MSGC_SNIFF;<br> usb_msg_header->msg_type = SIMTRACE_MSGT_SNIFF_CHANGE;<br> usb_msg->l2h = usb_msg->l1h + sizeof(*usb_msg_header)<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">this kind of block seems to repeat over the file. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">fixed</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9873">change 9873</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9873"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ice7817480705f2124b08c1ff9a8826558b6d8b2b </div>
<div style="display:none"> Gerrit-Change-Number: 9873 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: Kévin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Kévin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 04 Jul 2018 15:12:48 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>