[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 03 Mar 2015 10:44:15 +0530
From: Sriram Raghunathan <sriram.r@....com>
To: netdev@...r.kernel.org
Subject: About Raw socket, vlan + ip header
Hi,
My name is Sriram, have a question about raw socket programming.
Writing a socket program where, I'm trying to construct a ether frame
with vlan id and copying ip header there after. By using PF_PACKET
family.
But when I do a sendto, the ip header is stripped off from the
packet. Could you please let me know how to go about?
Having the ip header is necessary for a software here.
Thanks for the time.
Sriram
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists