| Kea 3.0.2-git

ping_channel.h File Reference
`#include <asiolink/asio_wrapper.h>`
`#include <asiolink/io_address.h>`
`#include <asiolink/io_service.h>`
`#include <util/watch_socket.h>`
`#include <icmp_msg.h>`
`#include <icmp_socket.h>`
`#include <ping_context.h>`
`#include <boost/scoped_ptr.hpp>`
`#include <boost/enable_shared_from_this.hpp>`
`#include <iostream>`
`#include <mutex>`
Include dependency graph for ping_channel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | isc::ping_check::PingChannel
| Provides thread-safe ICMP ECHO REQUEST/ECHO REPLY service. More...
class | isc::ping_check::SocketCallback
| Functor associated with the socket object. More...

## Namespaces
namespace | isc
| Defines the logger used by the top-level component of kea-lfc.
namespace | isc::ping_check

## Typedefs
typedef std::function< void(ICMPMsgPtr &echo, bool send_failed)> | isc::ping_check::EchoSentCallback
| Function type for callback to invoke upon ECHO send completion.
typedef std::function< PingContextPtr()> | isc::ping_check::NextToSendCallback
| Function type for callback to fetch a context with next target to ping.
typedef boost::shared_ptr< PingChannel > | isc::ping_check::PingChannelPtr
| Defines a smart pointer to PingChannel.
typedef ICMPSocket< SocketCallback > | isc::ping_check::PingSocket
| Socket type for performing ICMP socket IO.
typedef boost::shared_ptr< PingSocket > | isc::ping_check::PingSocketPtr
| Defines a pointer to PingSocket.
typedef std::function< void(ICMPMsgPtr &reply)> | isc::ping_check::ReplyReceivedCallback
| Function type for callback to invoke when an ICMP reply has been received.
typedef std::function< void()> | isc::ping_check::ShutdownCallback
| Function type for callback to invoke when the channel has shutdown.
typedef std::function< void(boost::system::error_code ec, size_t length)> | isc::ping_check::SocketCallbackFunction
| Type of the function implementing a callback invoked by the `SocketCallback` functor.
typedef std::function< void(PingContextPtr context)> | isc::ping_check::UpdateToSendCallback
| Function type for callback to update a context to SENDING state.