]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Complete reworked and beautified the Broadcast Manager (bcm)
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 1 Feb 2007 09:15:00 +0000 (09:15 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 1 Feb 2007 09:15:00 +0000 (09:15 +0000)
commitd7dcf83d257d79f443ca0106c8dcf93966f87d3e
tree39a059e2d16b5e07861e339caa0f715eee12e36e
parent0abf7dda3fefef8805e142af14738659a0b3a976
Complete reworked and beautified the Broadcast Manager (bcm)
The BCM now supports the binding to ifindex 0 like the raw socket does.
The first implementation of the BCM was from September 2003 and therefore
many historic stuff (e.g. unusual error reporting) was removed.
The support of ifindex 0 leads to the possibility to read from several
interfaces via one BCM-socket using sendto() / recvfrom().
See new test-apps tst-bcm-?x-sendto.c
The update of RX/TX_SETUPs 'on the run' are only possible with a smaller or
eval size of parameters now, as it is very complex in locking to provide the
other case and there was really now use-case for it ...

git-svn-id: svn://svn.berlios.de//socketcan/trunk@138 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/include/linux/can/bcm.h
kernel/2.6/net/can/bcm.c
test/Makefile
test/tst-bcm-filter.c
test/tst-bcm-rx-sendto.c [new file with mode: 0644]
test/tst-bcm-tx-sendto.c [new file with mode: 0644]