Vanetza
Loading...
Searching...
No Matches
data_request.hpp
1#ifndef DATA_REQUEST_HPP_3OGGPFWF
2#define DATA_REQUEST_HPP_3OGGPFWF
3
4#include <vanetza/access/access_category.hpp>
5#include <vanetza/common/byte_order.hpp>
6#include <vanetza/net/mac_address.hpp>
7
8namespace vanetza
9{
10namespace access
11{
12
14{
15 DataRequest() : access_category(AccessCategory::BK) {}
16
17 uint16be_t ether_type;
18 MacAddress source_addr;
19 MacAddress destination_addr;
20 AccessCategory access_category;
21};
22
23} // namespace access
24} // namespace vanetza
25
26#endif /* DATA_REQUEST_HPP_3OGGPFWF */
ChunckPacket is a packet consisting of several memory chunks.
virtual void cancel(const void *scope)=0
virtual Clock::time_point now() const =0
FlowControl(Runtime &, TransmitRateControl &, access::Interface &)
void set_packet_drop_hook(PacketDropHook::callback_type &&)
void queue_length(std::size_t length)
void request(const DataRequest &, std::unique_ptr< ChunkPacket >) override
void set_packet_transmit_hook(PacketTransmitHook::callback_type &&)
virtual void notify(const Transmission &tx)=0
virtual Clock::duration delay(const Transmission &tx)=0