dev_queue_xmit()

Sureshkumar Kamalanathan (skk@sasken.com)
Fri, 16 Nov 2001 20:21:59 +0530


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/