ether_vlanencap

Venkat Duvvuru venkatduvvuru.ml at gmail.com
Mon Aug 13 15:20:33 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-questions mailing list