]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Complete rework of CAN netlink gateway.
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 10 Apr 2010 16:38:48 +0000 (16:38 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 10 Apr 2010 16:38:48 +0000 (16:38 +0000)
commit4d00594a509c547cf49929ff54819415bfd54683
tree5b0cf7f810e43649673301063e57db4315edb0ed
parent70b18b880796dcc38f22268a6cc235db89791c29
Complete rework of CAN netlink gateway.

Major changes:

- rework internal structures to prepare routings and modifications of CAN traffic also to non-CAN interfaces
- fix reading of netlink messages in cangw.c (added RTCAN_RTA / RTCAN_PAYLOAD macros)
- rework reading of gw-job lists in cgw_dump_jobs()
- rename of functions and API definitions to have a common namespace cgw_
- added infrastructure to perform crc8 and xor checksums in CAN frame data[]

TODO:

- add and test functionality for crc8 and xor checksums in CAN frame data[]
- add help text for crc8 and xor checksums in CAN frame data[]

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1165 030b6a49-0b11-0410-94ab-b0dab22257f2
can-utils/cangw.c
kernel/2.6/include/socketcan/can/gw.h
kernel/2.6/net/can/gw.c