netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* About Raw socket, vlan + ip header
@ 2015-03-03  5:14 Sriram Raghunathan
  2015-03-03 17:03 ` Philippe Troin
  0 siblings, 1 reply; 3+ messages in thread
From: Sriram Raghunathan @ 2015-03-03  5:14 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-04  4:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03  5:14 About Raw socket, vlan + ip header Sriram Raghunathan
2015-03-03 17:03 ` Philippe Troin
2015-03-04  4:36   ` Sriram Raghunathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).