]> arthur.barton.de Git - netatalk.git/blobdiff - etc/atalkd/interface.h
atalkd don't spam syslog if an interface is down, XXX atalkd still advertise routes...
[netatalk.git] / etc / atalkd / interface.h
index 735b1f7ecc5c46180d5221b1f09e6b86cf0a53ff..eaefae560d51e2388b6724af6da987ff654b244b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: interface.h,v 1.2 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: interface.h,v 1.6 2009-12-13 02:21:47 didg Exp $
  * Copyright (c) 1990,1992 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
  */
@@ -36,6 +36,9 @@ struct interface {
                                           do routing. */
 #define IFACE_DONTROUTE 0x200           /* don't route this interface */
 #define IFACE_ISROUTER  0x400           /* act as a router. */
+#define IFACE_ALLMULTI  0x800          /* set allmulti on this interface, linux only */
+#define IFACE_WASALLMULTI 0x1000       /* don't unset allmulti on this interface on shutdown, linux only */
+#define IFACE_ERROR    0x2000          /* sendto returned an error */
 
 #define UNSTABLE       2
 #define STABLE         0
@@ -45,12 +48,12 @@ struct interface {
 
 #ifdef linux
 #define LOOPIFACE      "lo"
-#else linux
+#else /* !linux */
 #define LOOPIFACE      "lo0"
-#endif linux
+#endif /* linux */
 
 extern struct interface        *interfaces;
 extern struct interface        *ciface;
-struct interface       *newiface __P((const char *));
+struct interface       *newiface (const char *);
 
 #endif /* ATALKD_INTERFACE_H */