ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Create a new tvb from a bit offset in the current tvb

From: "Michael Lum" <michael.lum@xxxxxxxxxx>
Date: Sat, 10 Nov 2007 01:10:40 +0800
Hello,

does anyone know if there is code or an api call in Wireshark
that will allow me to create a new tvb subset a la

tvb_new_subset()

but from a bit offset?

I want to create a subset of a certain length in octets starting
with the last 3 bits of the octet I'm currently processing.

Example:

create subset of 50 octets from the 20th octet and 5th bit of
my current tvb 

Thanks in advance!

--
Michael Lum                   Principal Software Engineer
4600 Jacombs Road             +1.604.276.0055
Richmond, B.C.
Canada V6V 3B1
UTStarcom Canada, Inc.
CDMA Division