}
#endif /* PACKET_STATISTICS */
-#ifdef ICMP_FILTER
-# include "xlat/icmpfilterflags.h"
+#include "xlat/icmpfilterflags.h"
static void
print_icmp_filter(struct tcb *tcp, const long addr, int len)
printflags(icmpfilterflags, ~filter.data, "ICMP_???");
tprints(")");
}
-#endif /* ICMP_FILTER */
static void
print_getsockopt(struct tcb *tcp, unsigned int level, unsigned int name,
case SOL_RAW:
switch (name) {
-#ifdef ICMP_FILTER
case ICMP_FILTER:
print_icmp_filter(tcp, addr, len);
goto done;
-#endif
}
break;
}
case SOL_RAW:
switch (name) {
-#ifdef ICMP_FILTER
case ICMP_FILTER:
print_icmp_filter(tcp, addr, len);
goto done;
-#endif
}
break;
}