From owner-soc-status@freebsd.org Wed Jul 5 16:14:12 2017 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B052D87AA1 for ; Wed, 5 Jul 2017 16:14:12 +0000 (UTC) (envelope-from jerrywossion@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 304EA1FF8 for ; Wed, 5 Jul 2017 16:14:12 +0000 (UTC) (envelope-from jerrywossion@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id m68so116615850ith.1 for ; Wed, 05 Jul 2017 09:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ogxo/tfvsTdeAgjugA5DH5n4A8L+uSWHA1JAIz66zZU=; b=RZILUrPigwnCGSevEq326abDbERCUKux7E15Ouh9fCzfi+sFODp3DvoVyWlkv2RJj+ nLrjkr3pl6I8kJuGRzsWIn/w9ioXEXPP6s2rZMWFYU1QR6gDGSKQiyqQv5Rwxb3BqQzg m1SCYXZkw67IHB60+V1CPzvmFQPzVG76j0/7J3S+0bD/JZ67IJQK+8BE3iT9/Xzip6cW 3XjvvJUZRxveb0Zi2G5V/AjO25kSBti1moqPSBUW92zZzkgdHRJi9c0xIgmcNB0LR96I z+SnwU1tzmwBPIyDL75HZGKZ3Pv+foOmUbQ6kcXZM9FdbnP0pIv63mdNCqsFJ9XV4wgg FagQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ogxo/tfvsTdeAgjugA5DH5n4A8L+uSWHA1JAIz66zZU=; b=GOHmjEngyufSTEyyX8V5i71RZRC2n0eVyy4mN9ZqvQTLtrHxl3FvhcGdf8hDOmbEJh x7wSA1mEheq4sHvFxg3DyQNFNaAubFdy/wyf2nABBvBMvFVysPc6VqUVNfhYxq3huWGw p6rfXjIl7ze/+MgB9KEe0nJ1bSoF7/Q/X2RNS9wWSwi3BiIUmm9uQYBMId3yYsgl0tm7 GfBEfS/9viggA2D0eNGe1/0FZGCGSKio7aN5K6VKk9Q7Oef3i3bdQkJ8t7z1wXnh2VAc TxNtIqOAY4dnicJ22YHVwntQXJIr/gfTj+TZXKpYF9HV4FyoDdgNNKNSyma4qjF9Axre WySQ== X-Gm-Message-State: AKS2vOy2MQi8Cv8KBNr9ONV4jkRbQH4goL813SgCUORqrFBydTThRJqZ XfObsTqKcjQxtdiPgLHOonts3RmrZg== X-Received: by 10.36.43.198 with SMTP id h189mr43283847ita.19.1499271251209; Wed, 05 Jul 2017 09:14:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.26 with HTTP; Wed, 5 Jul 2017 09:14:10 -0700 (PDT) Received: by 10.107.8.26 with HTTP; Wed, 5 Jul 2017 09:14:10 -0700 (PDT) In-Reply-To: References: From: Jie Weng Date: Thu, 6 Jul 2017 00:14:10 +0800 Message-ID: Subject: GSoC Week 5, add usbdump support to Wireshark To: soc-status@freebsd.org Cc: Hans Petter Selasky Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 16:14:12 -0000 Hello everyone, Recently I've finished the work to add support for reading usbdump file formats. I was stuck in handling the non-regular format of the dumped file: several records are grouped as a black, and a length field is added in the beginning of the block. I managed to solve this by using a private field in a struct of wiretap library. The solution is very simple in fact, but still a lot of time was wasted due to my unfamiliar with the wireshark internals. I will work on adding dissection support next, this park of work is more important. Best regards, Jie Weng