Project

General

Profile

Actions

Feature #441

closed

Detect packet loss in AF_PACKET

Added by Victor Julien over 12 years ago. Updated over 12 years ago.

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

Description

At least in ringbuffer mode AF_PACKET can set the 0x4 TP_STATUS_LOSING flag indicating the user space program is not keeping up.

It would be nice to use this information to tell the user that this is happening. Maybe to start a flag "losing packets" could be logged to the stats.log in a way similar to "emergency mode entered".

Additionally, maybe others like pfring and pcap have similar features?

Actions

Also available in: Atom PDF