1PCAP_TSTAMP_TYPE_NAME_TO_VAL(3PCAP) PCAP_TSTAMP_TYPE_NAME_TO_VAL(3PCAP)
2
3
4
6 pcap_tstamp_type_name_to_val - get the time stamp type value corre‐
7 sponding to a time stamp type name
8
10 #include <pcap/pcap.h>
11
12 int pcap_tstamp_type_name_to_val(const char *name);
13
15 pcap_tstamp_type_name_to_val() translates a time stamp type name to the
16 corresponding time stamp type value. The translation is case-insensi‐
17 tive.
18
20 pcap_tstamp_type_name_to_val() returns time stamp type value on success
21 and PCAP_ERROR on failure.
22
24 This function became available in libpcap release 1.2.1.
25
27 pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP)
28
29
30
31 22 August 20P1C8AP_TSTAMP_TYPE_NAME_TO_VAL(3PCAP)