Searched refs:tstamp_type_list (Results 1 – 4 of 4) sorted by relevance
1660 p->tstamp_type_list = NULL; in get_ts_types()1787 p->tstamp_type_list = malloc((1 + num_ts_modes) * sizeof(u_int)); in get_ts_types()1788 if (p->tstamp_type_list == NULL) { in get_ts_types()1794 p->tstamp_type_list[num_ts_types] = in get_ts_types()1806 p->tstamp_type_list[num_ts_types] = in get_ts_types()1816 p->tstamp_type_list[num_ts_types] = in get_ts_types()1826 p->tstamp_type_list[num_ts_types] = in get_ts_types()
4809 handle->tstamp_type_list = malloc(NUM_SOF_TIMESTAMPING_TYPES * sizeof(u_int)); in iface_set_all_ts_types()4810 if (handle->tstamp_type_list == NULL) { in iface_set_all_ts_types()4816 handle->tstamp_type_list[i] = sof_ts_type_map[i].pcap_tstamp_val; in iface_set_all_ts_types()4842 handle->tstamp_type_list = NULL; in iface_get_ts_types()4885 handle->tstamp_type_list = NULL; in iface_get_ts_types()4916 handle->tstamp_type_list = NULL; in iface_get_ts_types()4926 handle->tstamp_type_list = malloc(num_ts_types * sizeof(u_int)); in iface_get_ts_types()4927 if (handle->tstamp_type_list == NULL) { in iface_get_ts_types()4934 handle->tstamp_type_list[j] = sof_ts_type_map[i].pcap_tstamp_val; in iface_get_ts_types()4940 handle->tstamp_type_list = NULL; in iface_get_ts_types()[all …]
541 (void)memcpy(*tstamp_typesp, p->tstamp_type_list, in pcap_list_tstamp_types()559 pcap_free_tstamp_types(int *tstamp_type_list) in pcap_free_tstamp_types() argument561 free(tstamp_type_list); in pcap_free_tstamp_types()2607 if (p->tstamp_type_list[i] == (u_int)tstamp_type) {4021 if (p->tstamp_type_list != NULL) {4022 free(p->tstamp_type_list);4023 p->tstamp_type_list = NULL;
320 u_int *tstamp_type_list; member