 |
Kea
1.5.0
|
Go to the documentation of this file.
7 #ifndef PKT_FILTER_INET_H
8 #define PKT_FILTER_INET_H
11 #include <boost/scoped_array.hpp>
53 const bool receive_bcast,
54 const bool send_bcast);
84 virtual int send(
const Iface& iface, uint16_t sockfd,
91 size_t recv_control_buf_len_;
93 size_t send_control_buf_len_;
95 boost::scoped_array<char> recv_control_buf_;
97 boost::scoped_array<char> send_control_buf_;
103 #endif // PKT_FILTER_INET_H
The IOAddress class represents an IP addresses (version agnostic)
Packet handling class using AF_INET socket family.
Represents a single network interface.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual Pkt4Ptr receive(Iface &iface, const SocketInfo &socket_info)
Receive packet over specified socket.
boost::shared_ptr< Pkt4 > Pkt4Ptr
A pointer to Pkt4 object.
PktFilterInet()
Constructor.
virtual SocketInfo openSocket(Iface &iface, const isc::asiolink::IOAddress &addr, const uint16_t port, const bool receive_bcast, const bool send_bcast)
Open primary and fallback socket.
Holds information about socket.
virtual int send(const Iface &iface, uint16_t sockfd, const Pkt4Ptr &pkt)
Send packet over specified socket.
Abstract packet handling class.
virtual bool isDirectResponseSupported() const
Check if packet can be sent to the host without address directly.