Expand description
§ndn_faces::l2 — Layer-2 (Ethernet and radio) faces
Link-layer face implementations for NDN over raw Ethernet (Ethertype
0x8624), Wifibroadcast, and Bluetooth LE.
§Key types
NamedEtherFace/MulticastEtherFace— unicast and multicast raw Ethernet facesWfbFace— Wifibroadcast NG face for 802.11 monitor-mode injection (Linux only)- [
BleFace] — BLE GATT face implementing the NDNts web-bluetooth-transport protocol (Linux only; requiresbluetoothfeature and BlueZ) RadioTable— metadata registry for radio-based faces- [
EtherNeighborDiscovery] — link-layer neighbor discovery (Linux only)
§Platform support
- Linux —
AF_PACKETraw sockets (full feature set) - macOS —
PF_NDRVfor Ethernet faces - Windows — Npcap/WinPcap for Ethernet faces
- Android / iOS — raw Ethernet faces are unavailable; only
RadioTableandNDN_ETHERTYPEare exported. UseUdpFace/TcpFaceandInProcFacefromndn_faces::net/ndn_faces::localfor mobile deployments.
Re-exports§
pub use af_packet::get_interface_mac;pub use ether::NamedEtherFace;pub use multicast_ether::MulticastEtherFace;pub use wfb::WfbFace;pub use neighbor::NeighborDiscovery;pub use radio::RadioFaceMetadata;pub use radio::RadioTable;
Modules§
- af_
packet - Shared AF_PACKET infrastructure for raw Ethernet faces.
- ether
- multicast_
ether - Multicast Ethernet face for L2 neighbor discovery.
- neighbor
- radio
- wfb
Structs§
- MacAddr
- A 6-byte IEEE 802 MAC address.
Constants§
- NDN_
ETHERTYPE - IANA-assigned Ethertype for NDN over Ethernet (IEEE 802.3).