Re: tcp and ip headers

Jes Sorensen (Jes.Sorensen@cern.ch)
11 Nov 1999 12:02:44 +0100


>>>>> "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/