.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.5.
.TH ISOTPTUN "1" "February 2018" "isotptun 2018.02.0-1" "User Commands"
.SH NAME
isotptun \- manual page for isotptun 2018.02.0-1
.SH SYNOPSIS
.B isotptun
[\fI\,options\/\fR] \fI\,<CAN interface>\/\fR
.SH DESCRIPTION
isotptun \- IP over CAN ISO\-TP (ISO15765\-2) tunnel / proof\-of\-concept.
.PP
This program creates a Linux tunnel netdevice 'ctunX' and transfers the
ethernet frames inside ISO15765\-2 (unreliable) datagrams on CAN.
.SH OPTIONS
.TP
\fB\-s\fR <can_id>
(source can_id. Use 8 digits for extended IDs)
.TP
\fB\-d\fR <can_id>
(destination can_id. Use 8 digits for extended IDs)
.TP
\fB\-n\fR <name>
(name of created IP netdevice. Default: 'ctun%d')
.TP
\fB\-x\fR <addr>[:<rxaddr>]
(extended addressing / opt. separate rxaddr)
.TP
\fB\-L\fR <mtu>:<tx_dl>:<tx_flags>
(link layer options for CAN FD)
.TP
\fB\-p\fR [tx]:[rx]
(set and enable tx/rx padding bytes)
.TP
\fB\-P\fR <mode>
(check rx padding for (l)ength (c)ontent (a)ll)
.TP
\fB\-t\fR <time ns>
(transmit time in nanosecs)
.TP
\fB\-b\fR <bs>
(blocksize. 0 = off)
.TP
\fB\-m\fR <val>
(STmin in ms/ns. See spec.)
.TP
\fB\-w\fR <num>
(max. wait frame transmissions.)
.TP
\fB\-D\fR
(daemonize to background when tun device created)
.TP
\fB\-h\fR
(half duplex mode.)
.TP
\fB\-v\fR
(verbose mode. Print symbols for tunneled msgs.)
.PP
CAN IDs and addresses are given and expected in hexadecimal values.
Use e.g. 'ifconfig ctun0 123.123.123.1 pointopoint 123.123.123.2 up'
to create a point\-to\-point IP connection on CAN.
