How to send/ receive MPLS packet from Kernel.
Hi All,
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. Thanks --Sekhar |
If you want to do something more compilcated with MPLS, it's much better to get the MPLS support in the network stack, not via some special handling.There's no need to use RAW packets, the code just needs to register in the network stack. However, why do you want to re-do the work? There exists a project for MPLS support in Linux kernel. I'm not sure if the patches work well with the latest kernels, but it's IMO much better idea to use the existing code than to redevelop everything.
See http://sourceforge.net/apps/mediawik...itle=Main_Page |
sekhar417:
dear friend i need your email address because i have problem in doing my project software based MPLS router, i think you can help me because of your sufficient knowledge about MPLS technology plz post your email address or send me your mail address on my email address bkhan1903@gmail.com wating for your reply |
All times are GMT -5. The time now is 08:00 PM. |