[mpls-linux-general] Re: packet journey in mpls linux (for experts)
Status: Beta
Brought to you by:
jleu
|
From: Francesco O. <f.o...@ti...> - 2003-03-29 11:11:52
|
>Are you asking if there are netfilter hooks in MPLS? Not, not yet. i'm not a kernel hacker but it seems not to be an hard task to put a netfilter hook in mpls....isn't it? > As far as I know there are only netfilter hook in the IPv4 and IPv6 code. > Remember there are two differnt path a packet can take to get into the > MPLS code: > -packet arrives at ethernet driver with protocol ID of 0x8847 > (LSR or egress LER) > -packet get diverted from IPv4 into MPLS (ingress LER) Yes i know this... >May I ask what you are trying to do? Maybe I can help point you in the right direction. I'm working on a Diffserv over MPLS trial and i have to implement a system which takes some measures on aggregate flows and decides if more provisioning is needed (really i'm not sure how to do everything, but now this is not the problem...the problem in WHERE); so my idea was to make a netfilter hook but now i have to take another way...but the problem is: to intercept a packet at any place of the path i have to put a call to my code in that place (i.e. i have to hack mpls code) or i can make a module and tell the kernel (in some way) where to plug it in the path (without hacking mpls code)? At the moment i'm only analysing the code to decide how and where to plug my system in the kernel code, after this i can think what it had to do ;-). Sorry for my bad english i hope all is clear. Thank you very much! Francesco Oppedisano PS: Thank you Ramon for the interesting pointers :-))) PPS: anyone knows why i'm not receiving ML replies in my e-mail....i read the replies on the web :-(( |