$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
$(DISK_LIBS) \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
ip/libip.la \
fs/libfs.la \
comm/libcomm.la \
+ eui/libeui.la \
icmp/libicmp.la icmp/libicmp-core.la \
log/liblog.la \
format/libformat.la \
tests/stub_internal.cc \
tests/stub_ipc.cc \
tests/stub_ipcache.cc \
+ tests/stub_libeui.cc \
tests/stub_libformat.cc \
tests/stub_libicmp.cc \
tests/stub_MemStore.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
libsquid.la \
tests/testMain.cc \
tests/stub_main_cc.cc \
tests/stub_ipc_Forwarder.cc \
+ tests/stub_libeui.cc \
tests/stub_store_stats.cc \
time.cc \
tools.h \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
tests/testMain.cc \
tests/stub_main_cc.cc \
tests/stub_ipc_Forwarder.cc \
+ tests/stub_libeui.cc \
tests/stub_store_stats.cc \
time.cc \
tools.h \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
SwapDir.cc \
tests/test_http_range.cc \
tests/stub_ipc_Forwarder.cc \
+ tests/stub_libeui.cc \
tests/stub_main_cc.cc \
tests/stub_MemStore.cc \
tests/stub_store_stats.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
tests/stub_DiskIOModule.cc \
tests/stub_main_cc.cc \
tests/stub_ipc_Forwarder.cc \
+ tests/stub_libeui.cc \
tests/stub_store_stats.cc \
time.cc \
BodyPipe.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
tests/stub_helper.cc \
tests/stub_HelperChildConfig.cc \
tests/stub_http.cc \
+ tests/stub_libeui.cc \
tests/stub_libformat.cc \
HttpBody.h \
HttpBody.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
tests/stub_HelperChildConfig.cc \
tests/stub_icp.cc \
tests/stub_ipc.cc \
+ tests/stub_libeui.cc \
tests/stub_MemStore.cc \
tests/stub_pconn.cc \
tests/stub_Port.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
tests/stub_icp.cc \
tests/stub_ipc.cc \
tests/stub_ipcache.cc \
+ tests/stub_libeui.cc \
tests/stub_libformat.cc \
tests/stub_libicmp.cc \
tests/stub_MemStore.cc \
acl/libacls.la \
acl/libapi.la \
acl/libstate.la \
- eui/libeui.la \
ipc/libipc.la \
mgr/libmgr.la \
base/libbase.la \
internal.h \
tests/stub_internal.cc \
tests/stub_ipc.cc \
+ tests/stub_libeui.cc \
tests/stub_pconn.cc \
store_rebuild.h \
tests/stub_store_rebuild.cc \
$(AUTH_ACL_LIBS) \
ident/libident.la \
acl/libacls.la \
- eui/libeui.la \
acl/libstate.la \
$(AUTH_LIBS) \
acl/libapi.la \
#include "comm/Write.h"
#include "CommCalls.h"
#include "errorpage.h"
-#include "eui/Config.h"
#include "fd.h"
#include "fde.h"
#include "forward.h"
}
#endif
-#if USE_SQUID_EUI
- if (Eui::TheConfig.euiLookup) {
- if (client->remote.IsIPv4()) {
- result->clientConnection->remoteEui48.lookup(client->remote);
- } else if (client->remote.IsIPv6()) {
- result->clientConnection->remoteEui64.lookup(client->remote);
- }
- }
-#endif
-
clientdbEstablished(client->remote, 1);
result->flags.readMore = true;
#include "comm/Connection.h"
#include "comm/Loops.h"
#include "comm/TcpAcceptor.h"
+#include "eui/Config.h"
#include "fd.h"
#include "fde.h"
#include "globals.h"
return COMM_ERROR;
}
+#if USE_SQUID_EUI
+ if (Eui::TheConfig.euiLookup) {
+ if (conn->remote.IsIPv4()) {
+ conn->remoteEui48.lookup(conn->remote);
+ } else if (conn->remote.IsIPv6()) {
+ conn->remoteEui64.lookup(conn->remote);
+ }
+ }
+#endif
+
PROF_stop(comm_accept);
return COMM_OK;
}
--- /dev/null
+#include "squid.h"
+
+#define STUB_API "eui/libeui.la"
+#include "STUB.h"
+
+#include "eui/Config.h"
+Eui::EuiConfig Eui::TheConfig;
+
+#include "eui/Eui48.h"
+#if USE_SQUID_EUI
+ const unsigned char *Eui::Eui48::get(void) STUB_RETVAL(NULL)
+ bool Eui::Eui48::decode(const char *asc) STUB_RETVAL(false)
+ bool Eui::Eui48::encode(char *buf, const int len) STUB_RETVAL(false)
+ bool Eui::Eui48::lookup(const Ip::Address &c) STUB_RETVAL(false)
+#endif
+
+#include "eui/Eui64.h"
+#if USE_SQUID_EUI
+ const unsigned char *Eui::Eui64::get(void) STUB_RETVAL(NULL)
+ bool Eui::Eui64::decode(const char *asc) STUB_RETVAL(false)
+ bool Eui::Eui64::encode(char *buf, const int len) STUB_RETVAL(false)
+ bool Eui::Eui64::lookup(const Ip::Address &c) STUB_RETVAL(false)
+ bool Eui::Eui64::lookupNdp(const Ip::Address &c) STUB_RETVAL(false)
+ bool Eui::Eui64::lookupSlaac(const Ip::Address &c) STUB_RETVAL(false)
+#endif