diff options
author | Benedikt Spranger <b.spranger@linutronix.de> | 2013-01-25 15:50:32 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-01-25 18:51:33 (GMT) |
commit | 6cc5fdc0e915c76d43055bf58e1e133f6ad2f1c8 (patch) | |
tree | ae9a63e51495519182841075a1832603a2ea5fdf /include | |
parent | 4cb375a81231067d19ee13478056e89401227c41 (diff) | |
download | libnl-6cc5fdc0e915c76d43055bf58e1e133f6ad2f1c8.zip libnl-6cc5fdc0e915c76d43055bf58e1e133f6ad2f1c8.tar.gz libnl-6cc5fdc0e915c76d43055bf58e1e133f6ad2f1c8.tar.bz2 |
can: add helper function to get CAN bus state
Add a helper function to get the CAN bus state.
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link/can.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink/route/link/can.h b/include/netlink/route/link/can.h index 90296f1..61c9f47 100644 --- a/include/netlink/route/link/can.h +++ b/include/netlink/route/link/can.h @@ -27,6 +27,7 @@ extern int rtnl_link_can_str2ctrlmode(const char *); extern int rtnl_link_can_restart(struct rtnl_link *); extern int rtnl_link_can_freq(struct rtnl_link *, uint32_t *); +extern int rtnl_link_can_state(struct rtnl_link *, uint32_t *); extern int rtnl_link_can_berr_rx(struct rtnl_link *); extern int rtnl_link_can_berr_tx(struct rtnl_link *); |