When af-packet is not build we can avoid to build a large amount
of code.
return;
}
+
+#ifdef HAVE_AF_PACKET
+
void AFPDerefConfig(void *conf)
{
AFPIfaceConfig *pfp = (AFPIfaceConfig *)conf;
return has_ips;
}
+#endif
+
+
int RunModeIdsAFPAutoFp(void)
{
SCEnter();
/* not an error condition if we have a 1.0 config */
LiveBuildDeviceList("pfring");
}
+#ifdef HAVE_AF_PACKET
} else if (run_mode == RUNMODE_AFP_DEV) {
/* iface has been set on command line */
if (strlen(pcap_dev)) {
EngineModeSetIPS();
}
}
+#endif
#ifdef HAVE_NETMAP
} else if (run_mode == RUNMODE_NETMAP) {
/* iface has been set on command line */