Date: Tue, 14 Aug 2012 11:20:45 +0530 From: Venkat Duvvuru <venkatduvvuru.ml@gmail.com> To: freebsd-net@freebsd.org Subject: ether_vlanencap Message-ID: <CAGdae7YiNm6X-Sj4aqP8hgf8G3zmhwbAXCS4X2mfiDBCBgz3gg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to insert vlan tag into the packet using "ether_vlanencap" but the packet is getting corrupted in the mbuf and m_len is also showing a wrong length. Am I doing something wrong here? Can I directly pass mbuf pointer and vlan tag to this api for inserting the vlan tag? /Venkat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGdae7YiNm6X-Sj4aqP8hgf8G3zmhwbAXCS4X2mfiDBCBgz3gg>