diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-26 21:50:43 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-26 21:50:43 +0000 |
commit | 7dc4827c968053e45bcb7f145e9986eeb20c993b (patch) | |
tree | 81363b40e7ed12b7a40d00752680bd694afcdf0d /nest/protocol.h | |
parent | 7e5f5ffdda7232048c4baf3fdec358afb494a29d (diff) |
Added everything protocols need to know about multiple routing tables,
i.e. struct proto now contains field 'table' pointing to routing table
the protocol is attached to. Use this instead of &master_table.
Modified all protocols except the kernel syncer to use this field.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index 626dd994..1e627652 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -99,11 +99,10 @@ struct proto { void (*rte_insert)(struct network *, struct rte *); void (*rte_remove)(struct network *, struct rte *); + struct rtable *table; /* Routing table we're connected to */ struct filter *in_filter; /* Input filter */ struct filter *out_filter; /* Output filter */ - /* Connection to routing tables? */ - /* Hic sunt protocol-specific data */ }; |