]> rtime.felk.cvut.cz Git - can-utils.git/commit
cangw: introduce uid command line option
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 11 Jun 2015 18:48:43 +0000 (20:48 +0200)
committerOliver Hartkopp <socketcan@hartkopp.net>
Thu, 11 Jun 2015 18:48:43 +0000 (20:48 +0200)
commit8af831f377161f1a5dbbb4f80794d793aa5462df
tree73087f364c70d939e0116bfddcc01148d2a87116
parentdc374b074be79ea80084c4b1651db19fa1f5c4e7
cangw: introduce uid command line option

Similar to referencing iptables rules by their line number this UID allows to
reference created routing jobs, e.g. to alter configured data modifications.

The UID is an optional non-zero value which can be provided at routing job
creation time. When the UID is set the UID replaces the data modification
configuration as job identification attribute e.g. at job removal time.

The UID option is provided by mainline Linux 4.2+

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
cangw.c
include/linux/can/gw.h