#include <canary/basic_endpoint.hpp>
namespace canary
{
class raw;
}
class raw
{
public:
int type() const noexcept;
int protocol() const noexcept;
int family() const noexcept;
using endpoint = basic_endpoint<canary::raw>;
using socket = net::basic_raw_socket<raw>;
};
Encapsulates flags necessary for creation of raw CAN sockets.
int type() const noexcept;
Obtain an identifier for the protocol type.
int protocol() const noexcept;
Obtain an identifier for the protocol.
int family() const noexcept;
Obtain an identifier for the address family.
using endpoint = basic_endpoint<canary::raw>;
CAN endpoint type, represents a CAN interface (e.g. vcan0)
using socket = net::basic_raw_socket<raw>;
Raw CAN socket type