diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:40:50 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:40:50 +0100 |
commit | a19bd77981844ad193029bf586587ecb78690f6b (patch) | |
tree | 68dd207834fe20db92d4bf726d3ce796c686c903 /proto/l3vpn/l3vpn.h | |
parent | a4dd243d92b3d4274093844720139bb774bf05b1 (diff) | |
parent | bcff3ae79acfd938459869ac98db4f83e3d422b6 (diff) |
Merge commit 'bcff3ae7' into wireguard-next-tmp7-1
Diffstat (limited to 'proto/l3vpn/l3vpn.h')
-rw-r--r-- | proto/l3vpn/l3vpn.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/proto/l3vpn/l3vpn.h b/proto/l3vpn/l3vpn.h new file mode 100644 index 00000000..52a9f36d --- /dev/null +++ b/proto/l3vpn/l3vpn.h @@ -0,0 +1,36 @@ +/* + * BIRD -- BGP/MPLS IP Virtual Private Networks (L3VPN) + * + * (c) 2022 Ondrej Zajicek <santiago@crfreenet.org> + * (c) 2022 CZ.NIC z.s.p.o. + * + * Can be freely distributed and used under the terms of the GNU GPL. + */ + +#ifndef _BIRD_L3VPN_H_ +#define _BIRD_L3VPN_H_ + +struct l3vpn_config { + struct proto_config c; + + u64 rd; + struct f_tree *import_target; + struct f_tree *export_target; +}; + +struct l3vpn_proto { + struct proto p; + struct channel *ip4_channel; + struct channel *ip6_channel; + struct channel *vpn4_channel; + struct channel *vpn6_channel; + + u64 rd; + struct f_tree *import_target; + struct f_tree *export_target; + u32 *export_target_data; + uint export_target_length; + uint import_target_one; +}; + +#endif |