Data-link-layer protocol