[Click] How to see the packet content?

lz6 at njit.edu lz6 at njit.edu
Fri Sep 23 12:40:57 EDT 2005


Hello, everyone,

Given a Packet pointer *p, how can I take a look at the data content of this 
packet? I know I can use all kinds of header pointer to take a look at ip, 
tcp .. headers. But how can I take a look at the data part of the packet 
besides all the headers?

Thanks a lot

Li


More information about the click mailing list