]> rtime.felk.cvut.cz Git - can-eth-gw.git/log
can-eth-gw.git
5 years agolinux: Fix bug master
Michal Sojka [Mon, 25 Jun 2018 21:40:40 +0000 (23:40 +0200)]
linux: Fix bug

Thanks to Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com> for reporting
it.

9 years agoMention cegw submodule
Michal Sojka [Fri, 6 Feb 2015 08:25:08 +0000 (09:25 +0100)]
Mention cegw submodule

9 years agodoc: Update references
Michal Sojka [Fri, 6 Feb 2015 08:12:49 +0000 (09:12 +0100)]
doc: Update references

10 years agocanutils: Update kernel header
Michal Sojka [Fri, 4 Apr 2014 18:59:30 +0000 (20:59 +0200)]
canutils: Update kernel header

10 years agoRemove obsolete files
Michal Sojka [Fri, 4 Apr 2014 18:58:35 +0000 (20:58 +0200)]
Remove obsolete files

Also remove files that are in submodules

10 years agoCopy IPv6 support to submodules + fixes + small enhancements
Michal Sojka [Fri, 4 Apr 2014 18:52:34 +0000 (20:52 +0200)]
Copy IPv6 support to submodules + fixes + small enhancements

10 years agoAdd buildroot a linux config for easier testing
Michal Sojka [Fri, 4 Apr 2014 18:51:21 +0000 (20:51 +0200)]
Add buildroot a linux config for easier testing

Also add novaboot script for booting it.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/can-eth-gw
Michal Sojka [Fri, 4 Apr 2014 13:35:04 +0000 (15:35 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/can-eth-gw

Conflicts:
utils/cegw/cegw.c

11 years agosupport for ipv6 added
Radek Matějka [Fri, 8 Feb 2013 22:44:01 +0000 (16:44 -0600)]
support for ipv6 added

11 years agoRemove todo
Michal Sojka [Tue, 29 Jan 2013 12:41:17 +0000 (13:41 +0100)]
Remove todo

11 years agoUnderstand -h option
Michal Sojka [Tue, 29 Jan 2013 12:40:44 +0000 (13:40 +0100)]
Understand -h option

11 years agoAdd sanity check in perr()
Michal Sojka [Tue, 29 Jan 2013 12:34:55 +0000 (13:34 +0100)]
Add sanity check in perr()

11 years agocegw improved, test distro dns lookup added
Radek Matějka [Thu, 24 Jan 2013 23:46:08 +0000 (17:46 -0600)]
cegw improved, test distro dns lookup added

11 years agoAdd can-utils repository as a submodule
Michal Sojka [Mon, 21 Jan 2013 16:22:56 +0000 (17:22 +0100)]
Add can-utils repository as a submodule

It contains the cegw tool originally developed in utils/cegw directory in
this repo.

11 years agoCompile cegw against headers exported from the kernel
Michal Sojka [Thu, 20 Dec 2012 22:12:57 +0000 (23:12 +0100)]
Compile cegw against headers exported from the kernel

11 years agoVarious fixes (exit codes, infinite sleep etc.)
Michal Sojka [Thu, 20 Dec 2012 22:08:11 +0000 (23:08 +0100)]
Various fixes (exit codes, infinite sleep etc.)

11 years agoFix linux commit
Michal Sojka [Thu, 20 Dec 2012 18:38:58 +0000 (19:38 +0100)]
Fix linux commit

11 years agoCompile cegw against the header from the full linux tree
Michal Sojka [Thu, 20 Dec 2012 18:38:21 +0000 (19:38 +0100)]
Compile cegw against the header from the full linux tree

11 years agoUpdate kernel
Michal Sojka [Thu, 20 Dec 2012 17:49:52 +0000 (18:49 +0100)]
Update kernel

11 years agolinux: Add banner message
Michal Sojka [Thu, 20 Dec 2012 16:39:14 +0000 (17:39 +0100)]
linux: Add banner message

11 years agoUse perror() to print error messages
Michal Sojka [Thu, 20 Dec 2012 16:31:22 +0000 (17:31 +0100)]
Use perror() to print error messages

11 years agoFix device name
Michal Sojka [Thu, 20 Dec 2012 16:29:32 +0000 (17:29 +0100)]
Fix device name

11 years agoFix typo, remove empty line
Michal Sojka [Thu, 20 Dec 2012 15:46:04 +0000 (16:46 +0100)]
Fix typo, remove empty line

11 years agoAdd "patched" Linux kernel as submodule
Michal Sojka [Thu, 20 Dec 2012 15:45:45 +0000 (16:45 +0100)]
Add "patched" Linux kernel as submodule

11 years agoMention funding
Michal Sojka [Thu, 20 Dec 2012 11:15:49 +0000 (12:15 +0100)]
Mention funding

11 years agotest 3 update
Radek Matějka [Wed, 19 Dec 2012 21:50:55 +0000 (15:50 -0600)]
test 3 update

Test 3 (t3) was improved to produce better formatted output.

11 years agoauthors and license information added
Radek Matějka [Wed, 19 Dec 2012 21:14:18 +0000 (15:14 -0600)]
authors and license information added

11 years agoupdated kernel module benchmark, added endianness conversion
Radek Matějka [Wed, 19 Dec 2012 21:06:55 +0000 (15:06 -0600)]
updated kernel module benchmark, added endianness conversion

11 years agosource cleaning, improving and adding tests
Radek Matějka [Wed, 19 Dec 2012 06:05:53 +0000 (00:05 -0600)]
source cleaning, improving and adding tests

Source of kernel module and cegw utility were cleaned from unused
code.
A new test focused on incorrect input handling was introduced.
The older test scripts were modified to work with the new version.

11 years agocegw cleanup and refactor, new test t7
Radek Matějka [Tue, 18 Dec 2012 04:19:10 +0000 (22:19 -0600)]
cegw cleanup and refactor, new test t7

Configuration utility cegw was cleansed and improved. A new test (t7) was
introduced. t7 is running 3 gateway jobs and testing if it works correctly.

11 years agoreference counter(kref) for cegw_job structure was added;
Radek Matějka [Sun, 16 Dec 2012 01:19:43 +0000 (19:19 -0600)]
reference counter(kref) for cegw_job structure was added;
improved resource releasing

11 years agopassing parameters to kernel via ioctl
Radek Matějka [Sun, 9 Dec 2012 21:44:09 +0000 (15:44 -0600)]
passing parameters to kernel via ioctl

Gateway is functional, but leaks resources.

11 years agocanethgw micsdevice
Radek Matějka [Thu, 29 Nov 2012 00:01:10 +0000 (18:01 -0600)]
canethgw micsdevice

This commit introduces the new miscdevice for canethgw. The code of
kernel module and cegw utility is modified to test open, release and
ioctl callbacks on this device.

11 years agoSending socket fd over netlink
Radek Matějka [Wed, 28 Nov 2012 21:19:37 +0000 (15:19 -0600)]
Sending socket fd over netlink

The code is crudely modified to test the new approach: create
sockets in user-space and send their file descriptors to kernel
over netlink.

11 years agoPowerPC benchmark
Radek Matějka [Wed, 28 Nov 2012 21:09:21 +0000 (15:09 -0600)]
PowerPC benchmark

ppc folder was added. ppc folder contains files
used for benchmark on PowerPC. (eg. ppc executables, modified
sources, results)

11 years agochanging paths to relative
Radek Matějka [Wed, 14 Nov 2012 16:54:00 +0000 (10:54 -0600)]
changing paths to relative

11 years agodocumentation update - images added
Radek Matejka [Fri, 14 Sep 2012 13:21:27 +0000 (15:21 +0200)]
documentation update - images added

11 years agodocumentation update
Radek Matejka [Fri, 14 Sep 2012 12:55:51 +0000 (14:55 +0200)]
documentation update

Obsolete information was deleted. New chapters 'Project overview',
'Design issues' and 'Benchmark' were added.

11 years agoMerge branch 'master' of rtime.felk.cvut.cz:can-eth-gw
Radek Matejka [Tue, 11 Sep 2012 13:03:07 +0000 (15:03 +0200)]
Merge branch 'master' of rtime.felk.cvut.cz:can-eth-gw

11 years agokernel/canethgw mutex_unlock bug fix
Radek Matejka [Tue, 11 Sep 2012 12:53:25 +0000 (14:53 +0200)]
kernel/canethgw mutex_unlock bug fix

The canethgw didn't unlock the cegw_mutex in case of failure.

changelog:
 - kernel/canethgw mutex_unlock bug fix
 - bench(script) module unload bug fix;
 - cegwbench can frame indexi overflow bug fix

11 years agoAdd a note
Michal Sojka [Tue, 4 Sep 2012 09:39:43 +0000 (11:39 +0200)]
Add a note

11 years agoCleanups, formatting, simplifications
Michal Sojka [Wed, 29 Aug 2012 07:40:28 +0000 (09:40 +0200)]
Cleanups, formatting, simplifications

11 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/can-eth-gw
Michal Sojka [Wed, 29 Aug 2012 07:24:20 +0000 (09:24 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/can-eth-gw

Conflicts:
kernel/Makefile

11 years agobenchmarking and debugging distributions added; benchmark script added
Radek Matejka [Thu, 23 Aug 2012 15:51:43 +0000 (17:51 +0200)]
benchmarking and debugging distributions added; benchmark script added

Configuration files for kernel and busybox used to create benchmarking
and debugging distributions were added. The assembly of distributions is
automated by script.
Benchmark script was added. Benchmark script is run on test machine and
the results are send back to workstation using netcat. The netcat receiver
script 'ncrcv', which handles results reception was added.

11 years agowrongly nested rcu_read_* fix
Radek Matejka [Fri, 17 Aug 2012 14:33:50 +0000 (16:33 +0200)]
wrongly nested rcu_read_* fix

Rcu lock replaced with mutex.

11 years agoUpdate module Makefile to work on other systems
Michal Sojka [Thu, 16 Aug 2012 14:33:38 +0000 (16:33 +0200)]
Update module Makefile to work on other systems

11 years agosource code formatted to comply with Linux code style
Radek Matejka [Thu, 16 Aug 2012 13:07:00 +0000 (15:07 +0200)]
source code formatted to comply with Linux code style

11 years agonetdevice_notifier implemented; test script; cegwbench rxtimeo
Radek Matejka [Wed, 15 Aug 2012 14:58:24 +0000 (16:58 +0200)]
netdevice_notifier implemented; test script; cegwbench rxtimeo

netdevice_notifier was implemented to avoid sending can frames to detached
devices or device index mismatch. The test script was written to test basic
functionality of canethgw. cegwbench has now ability to set timeout for
receiving function with its '-t' option.

11 years ago2xCEGW_LISTEN race condition protection, clean exit
Radek Matejka [Tue, 14 Aug 2012 15:04:57 +0000 (17:04 +0200)]
2xCEGW_LISTEN race condition protection, clean exit

11 years agoimproved rtnl processing, some error checks added
Radek Matejka [Mon, 13 Aug 2012 16:35:18 +0000 (18:35 +0200)]
improved rtnl processing, some error checks added

11 years agoreworking kernel canethgw
Radek Matejka [Mon, 13 Aug 2012 08:17:50 +0000 (10:17 +0200)]
reworking kernel canethgw

The header file canethgw.h was refactored and cleaned.
Thread synchronization was remade.

11 years agoAdd boot scripts etc.
Radek Matejka [Thu, 9 Aug 2012 14:35:19 +0000 (16:35 +0200)]
Add boot scripts etc.

11 years agouserspace canethgw cmdline options improvement
Radek Matejka [Wed, 8 Aug 2012 16:21:25 +0000 (18:21 +0200)]
userspace canethgw cmdline options improvement

Caneth command line options are modified to be compatible with other
parts of the canethgw suite.

11 years agonew options for cegwbench, first version of cesend
Radek Matejka [Wed, 8 Aug 2012 16:17:00 +0000 (18:17 +0200)]
new options for cegwbench, first version of cesend

Cegwbench has now options to specify interfaces(can,udp) on which the
benchmark will be performed. The benchmark can be done in either
(can->eth,eth->can) direction. The benchmark modes are being introduced
(oneattime).

Cesend is a fork od cansend from Socket-CAN project. It sends a canframe
over udp.

11 years agofirst version of cegwbench
Radek Matejka [Mon, 6 Aug 2012 15:00:51 +0000 (17:00 +0200)]
first version of cegwbench

11 years agofixed bug: kernel_recvmsg NULL pointer
Radek Matejka [Sun, 5 Aug 2012 20:28:59 +0000 (22:28 +0200)]
fixed bug: kernel_recvmsg NULL pointer

kvec was not used properly in kernel_recvmsg

11 years agolist routing rules
Radek Matejka [Mon, 30 Jul 2012 16:09:44 +0000 (18:09 +0200)]
list routing rules

Listing command is implemented in cegw and corresponding dump_job function
was added to canethgw module.

11 years agoswitch to rtmsg, cegw --flush implemented
Radek Matejka [Sat, 28 Jul 2012 17:54:01 +0000 (19:54 +0200)]
switch to rtmsg, cegw --flush implemented

11 years agocegw refactor
Radek Matejka [Thu, 26 Jul 2012 16:10:45 +0000 (18:10 +0200)]
cegw refactor

11 years agoset udp listening address
Radek Matejka [Wed, 25 Jul 2012 17:16:50 +0000 (19:16 +0200)]
set udp listening address

11 years agokernel/canethgw accepts configuration over netlink
Radek Matejka [Tue, 24 Jul 2012 15:40:11 +0000 (17:40 +0200)]
kernel/canethgw accepts configuration over netlink

The module accepts routing commands from cegw using netlink.
It builds RCU hlist of routing rules and performs routing on
received packets on both CAN and UDP.

11 years agoswitch to new config utility cegw
Radek Matejka [Fri, 20 Jul 2012 15:32:55 +0000 (17:32 +0200)]
switch to new config utility cegw

11 years agobasic netlink connection added
Radek Matejka [Thu, 19 Jul 2012 16:41:42 +0000 (18:41 +0200)]
basic netlink connection added

The cangw program was modified (renamed to cangwcfg) to
send rtnetlink information to canethgw. Canethgw registers
netlink callback and prints received port and udp settings.

11 years agocanethgw (kernel space) first commit
Radek Matejka [Thu, 19 Jul 2012 09:45:14 +0000 (11:45 +0200)]
canethgw (kernel space) first commit

Routes all from can to udp and vice versa. Listens
on udp port 10501, sends to 10502.

11 years agodoc: solution chapter added
Radek Matejka [Thu, 12 Jul 2012 09:04:57 +0000 (11:04 +0200)]
doc: solution chapter added

11 years agonew features added
Radek Matejka [Wed, 11 Jul 2012 15:36:49 +0000 (17:36 +0200)]
new features added

filter, signal SIGINT exit, getopt

11 years agoAdd initial version of documentation
Michal Sojka [Wed, 11 Jul 2012 12:29:37 +0000 (14:29 +0200)]
Add initial version of documentation

Currently, it contains only a brief assignment.

11 years agoUser-space gw
Radek Matejka [Tue, 10 Jul 2012 16:05:27 +0000 (18:05 +0200)]
User-space gw

First commit.