1STRUCT RIO_ROUTE_OPS(9) Internals STRUCT RIO_ROUTE_OPS(9)
2
3
4
6 struct_rio_route_ops - Per-switch route operations
7
9 struct rio_route_ops {
10 u16 vid;
11 u16 did;
12 int (* add_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port);
13 int (* get_hook) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 * route_port);
14 };
15
17 vid
18 RIO vendor ID
19
20 did
21 RIO device ID
22
23 add_hook
24 Callback that adds a route entry
25
26 get_hook
27 Callback that gets a route entry
28
30 Defines the operations that are necessary to manipulate the route
31 tables for a particular RIO switch device.
32
34 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
35 Author.
36
38Kernel Hackers Manual 2.6. June 2019 STRUCT RIO_ROUTE_OPS(9)