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

socketcan: support use of SO_TIMESTAMPING for hardware timestamps #1882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 1, 2024

  1. socketcan: support use of SO_TIMESTAMPING for hardware timestamps

    The current implemenation of socketcan utilises SO_TIMESTAMPNS
    which only offers system timestamps.
    
    I've looked at how can-utils candump.c configures hardware
    timestamping and implemented this in socketcan as a new option
    'can_hardware_timestamps' which is disabled by default to avoid
    any potential adverse impact on existing usage.
    
    Additionally modify logger.py to provide an additional '-H' flag
    in the same way that candump does in order to use this
    functionality.
    David Peverley committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    865866d View commit details
    Browse the repository at this point in the history