diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-03-16 15:29:35 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-03-16 15:29:35 +0000 |
commit | 498067014b3aa5b2eb0f2824a0da2d191c3eb19f (patch) | |
tree | 24a66b66307580cbc3cc71f25e458f791cffdf4d | |
parent | 32fb4be4e8ead2348d64045adeac542a1aa5d6aa (diff) | |
download | canutils-498067014b3aa5b2eb0f2824a0da2d191c3eb19f.tar.gz canutils-498067014b3aa5b2eb0f2824a0da2d191c3eb19f.tar.xz |
added candump.8
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-1.0-trunks@8 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | candump.8 | 35 |
2 files changed, 36 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 0fc236d..08f883b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,7 @@ canconfig_SOURCES = canconfig.c EXTRA_DIST = autogen.sh can.h -man_MANS=canconfig.8 +man_MANS = canconfig.8 candump.8 # info_TEXINFOS = can.texinfo diff --git a/candump.8 b/candump.8 new file mode 100644 index 0000000..5667e37 --- /dev/null +++ b/candump.8 @@ -0,0 +1,35 @@ +.TH CANDUMP 8 "13 March 2005" "canutils" "Linux Programmer's Manual" +.SH NAME +candump \- dump messages from CAN bus interfaces to stdout +.SH SYNOPSIS +.B "candump <interface> [Options]" +.br +.SH DESCRIPTION +candump receives messages from a CAN (Controller Area Network) bus +interface and dumps it to stdout. + +.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. +.br +.SH SEE ALSO +- ifconfig(8), canconfig(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> |