net/tap: add buffer overflow checks before checksum
[dpdk.git] / drivers / net / tap / tap_log.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2017 6WIND S.A.
3  * Copyright 2017 Mellanox Technologies, Ltd
4  */
5
6 extern int tap_logtype;
7
8 #define TAP_LOG(level, fmt, args...) \
9         rte_log(RTE_LOG_ ## level, tap_logtype, "%s(): " fmt "\n", \
10                 __func__, ## args)