]>
git.ipfire.org Git - thirdparty/bird.git/blob - nest/iface.h
2 * BIRD Internet Routing Daemon -- Network Interfaces
4 * (c) 1998 Martin Mares <mj@ucw.cz>
6 * Can be freely distributed and used under the terms of the GNU GPL.
10 #define _BIRD_IFACE_H_
12 #include <lib/lists.h>
18 struct ifa
*ifa
; /* First address is primary */
22 #define IF_MULTIACCESS 2
23 #define IF_UNNUMBERED 4
24 #define IF_BROADCAST 8
25 #define IF_MULTICAST 16
28 /* Interface address */
32 ip_addr ip
; /* IP address of this host */
33 ip_addr prefix
; /* Network prefix */
34 unsigned pxlen
; /* Prefix length */
35 ip_addr brd
; /* Broadcast address */