accessing port in IP-layer(help)
From: md asghar (asghar_ssit_at_yahoo.co.in)
Date: 05/28/04
- Previous message: Stephane OMNES: ""Cannot find name for user ID xxx""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 13:20:03 +0100 (BST) To: redhat-list@redhat.com
Dear all,
I am trying to access the Port number in ip-layer by
accessing the tcp header present in sk_buff structure.
But the problem is that i am not getting the same port
number in ip-layer , as it shows me in Transport
layer.
I am accessing the port number in ip_rcv()
{net/ipv4/ip_input.c}
and in tcp_v4_rcv() {/net/ipv4/tcp_ipv4.c}
Example
-------
If am running an application by using the port 7777
then i am getting the same port number in Transport
layer
But in IP-layer the port number is 52 or 60....
I am waiting for a response
With Thanks and Regards
Asghar
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Stephane OMNES: ""Cannot find name for user ID xxx""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|