Re: [mpls-linux-general] Ping in MPLS
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-01-05 05:05:09
|
Sorry for the delay. To implment LSP ping, you will need to finish the MPLS socket implementation then implement a userland daemon that listens on UDP port 3503 (MPLS echo requests port). The MPLS socket code will allow a userland aplications to construct the LSP ping request packet then choose which NHLFE it wishes to send the packet on. You will need to create a sockaddr_mpls which contains the NHLFE key. (you might also want to think about how an application would register an ILM that is bound to a socket, also there is a router alert label which needs to forward the packet on a socket as well) Then fill in all of the socket functions needed to create/bind/connect/listen/send/recv on the MPLS socket. The framework is already there in net/mpls/af_mpls.c Let me know if you need more info. On Thu, Dec 30, 2004 at 11:21:28PM +0100, Tomas Hernandez wrote: > Hi, > I?m doing my final project and I have to implement mpls ping and traceroute but I don?t know how to start. Can you said to me how can I start with this or if is there > something implemented for this? > > Thanks in advance, > > Tomas. -- James R. Leu jl...@mi... |