Commit bbac00bb authored by Luotao Fu's avatar Luotao Fu

move internally used defines away from header

Signed-off-by: 's avatarLuotao Fu <l.fu@pengutronix.de>
parent bae25c14
......@@ -17,16 +17,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _SOCKETCAN_NETLINK_H
#define _SOCKETCAN_NETLINK_H
#include <linux/can/netlink.h>
#define IFLA_CAN_MAX (__IFLA_CAN_MAX - 1)
#define IF_UP 1
#define IF_DOWN 2
#define GET_STATE 1
#define GET_RESTART_MS 2
#define GET_BITTIMING 3
......
......@@ -36,6 +36,11 @@
#define NLMSG_TAIL(nmsg) \
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
#define IFLA_CAN_MAX (__IFLA_CAN_MAX - 1)
#define IF_UP 1
#define IF_DOWN 2
struct get_req {
struct nlmsghdr n;
struct rtgenmsg g;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment