.. _api_rust_link_layer: ==================== Rust API: Link Layer ==================== Module ``rustflexstack::link_layer``. See :ref:`rust_link_layer` for usage. .. list-table:: :widths: 35 65 :header-rows: 1 * - Item - Role * - `raw_link_layer::RawLinkLayer <../../rustdoc/rustflexstack/link_layer/raw_link_layer/struct.RawLinkLayer.html>`__ - Raw-socket driver (``pnet``): ``new(gn_tx, gn_rx, iface, mac)``, ``with_unicast_receiver``, ``media_dependent_mid``, ``start``. * - `cv2x_link_layer::Cv2xLinkLayer <../../rustdoc/rustflexstack/link_layer/cv2x_link_layer/index.html>`__ - Qualcomm C-V2X driver, feature ``cv2x``: ``new(gn_tx, gn_rx)``, ``start``. * - `packet_consts <../../rustdoc/rustflexstack/link_layer/packet_consts/index.html>`__ - EtherType and frame constants. The exact signatures are in the generated `Rustdoc reference <../../rustdoc/rustflexstack/index.html>`__, built from ``rustflexstack`` 0.4.0.