3 #include "radproto/socket.h"
4 #include "radproto/packet.h"
5 #include "radproto/dictionaries.h"
6 #include <boost/asio.hpp>
8 #include <cstdint> //uint8_t, uint32_t
15 Server(boost::asio::io_service& io_service, const std::string& secret, uint16_t port, const std::string& filePath);
18 RadProto::Packet makeResponse(const RadProto::Packet& request);
19 void handleReceive(const boost::system::error_code& error, const std::optional<RadProto::Packet>& packet, const boost::asio::ip::udp::endpoint& source);
20 void handleSend(const boost::system::error_code& ec);
23 RadProto::Socket m_radius;
24 RadProto::Dictionaries m_dictionaries;