Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 20:50:32 +0530
From:      Venkat Duvvuru <venkatduvvuru.ml@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   ether_vlanencap
Message-ID:  <CAGdae7Zbcq4nhmA5XZN6sEKOHOxy-6o1y_Y9KUnBrS8+AJmbGA@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: <http://docs.FreeBSD.org/cgi/mid.cgi?CAGdae7Zbcq4nhmA5XZN6sEKOHOxy-6o1y_Y9KUnBrS8+AJmbGA>