Change NHLFE MTU calculationmaster
commitc907cd23347dfc074b40c71d7196f548ac94d852
authorJames R. Leu <jleu@dev10.leu.dangermen.com>
Thu, 20 May 2010 05:39:19 +0000 (20 00:39 -0500)
committerJames R. Leu <jleu@dev10.leu.dangermen.com>
Thu, 20 May 2010 05:39:19 +0000 (20 00:39 -0500)
treed38663a8829495cf32fac9136846abea2b1a2aee
parent8bee8ff0a727a33dc930df57ee8719bdaef0faaf
Change NHLFE MTU calculation

The goal is to be more accurate with the size that will be
needed for the header as part of the output path

track number of labels being pushed and the MTU of the lower
layer device, use that to calculate the actual MTU of the LSP
src/include/net/mpls.h
src/mpls_nhlfe.c
src/mpls_opcode.c
src/mpls_output.c
src/mpls_shim.c
src/mpls_tunnel.c