lkml.org 
[lkml]   [2001]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectdev_queue_xmit()
Date
Hi,
Good day!
I am making some changes to the ethernet header for all outgoing
packets. I need to add a tag to it. This tag will be recognised by the
target machine.
Currently, I am putting this tag addition code in dev_queue_xmit().
It doesn't work. When I do gdb (remote gdb), I found that
skb->mac.ethernet was 0. What does it mean?
Is the ethernet header removed by the calling functions of
dev_queue_xmit()?
And, if I have to do changes to all outgoing ethernet packets, which
is the appropriate function? Isn't dev_queue_xmit() the correct one?

Thanks a lot in advance,

Regards,
Suresh.

--
Sureshkumar Kamalanathan,
Ph: 5578300 Extn: 8072.
Sasken Communication Technologies Limited, Bangalore.
(Formerly, Silicon Automation Systems.)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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