blob: a15b3a1a95f90371b9786db0027959b57da7d487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2014-2018 Broadcom
* All rights reserved.
*/
#ifndef _BNXT_UTIL_H_
#define _BNXT_UTIL_H_
#ifndef BIT
#define BIT(n) (1UL << (n))
#endif /* BIT */
int bnxt_check_zero_bytes(const uint8_t *bytes, int len);
void bnxt_eth_hw_addr_random(uint8_t *mac_addr);
#endif /* _BNXT_UTIL_H_ */
|