DPDK 22.11.5
rte_alarm.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
3 */
4
5#ifndef _RTE_ALARM_H_
6#define _RTE_ALARM_H_
7
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include <stdint.h>
22
26typedef void (*rte_eal_alarm_callback)(void *arg);
27
47int rte_eal_alarm_set(uint64_t us, rte_eal_alarm_callback cb, void *cb_arg);
48
71
72#ifdef __cplusplus
73}
74#endif
75
76
77#endif /* _RTE_ALARM_H_ */
int rte_eal_alarm_set(uint64_t us, rte_eal_alarm_callback cb, void *cb_arg)
void(* rte_eal_alarm_callback)(void *arg)
Definition: rte_alarm.h:26
int rte_eal_alarm_cancel(rte_eal_alarm_callback cb_fn, void *cb_arg)