rustflexstack/link_layer/mod.rs
1// SPDX-License-Identifier: AGPL-3.0-only
2// Copyright (C) 2024 Fundació Privada Internet i Innovació Digital a Catalunya (i2CAT)
3
4//! Link Layer abstraction for GeoNetworking.
5//!
6//! The [`LinkLayer`] trait defines the interface that the GeoNetworking router
7//! uses to send and receive raw packets. Any concrete implementation
8//! (Ethernet, C-V2X, loopback, …) can implement this trait.
9
10pub mod packet_consts;
11pub mod raw_link_layer;
12
13#[cfg(feature = "cv2x")]
14pub mod cv2x_ffi;
15#[cfg(feature = "cv2x")]
16pub mod cv2x_link_layer;