1998-11-29 22:03:58 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- Direct Device Routes
|
|
|
|
*
|
1999-02-05 21:37:34 +00:00
|
|
|
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
|
1998-11-29 22:03:58 +00:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_RT_DEV_H_
|
|
|
|
#define _BIRD_RT_DEV_H_
|
|
|
|
|
1999-02-05 21:37:34 +00:00
|
|
|
struct rt_dev_config {
|
|
|
|
struct proto_config c;
|
2011-11-07 00:31:23 +01:00
|
|
|
list iface_list; /* list of struct iface_patt */
|
2016-04-08 15:10:57 +02:00
|
|
|
int check_link;
|
2018-03-18 02:56:51 +01:00
|
|
|
|
|
|
|
struct channel_config *ip4_channel;
|
|
|
|
struct channel_config *ip6_channel;
|
1998-11-29 22:03:58 +00:00
|
|
|
};
|
|
|
|
|
2016-01-26 11:48:58 +01:00
|
|
|
struct rt_dev_proto {
|
|
|
|
struct proto p;
|
|
|
|
struct channel *ip4_channel;
|
|
|
|
struct channel *ip6_channel;
|
|
|
|
};
|
|
|
|
|
1998-11-29 22:03:58 +00:00
|
|
|
#endif
|