tcpdump mailing list archives

Re: accessing IP packet header


From: "Ian McDonald" <ian.mcdonald () jandi co nz>
Date: Fri, 16 Jun 2006 07:12:47 +1200

On 6/16/06, lalani () cs fsu edu <lalani () cs fsu edu> wrote:
Hi guys,
  I wanted to access IP packet and then subsequently UDP/TCP/ICMP/IGMP
packet information. Are there any explicit function which I can call
to get information like version, IHL, source port, destination port,
etc. to get that information for each IP type of packet.

  Thanks in advance to everyone,
  zubin

Hi there,

I think libtrace from our research lab might be exactly what you want.
Have a look at:
http://research.wand.net.nz/software/libtrace.php

Regards,

Ian
--
Ian McDonald
Web: http://wand.net.nz/~iam4
Blog: http://imcdnzl.blogspot.com
WAND Network Research Group
Department of Computer Science
University of Waikato
New Zealand
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: