PCAP_TSTAMP_TYPE_NAME_TO_VAL(3) PCAP_TSTAMP_TYPE_NAME_TO_VAL(3)
NAME
pcap_tstamp_type_name_to_val - get the time stamp type value corre- sponding to a time stamp type name
SYNOPSIS
#include <pcap/pcap.h> int pcap_tstamp_type_name_to_val(const char *name);
DESCRIPTION
pcap_tstamp_type_name_to_val() translates a time stamp type name to the corresponding time stamp type value. The translation is case-insensi- tive.
RETURN VALUE
pcap_tstamp_type_name_to_val() returns time stamp type value on success and PCAP_ERROR on failure.
BACKWARD COMPATIBILITY
This function became available in libpcap release 1.2.1.
SEE ALSO
pcap(3), pcap_tstamp_type_val_to_name(3) 22 August 2018 PCAP_TSTAMP_TYPE_NAME_TO_VAL(3)
Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.