mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 12:38:38 -10:00
LibC: Add the netinet/if_ether.h header and define ETH_ALEN
This header defines various constants related to ethernet packets, with ETH_ALEN being the length of an ethernet address (which is needed by some ports).
This commit is contained in:
1 parent
3a1ff175e8
commit
efb69508f4
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Idan Horowitz <[email protected]>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ETH_ALEN 6 // Length of an ethernet address (MAC) in bytes
|
||||
Reference in new issue
Block a user