]> 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 f1e4dd3fe0256a1c183719fc154012c96fee0c3d..eaefae560d51e2388b6724af6da987ff654b244b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: interface.h,v 1.3 2001-07-31 19:50:14 srittau 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
@@ -51,6 +54,6 @@ struct interface {
 
 extern struct interface        *interfaces;
 extern struct interface        *ciface;
-struct interface       *newiface __P((const char *));
+struct interface       *newiface (const char *);
 
 #endif /* ATALKD_INTERFACE_H */