1 /* 2 * Copyright (C) 2013-2018 Nikos Mavrogiannopoulos 3 * Copyright (C) 2015, 2016 Red Hat, Inc. 4 * 5 * This file is part of ocserv. 6 * 7 * ocserv is free software: you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * ocserv is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 ssize_t dtls_pull_latency(gnutls_transport_ptr_t ptr, void *data, size_t size); 22 void send_latency_stats_delta_to_main(worker_st * ws, time_t now); 23 void capture_latency_sample(struct worker_st* ws, struct timespec *processing_start_time); 24