Re: Beginner Q: Size of packet?
Saptarshi Guha <saptarshi.guha <at> gmail.com>
2009-11-06 21:29:54 GMT
This works for me.
Thank you
Saptarshi
On Nov 6, 2009, at 2:55 PM, Tim Broberg wrote:
> len(packet) works for me.
>
> ________________________________________
> From: Saptarshi Guha [saptarshi.guha <at> gmail.com]
> Sent: Friday, November 06, 2009 11:37 AM
> To: scapy.ml <at> secdev.org
> Subject: [scapy.ml] Beginner Q: Size of packet?
>
> Hello,
> A rather basic question. I can get the size of the data in packet, but
> how do I find out the total packet length (including all the headers)?
>
> I have a packet returned from obj.read_next()
> where obj is a PcapReader object.
>
> Thank you for your time
> Regards
> Saptarshi
>
> ---------------------------------------------------------------------
> To unsubscribe, send a mail to scapy.ml-unsubscribe <at> secdev.org
>
> The information and any attached documents contained in this message
> may be confidential and/or legally privileged. The message is
> intended solely for the addressee(s). If you are not the intended
> recipient, you are hereby notified that any use, dissemination, or
> reproduction is strictly prohibited and may be unlawful. If you are
> not the intended recipient, please contact the sender immediately by
> return e-mail and destroy all copies of the original message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, send a mail to scapy.ml-unsubscribe <at> secdev.org
>
---------------------------------------------------------------------
To unsubscribe, send a mail to scapy.ml-unsubscribe <at> secdev.org