Searched refs:next_tstamp (Results 1 - 1 of 1) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tc_edt.c34 uint64_t tstamp, next_tstamp = 0; local
37 next_tstamp = *last_tstamp + delay_ns;
44 if (next_tstamp <= tstamp) {
51 if (next_tstamp - now >= TIME_HORIZON_NS)
55 if (next_tstamp - now >= ECN_HORIZON_NS)
58 if (bpf_map_update_elem(&flow_map, &key, &next_tstamp, BPF_EXIST))
60 skb->tstamp = next_tstamp;

Completed in 193 milliseconds