]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
CAN-Ethernet gateway - kernel part canethgw-v1
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 15:16:27 +0000 (16:16 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 18:33:11 +0000 (19:33 +0100)
commit51964362b6769bf285b897d12bb595291b991e60
tree0d4a7ecf7250d7e3681da86dce697b009da4b108
parent66cdd0ceaf65a18996f561b770eedde1d123b019
CAN-Ethernet gateway - kernel part

This patch implements CAN-Ethernet (or more precisely CAN-UDP) gateway.
The code here is only responsible for routing the messages in kernel
space. Initial configuration and setup of the involved sockets is done
in user space with cegw utility.

Currently, the gateway support only IPv4 and non-CAN_FD packets, but the
implementation and user-space ABI should allow adding support for those
later.

Signed-off-by: Radek Matějka <radek.matejka@gmail.com>
Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
include/uapi/linux/can/Kbuild
include/uapi/linux/can/canethgw.h [new file with mode: 0644]
net/can/Kconfig
net/can/Makefile
net/can/canethgw.c [new file with mode: 0644]