Re: [mpls-linux-general] decoding /proc/net/mpls_in
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-01-18 03:15:15
|
On Thu, Jan 17, 2002 at 03:12:11PM -0800, Sanjeev Chakravarty wrote: > > Hi Jim, > > I would appreciate if you could explain the content of an entry in > /proc/net/mpls_in > > Eg. on executing "mplsadm -A -I gen:27:0" > > The following entry was found in /proc/net/mpls_in > 40006C00 0/0/0 gen 27 0 POP PEEK > > What I could infer is: PEEK into the label stack for the top most label of > the incoming packet and if it is a generic label "27" in labelspace "0" then > POP that label. I have no idea about the other parameters "40006C00" and > "0/0/0". 40006C00 is the key that is used to store it in the internal tree. 0/0/0 are teh counters. Packet/byte/drop. > Also in one of your previous mail you mentioned that you are less inclined > towards using netlink. Is it becoz netlink is Linux specific and porting to > other systems could have problems or there are other issues? Netlink works well, but it seems like over kill. If I ever add notification (like when labels come and go) I will look to netlin again. Jim > > thanks, > > Sanjeev > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |