[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Add support for outgoing VLAN tags?

From: Dance, Brian
Subject: Re: [lwip-users] Add support for outgoing VLAN tags?
Date: Tue, 1 Nov 2011 11:37:35 +0000


   I am very interested in support for outgoing vlan tags.   

   I had an outline plan to implement it myself. The plan was
   1. Add a field to the Netif structure for vlan id with default setting for 
no vlan.
   2. Add a function to allow the vlan field to be set.  This would only be 
called if the interface was to be associated with the vlan.
   3. Add code to use the netif structure vlan field to generate the frame vlan 
tag if the vlan field was set.

 If there is a plan to add outgoing vlan support  when might it be released?



-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt
Sent: 01 November 2011 11:28
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Add support for outgoing VLAN tags?

"address@hidden" <address@hidden> wrote:

> Since 1.4, lwip supports incomming VLAN tagged frames.
> Is there any interest in also adding support for VLAN tagging of outgoing 
> frames for QoS purposes?

I guess it hasn't been added yet since no one knew how outgoing VLAN support 
should look like. for example, I wouldn't have thought that it would be useful 
to support different VLAN tags on the same IP address. Instead, I would have 
added multiple netifs each with their own IP address or subnet and assigned a 
VLAN tag to the netif.

Honestly, I wouldn't want to add a new argument in all the output functions for 
everybody for such a seldom used feature. Isn't there another way to implement 

lwip-users mailing list

This e-mail from Ultra Electronics Limited and any attachments to it are 
confidential to
the intended recipient and may also be privileged. If you have received it in 
error please
notify the sender and delete it from your system. If you are not the intended 
you must not copy it or use it for any purpose nor disclose or distribute its 
contents to 
any other person. All communications may be subject to interception or 
monitoring for 
operational and/or security purposes. Please rely on your own virus checking as 
the sender 
cannot accept any liability for any damage arising from any bug or virus 
Ultra Electronics Limited is a company registered in England and Wales, 
registration number 
2830644. The address of its registered office is 417 Bridport Road, Greenford, 
Middlesex, UB6 8UA.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]