}
int
-PktFilterInet::send(const Iface&, uint16_t sockfd,
- const Pkt4Ptr& pkt) {
+PktFilterInet::send(const Iface&, uint16_t sockfd, const Pkt4Ptr& pkt) {
uint8_t control_buf[CONTROL_BUF_LEN];
memset(&control_buf[0], 0, CONTROL_BUF_LEN);
/// @return result of sending a packet. It is 0 if successful.
/// @throw isc::dhcp::SocketWriteError if an error occurs during sending
/// a DHCP message through the socket.
- virtual int send(const Iface& iface, uint16_t sockfd,
- const Pkt4Ptr& pkt);
+ virtual int send(const Iface& iface, uint16_t sockfd, const Pkt4Ptr& pkt);
private:
/// Length of the socket control buffer.
/// @return A result of sending the message. It is 0 if successful.
/// @throw isc::dhcp::SocketWriteError if error occurred when sending a
/// packet.
- virtual int send(const Iface& iface, uint16_t sockfd,
- const Pkt6Ptr& pkt);
+ virtual int send(const Iface& iface, uint16_t sockfd, const Pkt6Ptr& pkt);
private:
/// Length of the socket control buffer.