Home
last modified time | relevance | path

Searched refs:tstamp_precision_list (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/
Dpcap-snf.c482 p->tstamp_precision_list = malloc(2 * sizeof(u_int)); in snf_create()
483 if (p->tstamp_precision_list == NULL) { in snf_create()
491 p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in snf_create()
492 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in snf_create()
Dpcap-dag.c949 p->tstamp_precision_list = malloc(2 * sizeof(u_int)); in dag_create()
950 if (p->tstamp_precision_list == NULL) { in dag_create()
958 p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in dag_create()
959 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in dag_create()
Dpcap-int.h221 u_int *tstamp_precision_list; member
Dpcap.c705 if (p->tstamp_precision_list[i] == tstamp_precision) { in pcap_set_tstamp_precision()
1794 if (p->tstamp_precision_list != NULL) { in pcap_cleanup_live_common()
1795 free(p->tstamp_precision_list); in pcap_cleanup_live_common()
1796 p->tstamp_precision_list = NULL; in pcap_cleanup_live_common()
Dpcap-linux.c477 handle->tstamp_precision_list = malloc(2 * sizeof(u_int)); in pcap_create_interface()
478 if (handle->tstamp_precision_list == NULL) { in pcap_create_interface()
486 handle->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in pcap_create_interface()
487 handle->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcap_create_interface()