1PCAP_DATALINK_VAL_TO_NAME(3PCAP) PCAP_DATALINK_VAL_TO_NAME(3PCAP)
2
3
4
6 pcap_datalink_val_to_name, pcap_datalink_val_to_description - get a
7 name or description for a link-layer header type value
8
10 #include <pcap.h>
11
12 const char *pcap_datalink_val_to_name(int dlt);
13 const char *pcap_datalink_val_to_description(int dlt);
14
16 pcap_datalink_val_to_name() translates a link-layer header type value
17 to the corresponding link-layer header type name. NULL is returned on
18 failure.
19
20 pcap_datalink_val_to_description() translates a link-layer header type
21 value to a short description of that link-layer header type. NULL is
22 returned on failure.
23
24
25
26 22 August 2010PCAP_DATALINK_VAL_TO_NAME(3PCAP)