Hi, Bit of a lwIP newbie here, apologies in advance for any misunderstanding on my part....
If I want to support sending and receiving traffic on multiple VLANs through my lwIP stack, what is the intended usage model? (a) I create multiple Ethernet netifs, one for each VLAN, or (b) I just create 1 netif and somehow extract the VLAN information on a per-packet basis. If (a), can I assign the same MAC addresses to each netif so that incoming packets are delivered to all of them, and use the LWIP_HOOK_VLAN_CHECK to filter out VLANs that I don't care about on that netif? If (b), how do I go about extracting the VLAN ID from the pbuf (or other packet metadata) when I receive a packet in my application code? The lwIP code in ethernet_input appears to support checking the VLAN ID, but does not appear to store it anywhere that I can later access. Do I have to parse the Eth header again myself in application code? Many thanks, Ackwel
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users