Fix buffering in datalink layer.
Add routing in datalink layer.