Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libsocketcan merge #106

Open
wants to merge 89 commits into
base: master
Choose a base branch
from

Commits on Nov 20, 2009

  1. initial create libsocketcan-nl project

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 20, 2009
    Configuration menu
    Copy the full SHA
    d9b6577 View commit details
    Browse the repository at this point in the history
  2. fix header checking, add dist header

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 20, 2009
    Configuration menu
    Copy the full SHA
    529838a View commit details
    Browse the repository at this point in the history
  3. rename set_link and switch to static. remove internally used structs …

    …from header
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 20, 2009
    Configuration menu
    Copy the full SHA
    64c23c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2009

  1. update copyright, remove obsolete prints

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    0e3319d View commit details
    Browse the repository at this point in the history
  2. Lindent

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    8c25d8d View commit details
    Browse the repository at this point in the history
  3. add get/set raw ctrlmode callbacks

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    9b33290 View commit details
    Browse the repository at this point in the history
  4. rename API functions

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    12a155a View commit details
    Browse the repository at this point in the history
  5. change fixed char size in strncmp

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    9c5c109 View commit details
    Browse the repository at this point in the history
  6. fix printf format

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    0c3e5a7 View commit details
    Browse the repository at this point in the history
  7. fix noinst header

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    dc90880 View commit details
    Browse the repository at this point in the history
  8. remove own copy of can/netlink.h file

    include this from the header file now to make sure that application using this
    library will include this properly
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    7e041b9 View commit details
    Browse the repository at this point in the history
  9. fixed dependency in .pc file

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    bae25c1 View commit details
    Browse the repository at this point in the history
  10. move internally used defines away from header

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    bbac00b View commit details
    Browse the repository at this point in the history
  11. fix set_restart callback

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    022be45 View commit details
    Browse the repository at this point in the history
  12. add set_bitrate callback

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    ba5cc5b View commit details
    Browse the repository at this point in the history
  13. change get_state/restart_ms function prototype

    This way we can verify the return value correctly
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    fb19f0e View commit details
    Browse the repository at this point in the history
  14. switch netif_up/down to internal static function

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    dc8f25b View commit details
    Browse the repository at this point in the history
  15. move internally used defines away from header

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    c730352 View commit details
    Browse the repository at this point in the history
  16. changed licence to LGPL

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 23, 2009
    Configuration menu
    Copy the full SHA
    4a8daa7 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2009

  1. switch back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 24, 2009
    Configuration menu
    Copy the full SHA
    d8940fa View commit details
    Browse the repository at this point in the history
  2. fix header check in configure.ac

    checking linux/[rt]netlink.h somehow doesn't work, remove them for now. Checking
    for linux/can/netlink.h is more important any way, add quit-if-not-found for
    this file
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 24, 2009
    Configuration menu
    Copy the full SHA
    0e6e5fa View commit details
    Browse the repository at this point in the history
  3. v0.0.2

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 24, 2009
    Configuration menu
    Copy the full SHA
    6cfd09a View commit details
    Browse the repository at this point in the history
  4. switch version back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 24, 2009
    Configuration menu
    Copy the full SHA
    c3fa1d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2009

  1. add .gitignore file

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    6809185 View commit details
    Browse the repository at this point in the history
  2. API change

    * parse struct can_ctrlmode directly to set_ctrl_mode
    * add set_bittiming, change set_bitrate internally
    * rename set_restart to do_restart
    * rerangement
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    14bb106 View commit details
    Browse the repository at this point in the history
  3. update libtool version due to API change

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    cfcc904 View commit details
    Browse the repository at this point in the history
  4. fix linkerflag in .pc file

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    5acb738 View commit details
    Browse the repository at this point in the history
  5. add set samplepoint value to set_bitrate

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    6f73bd1 View commit details
    Browse the repository at this point in the history
  6. add get clock callbacks

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    5b2ef2f View commit details
    Browse the repository at this point in the history
  7. v0.0.3

    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    d480c2c View commit details
    Browse the repository at this point in the history
  8. switch version back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 25, 2009
    Configuration menu
    Copy the full SHA
    338a640 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2009

  1. removed duplicated code in get_ callbacks

    added a get_link internal callback to eliminate the duplicated code in _get
    functions.
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 26, 2009
    Configuration menu
    Copy the full SHA
    32c72a4 View commit details
    Browse the repository at this point in the history
  2. remove internal netif_up/down callbacks and export them

    We don't do if_up/down internally any longer, since it is depreacated. Instead
    we add now can_start/stop callbacks and let the user do the job themselves in
    threir applications.
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 26, 2009
    Configuration menu
    Copy the full SHA
    1751269 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2009

  1. rename library and API prefix

    library is now called libsocketcan, API carry the prefix can_
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 27, 2009
    Configuration menu
    Copy the full SHA
    257877f View commit details
    Browse the repository at this point in the history
  2. splitted up set_bitrate

    we now have can_set_bitrate and can_set_bitrate_samplepoint. The second is for
    convenience for the developer. We tend to let the kernel use CIA recommnended
    sample point value, which can_set_bitrate simply does
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 27, 2009
    Configuration menu
    Copy the full SHA
    b2306d4 View commit details
    Browse the repository at this point in the history
  3. update libtool version

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 27, 2009
    Configuration menu
    Copy the full SHA
    bedbd37 View commit details
    Browse the repository at this point in the history
  4. lindent, remove debug print

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 27, 2009
    Configuration menu
    Copy the full SHA
    96b6e75 View commit details
    Browse the repository at this point in the history
  5. v0.0.4

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Nov 27, 2009
    Configuration menu
    Copy the full SHA
    73a4999 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2009

  1. Add can_get_bittiming_const()

    Signed-off-by: Wolfgang Grandegger <[email protected]>
    Acked-by: Luotao Fu <[email protected]>
    grandwolf authored and Luotao Fu committed Dec 1, 2009
    Configuration menu
    Copy the full SHA
    463ac87 View commit details
    Browse the repository at this point in the history
  2. switch version back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 1, 2009
    Configuration menu
    Copy the full SHA
    8373c1f View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2009

  1. update libtool revision

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 4, 2009
    Configuration menu
    Copy the full SHA
    d6747aa View commit details
    Browse the repository at this point in the history
  2. v0.0.5

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 4, 2009
    Configuration menu
    Copy the full SHA
    f38c3b6 View commit details
    Browse the repository at this point in the history
  3. switch version back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 4, 2009
    Configuration menu
    Copy the full SHA
    7ee625b View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2009

  1. add doxygen documentation

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 8, 2009
    Configuration menu
    Copy the full SHA
    6f0eac7 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2009

  1. fix typo

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 11, 2009
    Configuration menu
    Copy the full SHA
    917c6fb View commit details
    Browse the repository at this point in the history
  2. remove dependency on kernel header include

    make a local copy of the can/netlink.h. This way we don't have to include a
    kernel include directory to build any more.
    
    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 11, 2009
    Configuration menu
    Copy the full SHA
    d75a02c View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2009

  1. add dist doc files

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 15, 2009
    Configuration menu
    Copy the full SHA
    3f2a397 View commit details
    Browse the repository at this point in the history
  2. v0.0.6

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 15, 2009
    Configuration menu
    Copy the full SHA
    94e9370 View commit details
    Browse the repository at this point in the history
  3. switch back to trunk

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 15, 2009
    Configuration menu
    Copy the full SHA
    c9f7a3d View commit details
    Browse the repository at this point in the history
  4. fix distinstall of can_netlink.h

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 15, 2009
    Configuration menu
    Copy the full SHA
    7422435 View commit details
    Browse the repository at this point in the history
  5. v0.0.7

    Signed-off-by: Luotao Fu <[email protected]>
    Luotao Fu committed Dec 15, 2009
    Configuration menu
    Copy the full SHA
    fbb55a4 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2010

  1. fix header install

    Signed-off-by: Luotao Fu <luotao@alea.(none)>
    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    1183583 View commit details
    Browse the repository at this point in the history
  2. add get error counter call

    Signed-off-by: Luotao Fu <luotao@alea.(none)>
    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    298e6ef View commit details
    Browse the repository at this point in the history
  3. change libtool library versioning

    Signed-off-by: Luotao Fu <luotao@alea.(none)>
    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    1b50d55 View commit details
    Browse the repository at this point in the history
  4. add berr counter call prototype to library header

    Signed-off-by: Luotao Fu <luotao@alea.(none)>
    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    cbe29b6 View commit details
    Browse the repository at this point in the history
  5. v0.0.8

    Signed-off-by: Luotao Fu <luotao@alea.(none)>
    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    33f96f9 View commit details
    Browse the repository at this point in the history
  6. switch back to trunk

    Luotao Fu committed Feb 14, 2010
    Configuration menu
    Copy the full SHA
    3632866 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2010

  1. configure: disable debug by default, turn off maintainer mode

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Oct 25, 2010
    Configuration menu
    Copy the full SHA
    9f1be15 View commit details
    Browse the repository at this point in the history
  2. libsocketcan: remove trailing whitespace

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Oct 25, 2010
    Configuration menu
    Copy the full SHA
    d99010f View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2011

  1. tests: remove test example

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Oct 18, 2011
    Configuration menu
    Copy the full SHA
    42a3b65 View commit details
    Browse the repository at this point in the history
  2. add can_get_device_stats()

    When using libsocketcan on git://git.pengutronix.de/git/tools/libsocketcan.git,
    I kind of missed a method to fetch the can device statistics.
    This patch adds that functionality.
    I think this is the proper library to put such function.
    
    Signed-off-by: Kurt Van Dijck <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    Kurt Van Dijck authored and marckleinebudde committed Oct 18, 2011
    Configuration menu
    Copy the full SHA
    6db5d77 View commit details
    Browse the repository at this point in the history
  3. allow linking from c++

    libsocketcan with c++ fails linking.
    
    Signed-off-by: Kurt Van Dijck <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    Kurt Van Dijck authored and marckleinebudde committed Oct 18, 2011
    Configuration menu
    Copy the full SHA
    3a2cec6 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2011

  1. configure: fix tests/GNUmakefile.in not found regression

    This patch fixes the following problem:
    
    configure.ac:108: required file `tests/GNUmakefile.in' not found
    
    which has been introduced in commit:
    42a3b65 tests: remove test example
    
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Dec 16, 2011
    Configuration menu
    Copy the full SHA
    5b990a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2012

  1. Modified do_get_nl_link to potentially process multiple netlink dump …

    …replies.
    
    Prior to this commit, do_get_nl_link assumed there would only be a single
    reply for a dump request. On my system with multiple can interfaces, this
    would cause only half of them to be listed in the dump reply. This change
    checks for NLMSG_DONE dump terminator and stops receiving messages once
    received.
    
    Signed-off-by: Andrew Beard <[email protected]>
    [mkl: fix indention, move variable init out of loop]
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    Andrew Beard authored and marckleinebudde committed Aug 7, 2012
    Configuration menu
    Copy the full SHA
    5ba2310 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2012

  1. configure.ac: enable AM_SILENT_RULES

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    10a2051 View commit details
    Browse the repository at this point in the history
  2. v0.0.9

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    e1a224b View commit details
    Browse the repository at this point in the history
  3. configure.ac: back to trunk

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Nov 6, 2012
    Configuration menu
    Copy the full SHA
    58f117a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2012

  1. Use strcmp instead of sizeof on char* string

    This bug was detected by the clang warning:
    libsocketcan.c:384:16: warning: argument to 'sizeof' in 'strncmp' call
    is the same expression as the source; did you mean to provide an
    explicit length? [-Wsizeof-pointer-memaccess]
    sizeof(name)) != 0)
    ~~~~~~~^~~~~~
    
    Signed-off-by: Alexander Stein <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    Alexander Stein authored and marckleinebudde committed Nov 28, 2012
    Configuration menu
    Copy the full SHA
    94094cc View commit details
    Browse the repository at this point in the history
  2. libsocketcan: add LICENSE file

    Took LGPL v2.1+ from the FSF website which is stated in libsocketcan.c.
    
    Signed-off-by: Wolfram Sang <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    Wolfram Sang authored and marckleinebudde committed Nov 28, 2012
    Configuration menu
    Copy the full SHA
    d5deaf6 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2013

  1. build: avoid expansion of commented macros

    '#' does not ignore the line at the m4 level, "dnl" does.
    
    Signed-off-by: Jan Engelhardt <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    jengelh authored and marckleinebudde committed Jan 6, 2013
    Configuration menu
    Copy the full SHA
    9a889d5 View commit details
    Browse the repository at this point in the history
  2. build: fix bracket imbalance

    Signed-off-by: Jan Engelhardt <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    jengelh authored and marckleinebudde committed Jan 6, 2013
    Configuration menu
    Copy the full SHA
    8ec77c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2014

  1. README: typos and beautification

    Signed-off-by: Yegor Yefremov <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    yegorich authored and marckleinebudde committed Jan 16, 2014
    Configuration menu
    Copy the full SHA
    9db8e13 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2014

  1. Use "%u" printf-format specifier for unsigned variable

    Signed-off-by: Alexander Shiyan <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    shcgit authored and marckleinebudde committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    d946985 View commit details
    Browse the repository at this point in the history
  2. Optimize can_do_restart() function

    This patch optimizes can_do_restart() function by reusing some part
    of code from existing set_link() function.
    
    Signed-off-by: Alexander Shiyan <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    shcgit authored and marckleinebudde committed Jan 31, 2014
    Configuration menu
    Copy the full SHA
    9a28d69 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2014

  1. libsocketcan: Fix return value for get{set}_link() function

    This patch makes return value negative when open_nl_sock() function
    fail and removes excess labels.
    
    Signed-off-by: Alexander Shiyan <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    shcgit authored and marckleinebudde committed Feb 6, 2014
    Configuration menu
    Copy the full SHA
    24500fc View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2014

  1. libsocketcan: Remove excess gotos.

    Signed-off-by: Alexander Shiyan <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    shcgit authored and marckleinebudde committed Feb 7, 2014
    Configuration menu
    Copy the full SHA
    0c4609f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2014

  1. configure.ac: add hints from autoupdate

    Signed-off-by: Robert Schwebel <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    rschwebel authored and marckleinebudde committed Mar 19, 2014
    Configuration menu
    Copy the full SHA
    c503a5b View commit details
    Browse the repository at this point in the history
  2. autogen-oldtools.sh: remove

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Mar 19, 2014
    Configuration menu
    Copy the full SHA
    c2f7f8e View commit details
    Browse the repository at this point in the history
  3. v0.0.10

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Mar 19, 2014
    Configuration menu
    Copy the full SHA
    51f1610 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2014

  1. configure: back to trunk

    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    4608afb View commit details
    Browse the repository at this point in the history
  2. GNUmakefile: include LICENSE file in tarball

    Reported-by: Yegor Yefremov <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    marckleinebudde committed Mar 24, 2014
    Configuration menu
    Copy the full SHA
    0c91940 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2014

  1. Update CAN netlink header

    Signed-off-by: Nikita Edward Baruzdin <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    nebaruzdin authored and marckleinebudde committed Jul 22, 2014
    Configuration menu
    Copy the full SHA
    5938ac7 View commit details
    Browse the repository at this point in the history
  2. Update can_set_ctrlmode() documentation

    Signed-off-by: Nikita Edward Baruzdin <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    nebaruzdin authored and marckleinebudde committed Jul 22, 2014
    Configuration menu
    Copy the full SHA
    4ea9ec7 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Fix parse_rtattr() does not completely initialize

    Because max is the index of the last element in array tb, max+1
    elements need to be initialized.
    
    Signed-off-by: Leo Ruan <[email protected]>
    Signed-off-by: Mark Jonas <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    LeoRuan authored and marckleinebudde committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    f5392c3 View commit details
    Browse the repository at this point in the history
  2. Get link information only from specified interface

    libsocketcan always retrieves link information from all interfaces
    instead of only specified one. This commit fixes the issue by appending
    an interface information to dump request netlink message.
    See man 7 rtnetlink for detail description in section 'RTM_GETLINK'.
    
    Signed-off-by: Leo Ruan <[email protected]>
    Signed-off-by: Mark Jonas <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    LeoRuan authored and marckleinebudde committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    6f13cef View commit details
    Browse the repository at this point in the history
  3. Add interface to retrieve link statistics

    This commit adds an interface to get the statistics (64-bits) from
    CAN interface. See more information from /usr/include/linux/if_link.h
    where defines the struct rtnl_link_stats64.
    
    Compare to the rtnl_link_stats, rtnl_link_stats64 was introduced
    since linux kernel 2.6. After that the rtnl_link_stats is synchronous
    with struct rtnl_link_stats64 by truncating each member from 64 bits
    to 32 bits. Actually, the struct rtnl_link_stats is kept for
    compatibility.
    
    Signed-off-by: Leo Ruan <[email protected]>
    Signed-off-by: Mark Jonas <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    LeoRuan authored and marckleinebudde committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    9679a3f View commit details
    Browse the repository at this point in the history
  4. Add compile option to disable error logging

    If you have an application stderr shall not be used by libsocketcan
    you can disable all error logging by defining DISABLE_ERROR_LOG.
    
    Signed-off-by: Leo Ruan <[email protected]>
    Signed-off-by: Mark Jonas <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    LeoRuan authored and marckleinebudde committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    15af38a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2018

  1. Add configure switch for error logging

    For keeping backwards compatibility the configure switch
    --enable-error-log is enabled by default. To disable error logging
    use --enable-error-log=no.
    
    Signed-off-by: Mark Jonas <[email protected]>
    Signed-off-by: Marc Kleine-Budde <[email protected]>
    MarkAtBosch authored and marckleinebudde committed Aug 13, 2018
    Configuration menu
    Copy the full SHA
    b217774 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2018

  1. Configuration menu
    Copy the full SHA
    b10cc9a View commit details
    Browse the repository at this point in the history