const size_t PktFilterInet::CONTROL_BUF_LEN = 512;
+bool
+PktFilterInet::isSocketReceivedTimeSupported() const {
+#ifdef SO_TIMESTAMP
+ return (true);
+#else
+ return (false);
+#endif
+}
+
SocketInfo
PktFilterInet::openSocket(Iface& iface,
const isc::asiolink::IOAddress& addr,
/// a SOCKET_RECEIVED event in its event stack.
///
/// @return True if SO_TIMESTAMP is defined.
- virtual bool isSocketReceivedTimeSupported() const {
-#ifdef SO_TIMESTAMP
- return (true);
-#else
- return (false);
-#endif
- }
+ virtual bool isSocketReceivedTimeSupported() const;
/// @brief Open primary and fallback socket.
///
const size_t PktFilterInet6::CONTROL_BUF_LEN = 512;
+bool
+PktFilterInet6::isSocketReceivedTimeSupported() const {
+#ifdef SO_TIMESTAMP
+ return (true);
+#else
+ return (false);
+#endif
+}
+
SocketInfo
PktFilterInet6::openSocket(const Iface& iface,
const isc::asiolink::IOAddress& addr,
/// a SOCKET_RECEIVED event in its event stack.
///
/// @return True if SO_TIMESTAMP is defined.
- virtual bool isSocketReceivedTimeSupported() const {
-#ifdef SO_TIMESTAMP
- return (true);
-#else
- return (false);
-#endif
- }
+ virtual bool isSocketReceivedTimeSupported() const;
/// @brief Opens a socket.
///
namespace isc {
namespace dhcp {
+bool
+PktFilterLPF::isSocketReceivedTimeSupported() const {
+#ifdef SO_TIMESTAMP
+ return (true);
+#else
+ return (false);
+#endif
+}
+
SocketInfo
PktFilterLPF::openSocket(Iface& iface,
const isc::asiolink::IOAddress& addr,
/// a SOCKET_RECEIVED event in its event stack.
///
/// @return True if SO_TIMESTAMP is defined.
- virtual bool isSocketReceivedTimeSupported() const {
-#ifdef SO_TIMESTAMP
- return (true);
-#else
- return (false);
-#endif
- }
+ virtual bool isSocketReceivedTimeSupported() const;
/// @brief Open primary and fallback socket.
///