[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375232206.10515.48.camel@edumazet-glaptop>
Date: Tue, 30 Jul 2013 17:56:46 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ani Sinha <ani@...stanetworks.com>
Cc: netdev@...r.kernel.org
Subject: Re: sendmsg() and vlan tags
On Tue, 2013-07-30 at 17:29 -0700, Ani Sinha wrote:
> hello folks.
>
> Can anyone please shed lights on this?
>
> thanks,
> ani
>
>
> On Fri, Jul 26, 2013 at 2:30 PM, Ani Sinha <ani@...stanetworks.com> wrote:
> > Hi folks,
> >
> > We know that (since Linux 3.0) on raw sockets, the recvmsg() api
> > returns the vlan tag information of the packet in the packet aux data.
> > I looked at the kernel code and it seems on the TX side, in sendmsg(),
> > we do not accept the vlan tag data from userland for a raw packet. So
> > if the userland sends a raw packet using sendmsg() with vlan tag
> > information in aux data, it will be discarded.
What is the vlan tag information value in aux data ?
--
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