VLAN support in the XTCP core

If you have a simple question and just want an answer.
jpe
Junior Member
Posts: 4
Joined: Thu May 28, 2015 1:15 pm

VLAN support in the XTCP core

Post by jpe »

Hello,

I am developing an application which uses the UDP communication via the XTCP core. Unfortunately the XTCP core is not VLAN-aware, and all VLAN-tagged frames are simply discarded.

Is it possible to add this feature (VLAN support) to the XTCP? If it would require some code altering inside the XTCP core (uip server), which is the fastest way to achieve that?

Thank you for your advices.

srinie
XCore Addict
Posts: 158
Joined: Thu Mar 20, 2014 8:04 am

Post by srinie »

Hi,

Is your L2 layer already supporting VLAN packets? If not, it should be made VLAN aware.

Can you brief where exactly the xtcp drops the VLAN packets? As xtcp is a baselined from uip port, it may be helpful to get some pointers from the uip stack about processing to VLAN traffic.

Hope this helps.

Regards,

srinie

srinie
XCore Addict
Posts: 158
Joined: Thu Mar 20, 2014 8:04 am

Post by srinie »

uip does not seem to support vlan tagged traffic - code is to be modified (custom code) to handle then!