xref: /netbsd-src/share/man/man4/canloop.4 (revision a198f14b5266b03a2f8562ae2f60e25dd3135d04)
1.\"	$NetBSD: canloop.4,v 1.3 2017/05/29 08:42:33 wiz Exp $
2.\"
3.\" Copyright (c) 2017 Manuel Bouyer.
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
14.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
15.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
16.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
17.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
18.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
19.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
21.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22.\"
23.Dd May 18, 2017
24.Dt CANLOOP 4
25.Os
26.Sh NAME
27.Nm canloop
28.Nd software loopback CAN network interface
29.Sh SYNOPSIS
30.Cd "pseudo-device canloop"
31.Sh DESCRIPTION
32The
33.Nm canloop
34pseudo interface is a loopback interface for the CAN layer.
35It can be used as destination by a CAN application, when no CAN
36hardware is available.
37Other sockets bound to the same
38.Nm canloop
39interface (or not bound to any interface) will receive the frames.
40.Pp
41.Nm canloop
42interfaces can be created by using the
43.Xr ifconfig 8
44.Cm create
45command.
46.Sh SEE ALSO
47.Xr can 4 ,
48.Xr intro 4 ,
49.Xr ifconfig 8
50.Sh HISTORY
51The
52.Nm
53device appeared in
54.Nx 8.0 .
55