I have a problem about the usage of this TPACKET_V2 .
My problem is that after setting of this type of packet on socket, when I try to receive some packets I can\'t rea
When the kernel removes the vlan it also changes eth_h.h_proto
to the protocol after de vlan tag so ETH_P_8021Q == ntohs(frame->eth_h.h_proto)
will most probably be false.
Also, if you are listening in the tagged interface (ie. eth0.100) instead of the physical interface (eth0) you will not see the tags.