dev_queue_xmit()

From: Sureshkumar Kamalanathan (skk@sasken.com)
Date: Fri Nov 16 2001 - 09:51:59 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:13 EST