Home
last modified time | relevance | path

Searched refs:num_ts_types (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/libpcap/
H A Dpcap-npf.c1821 u_int num_ts_types = 0; in get_ts_types() local
1822 p->tstamp_type_list[num_ts_types] = in get_ts_types()
1824 num_ts_types++; in get_ts_types()
1834 p->tstamp_type_list[num_ts_types] = in get_ts_types()
1836 num_ts_types++; in get_ts_types()
1844 p->tstamp_type_list[num_ts_types] = in get_ts_types()
1846 num_ts_types++; in get_ts_types()
1854 p->tstamp_type_list[num_ts_types] = in get_ts_types()
1856 num_ts_types++; in get_ts_types()
1867 p->tstamp_type_count = num_ts_types; in get_ts_types()
H A Dpcap-linux.c4979 int num_ts_types; in iface_get_ts_types() local
5068 num_ts_types = 0; in iface_get_ts_types()
5071 num_ts_types++; in iface_get_ts_types()
5073 if (num_ts_types != 0) { in iface_get_ts_types()
5074 handle->tstamp_type_list = malloc(num_ts_types * sizeof(u_int)); in iface_get_ts_types()
5086 handle->tstamp_type_count = num_ts_types; in iface_get_ts_types()