Rechercher une page de manuel
rio_route_get_entry
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
rio_route_get_entry - Read a route entry in a switch routing tableSYNOPSIS
- int rio_route_get_entry(struct rio_mport * mport, struct rio_switch * rswitch, u16 table, u16 route_destid, u8 * route_port);
ARGUMENTS
mport
- Master port to send transaction
rswitch
- Switch device
table
- Routing table ID
route_destid
- Destination ID to be routed
route_port
- Pointer to read port number into
DESCRIPTION
Calls the switch specific get_entry method to read a route entry in a switch. The route table can be specified using the table argument if a switch has per port routing tables or the normal use is to specific all tables (or the global table) by passing RIO_GLOBAL_TABLE in table. Returns 0 on success or -EINVAL on failure.
AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre