Wireshark-dev: Re: [Wireshark-dev] Query regrading removing header
From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Thu, 16 Aug 2007 17:39:34 +0400
I doubt you make a dissector remove only 2 bits from a buffer, but you
might be able to use a combination of bitfields and bitmasks to either
read only the first two bits or ignore them.

PS: Do I understand correctly that you have a dissector which only
dissects two bits? Sounds strange, though I am sure I misunderstood
you.

On 16-Aug-2007 18:47:37 ZE5B, vaibhav.agarwal@xxxxxxxxxxx
<vaibhav.agarwal@xxxxxxxxxxx> wrote:
>
>
>
>
>
> Hi,
>
> If I have frame like for eg:-
>
> 45 60 76 87 23 97 00
>
> Now in this frame starting 2 bit is header of one dissector now I want to
> pass that frame to other dissector after removing the haeder.
> If i change the tvb then header remove in form of bytes not in bits.
>
> Please tell How to pass the frame to other dissector after removing the 2
> bits from the frame or how to set the tvb then next dissector only read the
> frame after 2 bits.
>
>
> Thanks & Regards,
> Vaibhav
>
> ***********************  Aricent-Unclassified   ***********************
>
> "DISCLAIMER: This message is proprietary to Aricent  and is intended solely
> for the use of
> the individual to whom it is addressed. It may contain privileged or
> confidential information and should not be
> circulated or used for any purpose other than for what it is intended. If
> you have received this message in error,
> please notify the originator immediately. If you are not the intended
> recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents of
> this message. Aricent accepts no responsibility for
> loss or damage arising from the use of the information transmitted by this
> email including damage from virus."
>
>
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>