* Don't call ifp->if_output() from inside mpls_output(). Make the
commit8bdef0e6d453a607e1af3a646491889fa5bf896b
authorNuno Antunes <nant@dragonflybsd.org>
Tue, 5 Aug 2008 15:11:32 +0000 (5 15:11 +0000)
committerNuno Antunes <nant@dragonflybsd.org>
Tue, 5 Aug 2008 15:11:32 +0000 (5 15:11 +0000)
treecb2e4e01fbb87ff1eaf5614b1e06d77f48ba226d
parentdae6794c5e78338081be89ea30cd9638bfb2e754
* Don't call ifp->if_output() from inside mpls_output(). Make the
  caller responsible for sending the packet.

* Fix mpls gateway arp resoving.

* Introduce a new mbuf flag M_MPLSLABELED indicating that the packet
  has at least one valid mpls label on it.

* Use the new mbuf flag instead of forging a sockaddr_mpls to let
  ether_output() identify the mpls packets.

* Drop the packet when mpls ttl is exceeded (doesn't send an ICMP message yet).

* Fix compilation warning.

* Improve comments.
sys/net/if_ethersubr.c
sys/netinet/ip_output.c
sys/netproto/mpls/mpls_demux.c
sys/netproto/mpls/mpls_input.c
sys/netproto/mpls/mpls_output.c
sys/netproto/mpls/mpls_var.h
sys/sys/mbuf.h