summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorpaul <paul>2004-12-21 23:34:58 +0100
committerpaul <paul>2004-12-21 23:34:58 +0100
commit4ba9b9247222a6031a8060ddd39bfb19d90624e8 (patch)
tree4a738bb9239bd171135e61e81d17df833c07fd66 /lib/if.h
parentFix "show ipv6 route <proto>" command. (diff)
downloadfrr-4ba9b9247222a6031a8060ddd39bfb19d90624e8.tar.xz
frr-4ba9b9247222a6031a8060ddd39bfb19d90624e8.zip
2004-12-21 Paul Jakma <paul.jakma@sun.com>
* if.h: Add more 'non-generic' IFF_ flags. * if.c: IFF_NOXMIT/IFF_VIRTUAL interfaces are 'loopback like'
Diffstat (limited to '')
-rw-r--r--lib/if.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index 7afb2ae9e..492a63c90 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -190,6 +190,21 @@ struct connected
#ifndef IFF_LINK2
#define IFF_LINK2 0x0
#endif /* IFF_LINK2 */
+#ifndef IFF_NOXMIT
+#define IFF_NOXMIT 0x0
+#endif /* IFF_NOXMIT */
+#ifndef IFF_NORTEXCH
+#define IFF_NORTEXCH 0x0
+#endif /* IFF_NORTEXCH */
+#ifndef IFF_IPV4
+#define IFF_IPV4 0x0
+#endif /* IFF_IPV4 */
+#ifndef IFF_IPV6
+#define IFF_IPV6 0x0
+#endif /* IFF_IPV6 */
+#ifndef IFF_VIRTUAL
+#define IFF_VIRTUAL 0x0
+#endif /* IFF_VIRTUAL */
/* Prototypes. */
int if_cmp_func (struct interface *, struct interface *);