17 Jun, 2016

1 commit

  • When building can subsystem with CONFIG_PROC_FS=n I detected some unused
    variables warning by using proc functions. In CAN the proc handling is
    nicely placed in one object file. This patch adds simple add a
    dependency on CONFIG_PROC_FS for CAN's proc.o file and corresponding
    static inline no-op functions.

    Signed-off-by: Alexander Aring
    Acked-by: Oliver Hartkopp
    [mkl: provide static inline noops instead of using #ifdefs]
    Signed-off-by: Marc Kleine-Budde

    Alexander Aring
     

17 Sep, 2011

1 commit

  • This patch adds a CAN Gateway/Router to route (and modify) CAN frames.

    It is based on the PF_CAN core infrastructure for msg filtering and msg
    sending and can optionally modify routed CAN frames on the fly.
    CAN frames can *only* be routed between CAN network interfaces (one hop).
    They can be modified with AND/OR/XOR/SET operations as configured by the
    netlink configuration interface known e.g. from iptables. From the netlink
    view this can-gw implements RTM_{NEW|DEL|GET}ROUTE for PF_CAN.

    The CAN specific userspace tool to manage CAN routing entries can be found in
    the CAN utils http://svn.berlios.de/wsvn/socketcan/trunk/can-utils/cangw.c
    at the SocketCAN SVN on BerliOS.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

23 Nov, 2010

1 commit


29 Jan, 2008

3 commits