How to send/ receive MPLS packet from Kernel.
From Linux Kernel, I would like to send/receive the MPLS packet via Ethernet. This implementation supposed to be done in Linux kernel.
I found one way to send the RAW packet(MPLS packet) by creating RAW socket in kernel.
But this works fins while send, but during receive i will receive all packets then it is difficult to filter the MPLS packtes. So i thought it won't be good solution to filter the MPLS packets.
Can any one give idea, how to do this same in Linux kernel.