File Index
Files and directories
Sign in
FILE

slcan.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/can/slcan/slcan.h C
 1/* SPDX-License-Identifier: GPL-2.0
 2 * slcan.h - serial line CAN interface driver
 3 *
 4 * Copyright (C) Laurence Culhane <loz@holmes.demon.co.uk>
 5 * Copyright (C) Fred N. van Kempen <waltje@uwalt.nl.mugnet.org>
 6 * Copyright (C) Oliver Hartkopp <socketcan@hartkopp.net>
 7 * Copyright (C) 2022 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com>
 8 *
 9 */
10
11#ifndef _SLCAN_H
12#define _SLCAN_H
13
14bool slcan_err_rst_on_open(struct net_device *ndev);
15int slcan_enable_err_rst_on_open(struct net_device *ndev, bool on);
16
17extern const struct ethtool_ops slcan_ethtool_ops;
18
19#endif /* _SLCAN_H */
~/ Read-only file preview.