mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	The patch adds support for channels, structures connecting protocols and tables and handling most interactions between them. The documentation is missing yet.
		
			
				
	
	
		
			24 lines
		
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  *	BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
 | |
|  *
 | |
|  *	(c) 1999 Martin Mares <mj@ucw.cz>
 | |
|  *
 | |
|  *	Can be freely distributed and used under the terms of the GNU GPL.
 | |
|  */
 | |
| 
 | |
| #ifndef _BIRD_PIPE_H_
 | |
| #define _BIRD_PIPE_H_
 | |
| 
 | |
| struct pipe_config {
 | |
|   struct proto_config c;
 | |
|   struct rtable_config *peer;		/* Table we're connected to */
 | |
| };
 | |
| 
 | |
| struct pipe_proto {
 | |
|   struct proto p;
 | |
|   struct channel *pri;
 | |
|   struct channel *sec;
 | |
| };
 | |
| 
 | |
| #endif
 |