Re: [mpls-linux-devel] LSP Ping
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2005-12-07 15:04:46
|
I'm not sure you need a dst structure. (maybe I'm missing something though) Are you using the latest code from my development tree or are you looking at 1.946 code? If you're looking at the latest unreleased code (1.950) look at how ebt_mpls.c(**) works. This module is use by ebtables to do Ethernet over MPLS. The only piece of config coming from userland is the nhlfe key. =46rom that I lookup the NHLFE and store a reference to the NHLFE. Traffic handled by ebtables does not have a skb->dst pointer. To forward the packet on a LSP it simply calls mpls_output_shim(). (**) linux/net/bridge/netfilter/ebt_mpls.c On Wed, Dec 07, 2005 at 05:50:50AM -0800, Timothy Vann wrote: > I'm starting to work through this and I'm not sure the best place to get = the > dst structure from for self originated LSP ping packets. Any thoughts? > Ideally, I think user space code would send down a fully formatted packet > that just needs to have the appropriate NHLFE applied and sent out. Coul= d I > get the dst struct needed if the user code supplied a dev index? >=20 > Thanks, > Tim >=20 > -----Original Message----- > From: James R. Leu [mailto:jl...@mi...]=20 > Sent: Thursday, November 17, 2005 10:27 AM > To: Timothy Vann > Cc: mpl...@li... > Subject: Re: [mpls-linux-devel] LSP Ping >=20 > As far as I know nothing can from those discussions. I would be > happy to help someone who is willing to work on it. >=20 > On Thu, Nov 17, 2005 at 07:21:58AM -0800, Timothy Vann wrote: > > I saw an earlier post where someone was asking about how to do LSP ping. > > Just wondering if anyone knows if any work has been done toward that? = And > > if so, where can I find the code? > >=20 > > =20 > >=20 > > Thanks, > >=20 > > Tim > >=20 >=20 > --=20 > James R. Leu > jl...@mi... --=20 James R. Leu jl...@mi... |