lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: tcp and ip headers
From
Date
>>>>> "Aamir" == Aamir Shaikh <ashak@mailcity.com> writes:

Aamir> Hi, I'm working on a project that involves web traffic analysis
Aamir> and I want to access the tcp and ip headers. Is there a way I
Aamir> could use a socket to receive this information. That way I
Aamir> don't have to go into the kernel and print it out.

SOCK_PACKET should get you what you want.

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.024 / U:1.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site