92 const bool join_multicast) = 0;
129 static bool joinMulticast(
int sock,
const std::string& ifname,
130 const std::string & mcast);
The IOAddress class represents an IP addresses (version agnostic)
Represents a single network interface.
Abstract packet handling class for DHCPv6.
virtual SocketInfo openSocket(const Iface &iface, const isc::asiolink::IOAddress &addr, const uint16_t port, const bool join_multicast)=0
Opens a socket.
virtual Pkt6Ptr receive(const SocketInfo &socket_info)=0
Receives DHCPv6 message on the interface.
virtual ~PktFilter6()
Virtual Destructor.
static bool joinMulticast(int sock, const std::string &ifname, const std::string &mcast)
Joins IPv6 multicast group on a socket.
virtual int send(const Iface &iface, uint16_t sockfd, const Pkt6Ptr &pkt)=0
Sends DHCPv6 message through a specified interface and socket.
boost::shared_ptr< Pkt6 > Pkt6Ptr
A pointer to Pkt6 packet.
boost::shared_ptr< PktFilter6 > PktFilter6Ptr
Pointer to a PktFilter object.
Defines the logger used by the top-level component of kea-lfc.
Holds information about socket.