April 2005
Intermediate to advanced
344 pages
11h 59m
English
pcap_datalink_name_to_val — Prototype: int pcap_datalink_name_to_val(const char *name);
Purpose: pcap_datalink_name_to_val returns the
numeric value of a data link type when supplied as a string. The
string name is a data link type, minus the
DLT_, as described in Table 10-2. The numeric value is returned on success, or
-1 on error.
Read now
Unlock full access