Bugzilla – Bug 851
PointToPointNetDevice MPLS support
Last modified: 2016-03-30 20:02:00 EDT
PointToPointNetDevice not supports MPLS uint16_t PointToPointNetDevice::PppToEther(uint16_t proto) { switch(proto) { case 0x0021: return 0x0800; //IPv4 case 0x0057: return 0x86DD; //IPv6 case 0x0281: return 0x8847; //+ MPLS unicast case 0x0283: return 0x8848; //+ MPLS multicast default: NS_ASSERT_MSG(false, "PPP Protocol number not defined!"); } return 0; } uint16_t PointToPointNetDevice::EtherToPpp(uint16_t proto) { switch(proto) { case 0x0800: return 0x0021; //IPv4 case 0x86DD: return 0x0057; //IPv6 case 0x8847: return 0x0281; //+ MPLS unicast case 0x8848: return 0x0283; //+ MPLS multicast default: NS_ASSERT_MSG(false, "PPP Protocol number not defined!"); } return 0; }
Is there MPLS support in development for this?
(In reply to comment #1) > Is there MPLS support in development for this? Yes, in progress. http://code.google.com/p/ns3-mpls/