summaryrefslogtreecommitdiffstats
path: root/config.tests/socketcan_fd/main.cpp
blob: f334e8f224101c63e1e0aa1cfaa3636e3c540fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include <linux/can.h>
#include <linux/can/raw.h>

int main()
{
    canfd_frame frame;
    int fd_payload = CANFD_MAX_DLEN;
    fd_payload = CAN_RAW_FD_FRAMES;
    fd_payload = CANFD_MTU;
    return 0;
}