Re: [mpls-linux-devel] Re: 2.6 Spec: Random comments.
Status: Beta
Brought to you by:
jleu
From: Jamal H. S. <ha...@zn...> - 2004-02-13 22:39:57
|
On Fri, 2004-02-13 at 12:10, Ramon Casellas wrote: > > > > What is the mpls_tunnel.c for? Is it a netdevice? What is it used for? > > Yes. It is a virtual netdevice that is allocated upon request and > basically holds a MOI (the equivalent of a nhlfe_id). User sees it as a > unidirectional netdevice (ifconfig, etc), What do you mean with "by request" - is it created by policy or packet arrival? I think i may be able to visualize this, if ia m right - what is happening is a packet gets redirected to this device which then does some MPLS work on it before sending out some device with proper encapsulation? Is this typically an IP packet? > Take a look at the file if you happen to find some spare time (Indeed, it > can be improved and the sysfs integration was a little hairy) but I think > it is very convenient and extensively used when RSVP-TE sets up LSPs. Nobody has pointed a URL to me yet of whenre the code is. cheers, jamal |