12345678910111213141516171819 |
- /*
- * Copyright (c) 2017 Linus Lüssing <linus.luessing@c0d3.blue>
- *
- * SPDX-License-Identifier: GPL-2.0+
- * License-Filename: LICENSE
- */
- #ifndef _MAC_H_
- #define _MAC_H_
- struct mac_addr {
- /* 8 instead of 6 for multiples of uint32_t for hashword() */
- unsigned char storage[8];
- };
- int mac_aton(const char *cp, struct mac_addr *mac);
- char *mac_ntoa(struct mac_addr *mac);
- #endif /* _MAC_H_ */
|