/*
+ * $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.
*/
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
#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 */