What do you want to use the other 4 bits for? The only whay to modify
this is to hack the kernel code.
On Wed, Jan 05, 2005 at 03:19:02PM +0330, Farazad Farhadzadeh wrote:
> Hi James.
>
> I want to see if there is any way to use 16 bit of label size instead of
> 20 bits in a mpls header? Is there any standard way of this?
>
>
> -----Original Message-----
> From: "James R. Leu" <jl...@mi...>
> To: Farazad Farhadzadeh <Far...@sa...>
> Cc: mpl...@li...
> Date: Tue, 4 Jan 2005 07:51:56 -0600
> Subject: Re: [mpls-linux-general] question about label.
>
> > On Tue, Jan 04, 2005 at 02:45:44PM +0330, Farazad Farhadzadeh wrote:
> > > Hi James.
> > > I want to know whether i can decrease the value of label.
> > > for example 0 ... 2^16.
> >
> > Where? In the kernel code and tools or when creating a LSP? When
> > configuring
> > a LSP, you can use any value from 16 to 2^20-1 therfore you can use any
> > 16 bit value in that range.
> >
> > > -----Original Message-----
> > > From: "James R. Leu" <jl...@mi...>
> > > To: Farazad Farhadzadeh <Far...@sa...>
> > > Cc: mpl...@li...
> > > Date: Mon, 3 Jan 2005 22:06:11 -0600
> > > Subject: Re: [mpls-linux-general] question about label.
> > >
> > > > I'm not sure what you mean. Do you want to known where in the
> > kernel
> > > > code you change the encoding/decoding of the MPLS shim?
> > > >
> > > > On Mon, Jan 03, 2005 at 11:18:16AM +0330, Farazad Farhadzadeh
> > wrote:
> > > > >
> > > > > Hi all.
> > > > > I have a question about label in mpls.
> > > > > I know that label stack is 32-bit value and label is 20-bit value
> > in
> > > > label
> > > > > stack ,I want to know that i can decrease this value,for example
> > to
> > > > 16-
> > > > > bit.
> > > > > regards.
> > > > > --------
> > > > > Farzad FarhadZadeh
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > The SF.Net email is sponsored by: Beat the post-holiday blues
> > > > > Get a FREE limited edition SourceForge.net t-shirt from
> > ThinkGeek.
> > > > > It's fun and FREE -- well,
> > almost....http://www.thinkgeek.com/sfshirt
> > > > > _______________________________________________
> > > > > mpls-linux-general mailing list
> > > > > mpl...@li...
> > > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
> > > >
> > > > --
> > > > James R. Leu
> > > > jl...@mi...
> >
> > --
> > James R. Leu
> > jl...@mi...
--
James R. Leu
jl...@mi...
|