Rust API: GeoNetworking

Module rustflexstack::geonet (ETSI TS 103 836-4-1 V2.2.1, TS 103 836-4-2). See Rust GeoNetworking (GN) Router for usage.

Item

Role

router::Router

spawn(mib, sign_service, verify_backend, verify_cert_library) and spawn_with_dcc_net; returns a RouterHandle and the receivers of link-layer packets and BTP indications.

router::RouterHandle

send_gn_data_request, send_incoming_packet, update_position_vector, set_unicast_sender, set_verify_observer, shutdown.

mib::Mib

The itsGn* parameters (local address, interface type, security, timers, DCC_NET, …).

gn_address

GNAddress, M, ST, MID.

service_access_point

GNDataRequest, GNDataIndication, PacketTransportType, HeaderType, HeaderSubType, Area, TrafficClass, CommonNH.

position_vector

LongPositionVector and ShortPositionVector.

location_table

Location table and its entries.

dcc_net

DCC_NET: local and global CBR (TS 103 836-4-2).

The exact signatures are in the generated Rustdoc reference, built from rustflexstack 0.4.0.