]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
More DLPI stuff
authorTed Lemon <source@isc.org>
Sun, 15 Mar 1998 20:59:47 +0000 (20:59 +0000)
committerTed Lemon <source@isc.org>
Sun, 15 Mar 1998 20:59:47 +0000 (20:59 +0000)
includes/osdep.h

index 22b075c92cbe135f61c4a00960972abe9c5ed7e6..deacaedde12573e1ec564432327b8dc779d014b9 100644 (file)
@@ -3,7 +3,8 @@
    Operating system dependencies... */
 
 /*
- * Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.
+ * Copyright (c) 1996, 1997, 1998 The Internet Software Consortium.
+ * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 #  define PACKET_DECODING
 #endif
 
+/* If we don't have a DLPI packet filter, we have to filter in userland.
+   Probably not worth doing, actually. */
+#if defined (USE_DLPI_RECEIVE) && !defined (USE_DLPI_PFMOD)
+#  define USERLAND_FILTER
+#endif
+
 /* jmp_buf is assumed to be a struct unless otherwise defined in the
    system header. */
 #ifndef jbp_decl