Re: [mpls-linux-general] Some Questions
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-01-23 15:19:22
|
On Wed, Jan 23, 2002 at 06:49:54AM -0800, Cheng Zhengchao wrote: > Hi,All, mpls-linux is an MPLS forwarding plane implementation. It contains kernel code to support label switching of packets. It also has a utility to statically create LSPs (like the good old days of creating PVCs through and ATM network, or statically routing a subnet through a network) If you want a dynamic means to setup LSPs (which is what it seems you are about) you need an MPLS signaling protocol like LDP, RSVP-TE, or CR-LDP. The protocols take care of advertising labels. ldp-portable is an implementation of RFC3036 (label ditribution protocol). > I met some questions in my reading codes.I will > appreciate your help very much. > 1.In the mpls_linux,How do the labels are distributed > among the ldp peers?In other words,How does the > mplsadm get to know the infor about FTN,ILM and NHLFE? > What is the relation between mpls_linux and > ldp_portable?Does mpls_linux need ldp_portable to > distribut lables? > 2.Can someone tell me the meanings of variables in the > structure mpls_printf_info?Especially the "pos". This structure is used to help in the handling of buffers used for displaying the content of the virtual files in the /proc file system. 'pos' stands for 'position', the current printing position in the virtual file. Remember that the virtual file may be larger then the buffer suplied to the *_print functions, so the *_print function will be called multiple times, with a different offset each time. '*_print' can't translate offset into 'where it left off' so the function just starts over, but the 'pos' and 'offset' are used to decide when to start filling the buffer again. > Thanks a lot. > > Best Regard > > Cheng > > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |