move internally used defines away from header
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>pull/106/head^2
parent
dc8f25b61a
commit
c73035239f
|
|
@ -22,11 +22,6 @@
|
||||||
|
|
||||||
#include <linux/can/netlink.h>
|
#include <linux/can/netlink.h>
|
||||||
|
|
||||||
#define GET_STATE 1
|
|
||||||
#define GET_RESTART_MS 2
|
|
||||||
#define GET_BITTIMING 3
|
|
||||||
#define GET_CTRLMODE 4
|
|
||||||
|
|
||||||
int scan_set_restart(const char *name);
|
int scan_set_restart(const char *name);
|
||||||
int scan_set_bitrate(const char *name, __u32 bitrate);
|
int scan_set_bitrate(const char *name, __u32 bitrate);
|
||||||
int scan_set_restart_ms(const char *name, __u32 restart_ms);
|
int scan_set_restart_ms(const char *name, __u32 restart_ms);
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,11 @@
|
||||||
#define IF_UP 1
|
#define IF_UP 1
|
||||||
#define IF_DOWN 2
|
#define IF_DOWN 2
|
||||||
|
|
||||||
|
#define GET_STATE 1
|
||||||
|
#define GET_RESTART_MS 2
|
||||||
|
#define GET_BITTIMING 3
|
||||||
|
#define GET_CTRLMODE 4
|
||||||
|
|
||||||
struct get_req {
|
struct get_req {
|
||||||
struct nlmsghdr n;
|
struct nlmsghdr n;
|
||||||
struct rtgenmsg g;
|
struct rtgenmsg g;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue