Project

General

Profile

Actions

Feature #2637

closed

af-packet: improve error output for BPF loading failure

Added by Victor Julien about 6 years ago. Updated almost 6 years ago.

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

Description

"pcap_compile_nopcap() is similar to pcap_compile() except that instead of passing a pcap structure, one passes the snaplen and linktype explicitly. It is intended to be used for compiling filters for direct BPF usage, without necessarily having called pcap_open(). A return of -1 indicates an error; the error text is unavailable. (pcap_compile_nopcap() is a wrapper around pcap_open_dead(), pcap_compile(), and pcap_close(); the latter three routines can be used directly in order to get the error text for a compilation error.) "

Actions #1

Updated by Eric Leblond about 6 years ago

  • Assignee set to Eric Leblond
Actions #2

Updated by Victor Julien about 6 years ago

  • Target version set to 4.1.1
Actions #3

Updated by Eric Leblond almost 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF