*/
struct irdp_interface {
+ bool started;
+
unsigned long MaxAdvertInterval;
unsigned long MinAdvertInterval;
unsigned long Preference;
- u_int32_t flags;
+ uint32_t flags;
#define IF_ACTIVE (1<<0) /* ICMP Active */
#define IF_BROADCAST (1<<1) /* 255.255.255.255 */
struct interface *ifp;
struct thread *t_advertise;
unsigned long irdp_sent;
- u_int16_t Lifetime;
+ uint16_t Lifetime;
struct list *AdvPrefList;
};
extern void irdp_advert_off(struct interface *ifp);
extern void process_solicit(struct interface *ifp);
extern int irdp_read_raw(struct thread *r);
-extern void send_packet(struct interface *ifp, struct stream *s, u_int32_t dst,
- struct prefix *p, u_int32_t ttl);
+extern void send_packet(struct interface *ifp, struct stream *s, uint32_t dst,
+ struct prefix *p, uint32_t ttl);
#endif /* _IRDP_H */