question about vlan driver

2013-05-06 Thread Kevin Wilson
Hello, I have a short question about vlan driver; I see in the vlan driver the following code when creating a new vlan interface: vlan_newlink() { ... if (data[IFLA_VLAN_PROTOCOL]) proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]); else proto = htons(ETH_P_8021Q); ... } see: http://lxr.free

Re: question about vlan driver

2013-05-06 Thread Bjørn Mork
Kevin Wilson wkev...@gmail.com writes: Hello, I have a short question about vlan driver; I see in the vlan driver the following code when creating a new vlan interface: vlan_newlink() { ... if (data[IFLA_VLAN_PROTOCOL]) proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]); else proto

Re: question about vlan driver

2013-05-06 Thread Kevin Wilson
://www.spinics.net/lists/netdev/msg233587.html but nothing else It is probably a matter of sync between iproute version and kernel version rgs Kevin On Mon, May 6, 2013 at 9:26 PM, Bjørn Mork bj...@mork.no wrote: Kevin Wilson wkev...@gmail.com writes: Hello, I have a short question about vlan