Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-snf.c479 p->tstamp_precision_list = malloc(2 * sizeof(u_int)); in snf_create()
480 if (p->tstamp_precision_list == NULL) { in snf_create()
486 p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in snf_create()
487 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in snf_create()
Dpcap-dag.c1040 p->tstamp_precision_list = malloc(2 * sizeof(u_int)); in dag_create()
1041 if (p->tstamp_precision_list == NULL) { in dag_create()
1047 p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in dag_create()
1048 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in dag_create()
Dpcap-int.h233 u_int *tstamp_precision_list; member
Dpcap.c751 if (p->tstamp_precision_list[i] == (u_int)tstamp_precision) { in pcap_set_tstamp_precision()
2000 if (p->tstamp_precision_list != NULL) { in pcap_cleanup_live_common()
2001 free(p->tstamp_precision_list); in pcap_cleanup_live_common()
2002 p->tstamp_precision_list = NULL; in pcap_cleanup_live_common()
Dpcap-bpf.c456 p->tstamp_precision_list = malloc(2 * sizeof(u_int)); in pcap_create_interface()
457 if (p->tstamp_precision_list == NULL) { in pcap_create_interface()
463 p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in pcap_create_interface()
464 p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcap_create_interface()
Dpcap-linux.c489 handle->tstamp_precision_list = malloc(2 * sizeof(u_int)); in pcap_create_interface()
490 if (handle->tstamp_precision_list == NULL) { in pcap_create_interface()
496 handle->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO; in pcap_create_interface()
497 handle->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO; in pcap_create_interface()