]> 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 3c682088c89c78e879c687a5fb2a90fe94df2c67..eaefae560d51e2388b6724af6da987ff654b244b 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * $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.
  */
@@ -35,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
@@ -44,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
+#endif /* ATALKD_INTERFACE_H */