File: rt-dev.h

package info (click to toggle)
bird2 2.17.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,584 kB
  • sloc: ansic: 74,910; sh: 3,712; perl: 3,444; lex: 883; python: 495; makefile: 464; xml: 260; sed: 13
file content (27 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 *	BIRD -- Direct Device Routes
 *
 *	(c) 1998--1999 Martin Mares <mj@ucw.cz>
 *
 *	Can be freely distributed and used under the terms of the GNU GPL.
 */

#ifndef _BIRD_RT_DEV_H_
#define _BIRD_RT_DEV_H_

struct rt_dev_config {
  struct proto_config c;
  list iface_list;		/* list of struct iface_patt */
  int check_link;

  struct channel_config *ip4_channel;
  struct channel_config *ip6_channel;
};

struct rt_dev_proto {
  struct proto p;
  struct channel *ip4_channel;
  struct channel *ip6_channel;
};

#endif