]>
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"
19 struct ifa
*ifa
; /* First address is primary */
23 #define IF_MULTIACCESS 2
24 #define IF_UNNUMBERED 4
25 #define IF_BROADCAST 8
26 #define IF_MULTICAST 16
29 /* Interface address */
33 ip_addr ip
; /* IP address of this host */
34 ip_addr prefix
; /* Network prefix */
35 unsigned pxlen
; /* Prefix length */
36 ip_addr brd
; /* Broadcast address */
37 struct neighbor
*neigh
; /* List of neighbors on this interface */