1999-08-03 19:57:43 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
|
|
|
|
*
|
2000-01-16 16:44:50 +00:00
|
|
|
* (c) 1999--2000 Martin Mares <mj@ucw.cz>
|
1999-08-03 19:57:43 +00:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*/
|
|
|
|
|
2000-06-04 16:15:37 +00:00
|
|
|
/**
|
|
|
|
* DOC: Pipe
|
|
|
|
*
|
|
|
|
* The Pipe protocol is very simple. It just connects to two routing tables
|
|
|
|
* using proto_add_announce_hook() and whenever it receives a rt_notify()
|
|
|
|
* about a change in one of the tables, it converts it to a rte_update()
|
|
|
|
* in the other one.
|
|
|
|
*
|
|
|
|
* To avoid pipe loops, Pipe keeps a `being updated' flag in each routing
|
|
|
|
* table.
|
2012-03-15 10:58:08 +00:00
|
|
|
*
|
|
|
|
* A pipe has two announce hooks, the first connected to the main
|
|
|
|
* table, the second connected to the peer table. When a new route is
|
|
|
|
* announced on the main table, it gets checked by an export filter in
|
|
|
|
* ahook 1, and, after that, it is announced to the peer table via
|
|
|
|
* rte_update(), an import filter in ahook 2 is called. When a new
|
|
|
|
* route is announced in the peer table, an export filter in ahook2
|
|
|
|
* and an import filter in ahook 1 are used. Oviously, there is no
|
2012-04-15 13:28:29 +00:00
|
|
|
* need in filtering the same route twice, so both import filters are
|
|
|
|
* set to accept, while user configured 'import' and 'export' filters
|
|
|
|
* are used as export filters in ahooks 2 and 1. Route limits are
|
|
|
|
* handled similarly, but on the import side of ahooks.
|
2000-06-04 16:15:37 +00:00
|
|
|
*/
|
|
|
|
|
2000-03-12 21:01:38 +00:00
|
|
|
#undef LOCAL_DEBUG
|
1999-08-03 19:57:43 +00:00
|
|
|
|
|
|
|
#include "nest/bird.h"
|
|
|
|
#include "nest/iface.h"
|
|
|
|
#include "nest/protocol.h"
|
2023-10-29 15:25:01 +00:00
|
|
|
#include "nest/route.h"
|
2012-03-15 10:58:08 +00:00
|
|
|
#include "nest/cli.h"
|
1999-08-03 19:57:43 +00:00
|
|
|
#include "conf/conf.h"
|
|
|
|
#include "filter/filter.h"
|
1999-12-01 12:01:41 +00:00
|
|
|
#include "lib/string.h"
|
1999-08-03 19:57:43 +00:00
|
|
|
|
|
|
|
#include "pipe.h"
|
|
|
|
|
|
|
|
static void
|
2020-01-28 10:42:46 +00:00
|
|
|
pipe_rt_notify(struct proto *P, struct channel *src_ch, const net_addr *n, rte *new, const rte *old)
|
1999-08-03 19:57:43 +00:00
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct pipe_proto *p = (void *) P;
|
2016-04-04 14:17:11 +00:00
|
|
|
struct channel *dst = (src_ch == p->pri) ? p->sec : p->pri;
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2009-05-31 13:24:27 +00:00
|
|
|
if (!new && !old)
|
|
|
|
return;
|
|
|
|
|
1999-08-03 19:57:43 +00:00
|
|
|
if (new)
|
|
|
|
{
|
2023-03-08 20:38:18 +00:00
|
|
|
rte e0 = rte_init_from(new);
|
2020-01-28 10:42:46 +00:00
|
|
|
|
2023-03-08 20:38:18 +00:00
|
|
|
e0.generation = new->generation + 1;
|
2022-06-08 13:31:28 +00:00
|
|
|
ea_unset_attr(&e0.attrs, 0, &ea_gen_hostentry);
|
2009-05-31 13:24:27 +00:00
|
|
|
|
2020-01-28 10:42:46 +00:00
|
|
|
rte_update(dst, n, &e0, new->src);
|
1999-08-03 19:57:43 +00:00
|
|
|
}
|
|
|
|
else
|
2020-01-28 10:42:46 +00:00
|
|
|
rte_update(dst, n, NULL, old->src);
|
1999-08-03 19:57:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
2022-07-11 08:41:17 +00:00
|
|
|
pipe_preexport(struct channel *C, rte *e)
|
1999-08-03 19:57:43 +00:00
|
|
|
{
|
2022-07-13 10:54:20 +00:00
|
|
|
struct pipe_proto *p = (void *) C->proto;
|
2020-05-01 20:26:24 +00:00
|
|
|
|
|
|
|
/* Avoid direct loopbacks */
|
2022-07-13 10:54:20 +00:00
|
|
|
if (e->sender == C->in_req.hook)
|
2020-05-01 20:26:24 +00:00
|
|
|
return -1;
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2020-05-01 20:26:24 +00:00
|
|
|
/* Indirection check */
|
|
|
|
uint max_generation = ((struct pipe_config *) p->p.cf)->max_generation;
|
|
|
|
if (e->generation >= max_generation)
|
|
|
|
{
|
|
|
|
log_rl(&p->rl_gen, L_ERR "Route overpiped (%u hops of %u configured in %s) in table %s: %N %s/%u:%u",
|
2022-07-13 10:54:20 +00:00
|
|
|
e->generation, max_generation, C->proto->name,
|
2022-08-02 20:08:59 +00:00
|
|
|
C->table->name, e->net, e->src->owner->name, e->src->private_id, e->src->global_id);
|
2020-05-01 20:26:24 +00:00
|
|
|
|
|
|
|
return -1;
|
|
|
|
}
|
2016-01-26 10:48:58 +00:00
|
|
|
|
1999-08-03 19:57:43 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2023-11-02 13:33:00 +00:00
|
|
|
static int
|
2024-05-02 09:39:34 +00:00
|
|
|
pipe_reload_routes(struct channel *C, struct rt_feeding_request *rfr)
|
2023-11-02 13:33:00 +00:00
|
|
|
{
|
2024-05-02 09:39:34 +00:00
|
|
|
SKIP_BACK_DECLARE(struct pipe_proto, p, p, C->proto);
|
|
|
|
rt_export_refeed(&((C == p->pri) ? p->sec : p->pri)->out_req, rfr);
|
2023-11-02 13:33:00 +00:00
|
|
|
return 1;
|
2009-12-20 13:59:12 +00:00
|
|
|
}
|
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
static void
|
|
|
|
pipe_postconfig(struct proto_config *CF)
|
1999-08-03 19:57:43 +00:00
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct pipe_config *cf = (void *) CF;
|
|
|
|
struct channel_config *cc = proto_cf_main_channel(CF);
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
if (!cc->table)
|
|
|
|
cf_error("Primary routing table not specified");
|
2009-12-02 16:26:16 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
if (!cf->peer)
|
|
|
|
cf_error("Secondary routing table not specified");
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
if (cc->table == cf->peer)
|
|
|
|
cf_error("Primary table and peer table must be different");
|
2012-04-15 13:28:29 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
if (cc->table->addr_type != cf->peer->addr_type)
|
|
|
|
cf_error("Primary table and peer table must have the same type");
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2022-06-22 10:45:42 +00:00
|
|
|
if (cc->out_subprefix && (cc->table->addr_type != cc->out_subprefix->type))
|
|
|
|
cf_error("Export subprefix must match table type");
|
|
|
|
|
|
|
|
if (cf->in_subprefix && (cc->table->addr_type != cf->in_subprefix->type))
|
|
|
|
cf_error("Import subprefix must match table type");
|
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
if (cc->rx_limit.action)
|
|
|
|
cf_error("Pipe protocol does not support receive limits");
|
2012-08-14 14:25:22 +00:00
|
|
|
|
2022-06-16 21:24:56 +00:00
|
|
|
if (cc->in_keep)
|
2016-01-26 10:48:58 +00:00
|
|
|
cf_error("Pipe protocol prohibits keeping filtered routes");
|
2021-03-16 19:10:00 +00:00
|
|
|
|
|
|
|
cc->debug = cf->c.debug;
|
1999-08-03 19:57:43 +00:00
|
|
|
}
|
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
static int
|
|
|
|
pipe_configure_channels(struct pipe_proto *p, struct pipe_config *cf)
|
2010-07-05 15:50:19 +00:00
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct channel_config *cc = proto_cf_main_channel(&cf->c);
|
|
|
|
|
|
|
|
struct channel_config pri_cf = {
|
|
|
|
.name = "pri",
|
2023-09-14 13:21:53 +00:00
|
|
|
.class = cc->class,
|
2016-01-26 10:48:58 +00:00
|
|
|
.table = cc->table,
|
|
|
|
.out_filter = cc->out_filter,
|
2022-06-22 10:45:42 +00:00
|
|
|
.out_subprefix = cc->out_subprefix,
|
2016-01-26 10:48:58 +00:00
|
|
|
.in_limit = cc->in_limit,
|
2021-02-12 04:05:18 +00:00
|
|
|
.ra_mode = RA_ANY,
|
2021-03-16 19:10:00 +00:00
|
|
|
.debug = cc->debug,
|
2021-02-12 04:05:18 +00:00
|
|
|
.rpki_reload = cc->rpki_reload,
|
2016-01-26 10:48:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct channel_config sec_cf = {
|
|
|
|
.name = "sec",
|
2023-09-14 13:21:53 +00:00
|
|
|
.class = cc->class,
|
2016-01-26 10:48:58 +00:00
|
|
|
.table = cf->peer,
|
|
|
|
.out_filter = cc->in_filter,
|
2022-06-22 10:45:42 +00:00
|
|
|
.out_subprefix = cf->in_subprefix,
|
2016-01-26 10:48:58 +00:00
|
|
|
.in_limit = cc->out_limit,
|
2021-02-12 04:05:18 +00:00
|
|
|
.ra_mode = RA_ANY,
|
2021-03-16 19:10:00 +00:00
|
|
|
.debug = cc->debug,
|
2021-02-12 04:05:18 +00:00
|
|
|
.rpki_reload = cc->rpki_reload,
|
2016-01-26 10:48:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
return
|
|
|
|
proto_configure_channel(&p->p, &p->pri, &pri_cf) &&
|
|
|
|
proto_configure_channel(&p->p, &p->sec, &sec_cf);
|
1999-08-03 19:57:43 +00:00
|
|
|
}
|
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
static struct proto *
|
|
|
|
pipe_init(struct proto_config *CF)
|
1999-08-03 19:57:43 +00:00
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct proto *P = proto_new(CF);
|
|
|
|
struct pipe_proto *p = (void *) P;
|
|
|
|
struct pipe_config *cf = (void *) CF;
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
P->rt_notify = pipe_rt_notify;
|
Terminology cleanup: The import_control hook is now called preexport.
Once upon a time, far far away, there were the old Bird developers
discussing what direction of route flow shall be called import and
export. They decided to say "import to protocol" and "export to table"
when speaking about a protocol. When speaking about a table, they
spoke about "importing to table" and "exporting to protocol".
The latter terminology was adopted in configuration, then also the
bird CLI in commit ea2ae6dd0 started to use it (in year 2009). Now
it's 2018 and the terminology is the latter. Import is from protocol to
table, export is from table to protocol. Anyway, there was still an
import_control hook which executed right before route export.
One thing is funny. There are two commits in April 1999 with just two
minutes between them. The older announces the final settlement
on config terminology, the newer uses the other definition. Let's see
their commit messages as the git-log tool shows them (the newer first):
commit 9e0e485e50ea74c4f1c5cb65bdfe6ce819c2cee2
Author: Martin Mares <mj@ucw.cz>
Date: Mon Apr 5 20:17:59 1999 +0000
Added some new protocol hooks (look at the comments for better explanation):
make_tmp_attrs Convert inline attributes to ea_list
store_tmp_attrs Convert ea_list to inline attributes
import_control Pre-import decisions
commit 5056c559c4eb253a4eee10cf35b694faec5265eb
Author: Martin Mares <mj@ucw.cz>
Date: Mon Apr 5 20:15:31 1999 +0000
Changed syntax of attaching filters to protocols to hopefully the final
version:
EXPORT <filter-spec> for outbound routes (i.e., those announced
by BIRD to the rest of the world).
IMPORT <filter-spec> for inbound routes (i.e., those imported
by BIRD from the rest of the world).
where <filter-spec> is one of:
ALL pass all routes
NONE drop all routes
FILTER <name> use named filter
FILTER { <filter> } use explicitly defined filter
For all protocols, the default is IMPORT ALL, EXPORT NONE. This includes
the kernel protocol, so that you need to add EXPORT ALL to get the previous
configuration of kernel syncer (as usually, see doc/bird.conf.example for
a bird.conf example :)).
Let's say RIP to this almost 19-years-old inconsistency. For now, if you
import a route, it is always from protocol to table. If you export a
route, it is always from table to protocol.
And they lived happily ever after.
2018-02-14 12:42:53 +00:00
|
|
|
P->preexport = pipe_preexport;
|
2016-01-26 10:48:58 +00:00
|
|
|
P->reload_routes = pipe_reload_routes;
|
2013-01-10 12:07:33 +00:00
|
|
|
|
2020-05-01 20:26:24 +00:00
|
|
|
p->rl_gen = (struct tbf) TBF_DEFAULT_LOG_LIMITS;
|
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
pipe_configure_channels(p, cf);
|
1999-08-03 19:57:43 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
return P;
|
|
|
|
}
|
2012-03-15 10:58:08 +00:00
|
|
|
|
2000-01-17 00:20:45 +00:00
|
|
|
static int
|
2016-01-26 10:48:58 +00:00
|
|
|
pipe_reconfigure(struct proto *P, struct proto_config *CF)
|
2000-01-17 00:20:45 +00:00
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct pipe_proto *p = (void *) P;
|
|
|
|
struct pipe_config *cf = (void *) CF;
|
2012-03-15 10:58:08 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
return pipe_configure_channels(p, cf);
|
2000-01-17 00:20:45 +00:00
|
|
|
}
|
|
|
|
|
2011-11-06 23:31:23 +00:00
|
|
|
static void
|
2016-11-08 18:27:58 +00:00
|
|
|
pipe_copy_config(struct proto_config *dest UNUSED, struct proto_config *src UNUSED)
|
2011-11-06 23:31:23 +00:00
|
|
|
{
|
|
|
|
/* Just a shallow copy, not many items here */
|
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
pipe_get_status(struct proto *P, byte *buf)
|
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct pipe_proto *p = (void *) P;
|
2011-11-06 23:31:23 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
bsprintf(buf, "%s <=> %s", p->pri->table->name, p->sec->table->name);
|
2012-03-15 10:58:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
pipe_show_stats(struct pipe_proto *p)
|
|
|
|
{
|
2021-06-21 15:07:31 +00:00
|
|
|
struct channel_import_stats *s1i = &p->pri->import_stats;
|
|
|
|
struct channel_export_stats *s1e = &p->pri->export_stats;
|
|
|
|
struct channel_import_stats *s2i = &p->sec->import_stats;
|
|
|
|
struct channel_export_stats *s2e = &p->sec->export_stats;
|
|
|
|
|
|
|
|
struct rt_import_stats *rs1i = p->pri->in_req.hook ? &p->pri->in_req.hook->stats : NULL;
|
2024-05-02 09:39:34 +00:00
|
|
|
struct rt_export_stats *rs1e = &p->pri->out_req.stats;
|
2021-06-21 15:07:31 +00:00
|
|
|
struct rt_import_stats *rs2i = p->sec->in_req.hook ? &p->sec->in_req.hook->stats : NULL;
|
2024-05-02 09:39:34 +00:00
|
|
|
struct rt_export_stats *rs2e = &p->sec->out_req.stats;
|
2012-03-15 10:58:08 +00:00
|
|
|
|
2021-11-06 19:34:16 +00:00
|
|
|
u32 pri_routes = p->pri->in_limit.count;
|
|
|
|
u32 sec_routes = p->sec->in_limit.count;
|
|
|
|
|
2012-03-15 10:58:08 +00:00
|
|
|
/*
|
|
|
|
* Pipe stats (as anything related to pipes) are a bit tricky. There
|
|
|
|
* are two sets of stats - s1 for ahook to the primary routing and
|
|
|
|
* s2 for the ahook to the secondary routing table. The user point
|
|
|
|
* of view is that routes going from the primary routing table to
|
|
|
|
* the secondary routing table are 'exported', while routes going in
|
|
|
|
* the other direction are 'imported'.
|
|
|
|
*
|
|
|
|
* Each route going through a pipe is, technically, first exported
|
|
|
|
* to the pipe and then imported from that pipe and such operations
|
|
|
|
* are counted in one set of stats according to the direction of the
|
|
|
|
* route propagation. Filtering is done just in the first part
|
|
|
|
* (export). Therefore, we compose stats for one directon for one
|
|
|
|
* user direction from both import and export stats, skipping
|
|
|
|
* immediate and irrelevant steps (exp_updates_accepted,
|
|
|
|
* imp_updates_received, imp_updates_filtered, ...).
|
|
|
|
*
|
|
|
|
* Rule of thumb is that stats s1 have the correct 'polarity'
|
|
|
|
* (imp/exp), while stats s2 have switched 'polarity'.
|
|
|
|
*/
|
|
|
|
|
2015-02-21 20:08:23 +00:00
|
|
|
cli_msg(-1006, " Routes: %u imported, %u exported",
|
2021-11-06 19:34:16 +00:00
|
|
|
pri_routes, sec_routes);
|
2012-03-15 10:58:08 +00:00
|
|
|
cli_msg(-1006, " Route change stats: received rejected filtered ignored accepted");
|
|
|
|
cli_msg(-1006, " Import updates: %10u %10u %10u %10u %10u",
|
2021-06-21 15:07:31 +00:00
|
|
|
rs2e->updates_received, s2e->updates_rejected + s1i->updates_invalid,
|
|
|
|
s2e->updates_filtered, rs1i->updates_ignored, rs1i->updates_accepted);
|
2012-03-15 10:58:08 +00:00
|
|
|
cli_msg(-1006, " Import withdraws: %10u %10u --- %10u %10u",
|
2021-06-21 15:07:31 +00:00
|
|
|
rs2e->withdraws_received, s1i->withdraws_invalid,
|
|
|
|
rs1i->withdraws_ignored, rs1i->withdraws_accepted);
|
2012-03-15 10:58:08 +00:00
|
|
|
cli_msg(-1006, " Export updates: %10u %10u %10u %10u %10u",
|
2021-06-21 15:07:31 +00:00
|
|
|
rs1e->updates_received, s1e->updates_rejected + s2i->updates_invalid,
|
|
|
|
s1e->updates_filtered, rs2i->updates_ignored, rs2i->updates_accepted);
|
2012-03-15 10:58:08 +00:00
|
|
|
cli_msg(-1006, " Export withdraws: %10u %10u --- %10u %10u",
|
2021-06-21 15:07:31 +00:00
|
|
|
rs1e->withdraws_received, s2i->withdraws_invalid,
|
|
|
|
rs2i->withdraws_ignored, rs2i->withdraws_accepted);
|
2012-03-15 10:58:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
pipe_show_proto_info(struct proto *P)
|
|
|
|
{
|
2016-01-26 10:48:58 +00:00
|
|
|
struct pipe_proto *p = (void *) P;
|
2012-03-15 10:58:08 +00:00
|
|
|
|
2016-01-26 10:48:58 +00:00
|
|
|
cli_msg(-1006, " Channel %s", "main");
|
|
|
|
cli_msg(-1006, " Table: %s", p->pri->table->name);
|
|
|
|
cli_msg(-1006, " Peer table: %s", p->sec->table->name);
|
2024-05-02 09:39:34 +00:00
|
|
|
cli_msg(-1006, " Import state: %s", rt_export_state_name(rt_export_get_state(&p->sec->out_req)));
|
|
|
|
cli_msg(-1006, " Export state: %s", rt_export_state_name(rt_export_get_state(&p->pri->out_req)));
|
2016-01-26 10:48:58 +00:00
|
|
|
cli_msg(-1006, " Import filter: %s", filter_name(p->sec->out_filter));
|
|
|
|
cli_msg(-1006, " Export filter: %s", filter_name(p->pri->out_filter));
|
2012-04-15 13:28:29 +00:00
|
|
|
|
2021-11-06 19:34:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
channel_show_limit(&p->pri->in_limit, "Import limit:",
|
|
|
|
(p->pri->limit_active & (1 << PLD_IN)), p->pri->limit_actions[PLD_IN]);
|
|
|
|
channel_show_limit(&p->sec->in_limit, "Export limit:",
|
|
|
|
(p->sec->limit_active & (1 << PLD_IN)), p->sec->limit_actions[PLD_IN]);
|
2012-03-15 10:58:08 +00:00
|
|
|
|
|
|
|
if (P->proto_state != PS_DOWN)
|
|
|
|
pipe_show_stats(p);
|
2011-11-06 23:31:23 +00:00
|
|
|
}
|
|
|
|
|
2021-03-16 19:10:00 +00:00
|
|
|
void
|
|
|
|
pipe_update_debug(struct proto *P)
|
|
|
|
{
|
|
|
|
struct pipe_proto *p = (void *) P;
|
|
|
|
|
|
|
|
p->pri->debug = p->sec->debug = p->p.debug;
|
|
|
|
}
|
|
|
|
|
2010-02-13 09:44:46 +00:00
|
|
|
|
1999-08-03 19:57:43 +00:00
|
|
|
struct protocol proto_pipe = {
|
2014-12-03 09:10:34 +00:00
|
|
|
.name = "Pipe",
|
|
|
|
.template = "pipe%d",
|
2016-01-26 10:48:58 +00:00
|
|
|
.proto_size = sizeof(struct pipe_proto),
|
2015-02-21 20:08:23 +00:00
|
|
|
.config_size = sizeof(struct pipe_config),
|
2023-09-24 21:22:43 +00:00
|
|
|
.startup = PROTOCOL_STARTUP_CONNECTOR,
|
2014-12-03 09:10:34 +00:00
|
|
|
.postconfig = pipe_postconfig,
|
|
|
|
.init = pipe_init,
|
|
|
|
.reconfigure = pipe_reconfigure,
|
|
|
|
.copy_config = pipe_copy_config,
|
|
|
|
.get_status = pipe_get_status,
|
|
|
|
.show_proto_info = pipe_show_proto_info
|
1999-08-03 19:57:43 +00:00
|
|
|
};
|
2022-03-18 21:05:50 +00:00
|
|
|
|
|
|
|
void
|
|
|
|
pipe_build(void)
|
|
|
|
{
|
|
|
|
proto_build(&proto_pipe);
|
|
|
|
}
|