On Mon, Oct 03, 2005 at 05:56:35PM +0200, EMI...@te... wrote:
> Hi List,
>=20
> I want to know the differences between the function "static=20
> int __init mpls_init(void)" of the MPLS version 1.170, which is very=20
> similar as the one explained in the Developers' Guide at "http://perso.
> enst.fr/~casellas/mpls-linux/index.html"; and the "same" function in=20
> the MPLS version 1.946, which is called "static int __init=20
> mpls_init_module (void)", and it is quite different to the first one.
The changes were made in an attempt to allow MPLS to be built and installed
as a module. 1.946 cannot be built or run as a module.
> I would also want to know why in the version 1.946 there is no longer a=
=20
> function called "static int mpls_dlv(struct sk_buff* skb, struct=20
> mpls_push_data *mpr)", which delivered the frame to the upper layers;=20
> and how it is done in the new version.
Layer 3 delivery has now been moved to the proto_driver. See net/ipv4/mpls=
4.c
for IPv4 proto_driver.
> To conclude, I was wondering=20
> why the argument "mpls_push_data *mpr" does no longer exist in the=20
> function "int mpls_input(...)" in the version 1.946. And if there is a=20
> lot of difference between the new version and the old one.
The 'mpr' data has now been moved to the SKB CB data. See include/net/mpls=
.h
(look for MPLSCB)
>=20
> Thank you=20
> very much
>=20
>=20
> Prueba el Nuevo Correo Terra; Seguro, R???pido, Fiable.
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|