ether_vlanencap

Venkat Duvvuru venkatduvvuru.ml at gmail.com
Tue Aug 14 05:50:47 UTC 2012


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


More information about the freebsd-net mailing list