Re: [mpls-linux-general] Question on data structures used in MPLS Patch
Status: Beta
Brought to you by:
jleu
From: Yon U. <hav...@gm...> - 2001-08-06 22:14:41
|
Hi, On Mon, 6 Aug 2001, James R. Leu wrote: > Hello, > > Please don't take this the wrong way, but do you know how to use 'grep'? ;-) > cd /usr/src/linux/net/mpls > grep -l mii_tree *.[ch] > mpls_in_info.c > mpls_init.c > mpls_input.c > mpls_proc.c > > After looking in each the files you'll find it's defined in mpls_init.c > mpls_init(). > > On Wed, Aug 01, 2001 at 06:14:50PM +0530, Pradeep wrote: > > In the file mpls_init.c - there are two extern variables used namely > > mii_tree(Of type struct mpls_in_info_tree) and moi_tree (Of Type struct > > mpls_out_info_tree ). > > > > Can anyone please tell me where are these 2 > > variables mii_tree and moi_tree declared?? > > > > Also, I am not able to find the definition of the > > structures struct mpls_in_info_tree and struct mpls_out_info_tree. Can > > anyone please tell me in which file is the definition of these 2 > > structures present??? http://lxr.linux.no/ is of incredible help. I have linux, zebra and the mpls code under it. Install htdig, it's even better than grep ! HTH, HAND yon |