[LiSA-Devel] Virtual VLAN interface

Andreea-Cristina Hodea andreea.cristina.hodea at gmail.com
Wed May 22 12:54:24 EEST 2013


On Wed, May 22, 2013 at 12:51 PM, Radu Rendec <radu.rendec at mindbit.ro> wrote:
> Hi,
>
> You should not make any assumptions about interface naming conventions.
> Therefore, you should return the vlan id explicitly if the interface is
> a VIF.
>
> This is consistent with the SWCFG_GETIFTYPE kernel module call, which
> returns the vlan id in arg.vlan when the interface is a VIF.

Ok, thanks for the response. I'm working on adapting the if_get_type
function from sw_api to also return the vlan.

Andreea


More information about the LiSA-Devel mailing list