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