Vanetza
 
Loading...
Searching...
No Matches
vanetza::asio::linklayer_endpoint< Protocol > Class Template Reference

Classes

union  data_union
 

Public Types

typedef boost::asio::detail::socket_addr_type sockaddr_type
 
typedef sockaddr_ll sockaddr_ll_type
 

Public Member Functions

 linklayer_endpoint (const Protocol &protocol)
 
const sockaddr_type * data () const
 
std::size_t size () const
 
Protocol protocol () const
 

Private Attributes

union vanetza::asio::linklayer_endpoint::data_union m_data
 

Detailed Description

template<typename Protocol>
class vanetza::asio::linklayer_endpoint< Protocol >

Definition at line 14 of file linklayer_endpoint.hpp.

Member Typedef Documentation

◆ sockaddr_ll_type

template<typename Protocol >
typedef sockaddr_ll vanetza::asio::linklayer_endpoint< Protocol >::sockaddr_ll_type

Definition at line 18 of file linklayer_endpoint.hpp.

◆ sockaddr_type

template<typename Protocol >
typedef boost::asio::detail::socket_addr_type vanetza::asio::linklayer_endpoint< Protocol >::sockaddr_type

Definition at line 17 of file linklayer_endpoint.hpp.

Constructor & Destructor Documentation

◆ linklayer_endpoint() [1/2]

template<typename Protocol >
vanetza::asio::linklayer_endpoint< Protocol >::linklayer_endpoint ( )
inline

Definition at line 20 of file linklayer_endpoint.hpp.

◆ linklayer_endpoint() [2/2]

template<typename Protocol >
vanetza::asio::linklayer_endpoint< Protocol >::linklayer_endpoint ( const Protocol &  protocol)
inline

Definition at line 27 of file linklayer_endpoint.hpp.

Member Function Documentation

◆ data()

template<typename Protocol >
const sockaddr_type * vanetza::asio::linklayer_endpoint< Protocol >::data ( ) const
inline

Definition at line 33 of file linklayer_endpoint.hpp.

◆ protocol()

template<typename Protocol >
Protocol vanetza::asio::linklayer_endpoint< Protocol >::protocol ( ) const
inline

Definition at line 43 of file linklayer_endpoint.hpp.

◆ size()

template<typename Protocol >
std::size_t vanetza::asio::linklayer_endpoint< Protocol >::size ( ) const
inline

Definition at line 38 of file linklayer_endpoint.hpp.


The documentation for this class was generated from the following file: