Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

pcap_tstamp_type_name_to_val (3pcap)

Name

pcap_tstamp_type_name_to_val - 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(3pcap)



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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------------+
       |ATTRIBUTE TYPE |    ATTRIBUTE VALUE     |
       +---------------+------------------------+
       |Availability   | system/library/libpcap |
       +---------------+------------------------+
       |Stability      | Uncommitted            |
       +---------------+------------------------+

SEE ALSO
       pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source   was   downloaded  from   https://www.tcpdump.org/release/libp-
       cap-1.9.1.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.tcpdump.org/.



                                22 August 2018
                                           PCAP_TSTAMP_TYPE_NAME_TO_VAL(3pcap)