7#ifndef PKT_FILTER_BPF_H
8#define PKT_FILTER_BPF_H
102 const bool receive_bcast,
103 const bool send_bcast);
120 virtual int send(
const Iface& iface, uint16_t sockfd,
141 void writeAFPseudoHeader(
const uint32_t address_family,
The IOAddress class represents an IP addresses (version agnostic)
Represents a single network interface.
Packet handling class using Berkeley Packet Filtering (BPF)
virtual Pkt4Ptr receive(Iface &iface, const SocketInfo &socket_info)
Receive packet over specified socket.
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.
virtual int send(const Iface &iface, uint16_t sockfd, const Pkt4Ptr &pkt)
Send packet over specified socket.
virtual bool isSocketReceivedTimeSupported() const
Check if the socket received time is supported.
virtual bool isDirectResponseSupported() const
Check if packet can be sent to the host without address directly.
Abstract packet handling class.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
boost::shared_ptr< Pkt4 > Pkt4Ptr
A pointer to Pkt4 object.
Defines the logger used by the top-level component of kea-lfc.
Holds information about socket.