summaryrefslogtreecommitdiffstats
path: root/man/canecho.8
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2005-11-29 13:32:13 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2005-11-29 13:32:13 +0000
commite7c603844d1a3af80f2d2aaac3c9c8e3674bccfe (patch)
treefe346bf498779fcb891cfa15b2cc86777e85d03c /man/canecho.8
parent6c317b329562fe898737fe3c7b516922e2f075f4 (diff)
downloadcanutils-e7c603844d1a3af80f2d2aaac3c9c8e3674bccfe.tar.gz
canutils-e7c603844d1a3af80f2d2aaac3c9c8e3674bccfe.tar.xz
* code restructured
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunk@54 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
Diffstat (limited to 'man/canecho.8')
-rw-r--r--man/canecho.841
1 files changed, 41 insertions, 0 deletions
diff --git a/man/canecho.8 b/man/canecho.8
new file mode 100644
index 0000000..f453ac6
--- /dev/null
+++ b/man/canecho.8
@@ -0,0 +1,41 @@
+.TH CANECHO 8 "13 March 2005" "canutils" "Linux Programmer's Manual"
+.SH NAME
+canecho \- loop back received CAN messages to the interface
+.SH SYNOPSIS
+.B "canecho <interface> [Options]"
+.br
+.SH DESCRIPTION
+canecho receives messages from a CAN (Controller Area Network) bus
+interface and directly sends the message back to the same interface.
+This can be used to test a remote CAN node by sending messages and
+testing if the same messages are being echoed back.
+
+.SH ARGUMENTS and OPTIONS
+.TP
+.B interface
+The name of the interface. This is usually a driver name followed by
+a unit number, for example "can0".
+.TP
+.B -f family
+Specifies the protocol family which has to be sniffed for. Default is
+PF_CAN, which is 30.
+.TP
+.B -t type
+Specifies the socket type to be sniffed on. Default is SOCK_RAW, which
+is 3.
+.TP
+.B -p proto
+Specifies the protocol to sniff for; default is CAN_PROTO_RAW, which
+is 0.
+.TP
+.B -v
+Verbose mode.
+0.
+.br
+.SH SEE ALSO
+- ifconfig(8), canconfig(8), candump(8), cansend(8)
+.br
+- http://www.pengutronix.de/software/socket-can/ (Socket-CAN Project)
+.SH AUTHORS
+Marc Kleine-Budde <m.kleine-budde@pengutronix.de>
+Robert Schwebel <r.schwebel@pengutronix.de>