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 0 on success and PCAP_ERROR on
21 failure.
22
24 pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP)
25
26
27
28 21 August 20P1C0AP_TSTAMP_TYPE_NAME_TO_VAL(3PCAP)