Project

General

Profile

Actions

Feature #1422

closed
EL EL

Add hardware timestamping option to AF_PACKET capture

Feature #1422: Add hardware timestamping option to AF_PACKET capture

Added by Eric Leblond about 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Current suricata is not able to use the hardware timestamping. To enable this, is is enough to call setsockopt with the PACKET_TIMESTAMP option. A good place to put that in is l.1411 in source-af-packet.c.

The possible option value regarding af_packet are:
- SOF_TIMESTAMPING_SYS_HARDWARE
- SOF_TIMESTAMPING_RAW_HARDWARE

(value define in linux/net_tstamp.h)

AH Updated by Andreas Herz over 10 years ago Actions #1

  • Assignee set to OISF Dev
  • Target version set to TBD

VJ Updated by Victor Julien almost 10 years ago Actions #2

  • Assignee changed from OISF Dev to Eric Leblond

I think this is implemented with tpacket-v3 support. Eric can we close this?

EL Updated by Eric Leblond over 9 years ago Actions #3

yes, we can close it

EL Updated by Eric Leblond over 9 years ago Actions #4

  • Status changed from New to Closed

VJ Updated by Victor Julien over 9 years ago Actions #5

  • Target version changed from TBD to 3.1rc1
Actions

Also available in: PDF Atom