lkml.org 
[lkml]   [1997]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectprotocol info in hard_start_xmit (fwd)
Resending to linux-kernel since I got no response from linux-net

---------- Forwarded message ----------
Date: Thu, 17 Apr 1997 11:52:22 +0530 (IST)
From: Natchu Vishnu Priya <vishnu@cs.iitm.ernet.in>
To: linux-net@vger.rutgers.edu
Subject: protocol info in hard_start_xmit


Hi.

Is there a fool proof way to get protocol information from skb buff,
I mean like source ip, dest ip.. and port from the frames in the skb buff

I need a method that will work irrespective of the encapsulation of the
packet it is check, like if ipip tun is used it has to check the right
header to find the info about the encapsulated packet..

How can I do this and be sure it'll work for all kinds of encapsualtion
and packets.

-vishnu



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