| 1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
| 2 | /* |
| 3 | * Copyright (C) 2022-2024 Linutronix GmbH |
| 4 | * Author Kurt Kanzenbach <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _LAYER2_THREAD_H_ |
| 8 | #define _LAYER2_THREAD_H_ |
| 9 | |
| 10 | #include <pthread.h> |
| 11 | #include <stdbool.h> |
| 12 | #include <stdint.h> |
| 13 | |
| 14 | #include <linux/if_ether.h> |
| 15 | |
| 16 | #include "thread.h" |
| 17 | |
| 18 | struct thread_context *generic_l2_threads_create(void); |
| 19 | void generic_l2_threads_free(struct thread_context *thread_context); |
| 20 | void generic_l2_threads_wait_for_finish(struct thread_context *thread_context); |
| 21 | |
| 22 | #endif /* _LAYER2_THREAD_H_ */ |