On Fri, May 4, 2012 at 5:09 PM, Saager Mhatre <saager.mha...@gmail.com>wrote:

> On Fri, May 4, 2012 at 3:40 PM, Balachandran Sivakumar <
> benignb...@gmail.com> wrote:
>
>> Hi,
>>
>>          What is the best way to handle bit sized fileds in network
>> headers, if the data is binary ? The struct module doesn't support
>> sizes in bits, and I have scenarios where there are fields of 2 bits,
>> 3 bits and 5 bits in size. Thanks
>
>
> While I never got around to using it much, I remember from PyCon last year
> that Scapy [http://pypi.python.org/pypi/Scapy] had a pretty extensive
> library for network packet manipulation.
>

Just realized that the PyPi links lead nowhere, so here's the link to some
better resources that I could google up =>
http://www.secdev.org/projects/scapy/


> HTH
> - d
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to