Re: [mpls-linux-general] Dst_entry in MPLS implementation
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-02-15 13:46:19
|
In mpls-linux 1.0 dst_entry is used ineffeciently. Take a look at mpls-linux 1.1xx (get it from CVS) to see how it will be used in the future. As for you question. Since MPLS created the dst_entry and holds a reference (and a reference count) for the dst_entry, it will not be deleted until MPLS releases it. The neighbor entry the the dst_entry points to can change over time, but the neighbor entry deals with this. _use is the reference count. Jim On Fri, Feb 15, 2002 at 02:53:07PM +0530, jagdish Garg wrote: > Hi > In the mpls code a new dst entry is created for each new nhlfe add request. > The pointer of which is kept in moi. The dst_entry is further use depends on > the mpls LSP configuration. I have one question, suppose dst_entry is not > used long time and it will go to the garbage list. After that if moi is used > then what will happen? > > Further I will be grateful if one can tell me the significance of _use field > of dst_entry structure. > > > > Thanks in advance > Jagdish > > > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |