From 2d45e09f58c4ce857e10c241cf0e89b51b9ec49c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 1 Jun 2009 12:10:10 +0200 Subject: Adds opaque/transparent pipe mode selection. --- proto/pipe/pipe.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'proto/pipe/pipe.h') diff --git a/proto/pipe/pipe.h b/proto/pipe/pipe.h index 7e9cf8a..368ba41 100644 --- a/proto/pipe/pipe.h +++ b/proto/pipe/pipe.h @@ -9,14 +9,19 @@ #ifndef _BIRD_PIPE_H_ #define _BIRD_PIPE_H_ +#define PIPE_OPAQUE 0 +#define PIPE_TRANSPARENT 1 + struct pipe_config { struct proto_config c; struct rtable_config *peer; /* Table we're connected to */ + int mode; /* PIPE_OPAQUE or PIPE_TRANSPARENT */ }; struct pipe_proto { struct proto p; struct rtable *peer; + int mode; /* PIPE_OPAQUE or PIPE_TRANSPARENT */ struct pipe_proto *phantom; }; -- cgit v1.2.3