blob: 0a99dfd6275ad3372a590c1fce786e8acf282746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* netlink/route/link/can.h CAN interface
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* Copyright (c) 2012 Benedikt Spranger <b.spranger@linutronix.de>
*/
#ifndef NETLINK_LINK_CAN_H_
#define NETLINK_LINK_CAN_H_
#include <netlink/netlink.h>
#include <netlink/route/link.h>
#include <linux/can/netlink.h>
#ifdef __cplusplus
extern "C" {
#endif
extern int rtnl_link_is_can(struct rtnl_link *link);
extern char *rtnl_link_can_ctrlmode2str(int, char *, size_t);
extern int rtnl_link_can_str2ctrlmode(const char *);
#ifdef __cplusplus
}
#endif
#endif
|