Searched refs:tstamp_precision_list (Results 1 – 6 of 6) sorted by relevance
479 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()
1040 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()
233 u_int *tstamp_precision_list; member
751 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()
456 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()
489 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()