manual Insertion of VLAN tags RRS feed

  • Question

  • Hello,

    My project group and I are looking to write a driver to manually inject VLAN tags into an ethernet frame, as a trunk port on a switch does. Is it possible to edit link-layer frames of packets via the WFP? The documentation here (https://docs.microsoft.com/en-us/windows-hardware/drivers/network/packet-injection-functions)  does not list any injection functions that operate lower than the network level. However, the list of WFP filtering layers includes layers such as FWPM_LAYER_OUTBOUND_MAC_FRAME_NATIVE for Windows 8. Is this possible to do via WFP on Windows 8? What about Windows 10? And if not, can this functionality be achieved with NDIS drivers somehow? Thank you.

    Thursday, October 25, 2018 12:49 PM