Implement eth_zero_addr() in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
45fca29bc5
commit
0e3bbe9197
@ -99,6 +99,12 @@ eth_broadcast_addr(u8 *pa)
|
||||
memset(pa, 0xff, 6);
|
||||
}
|
||||
|
||||
static inline void
|
||||
eth_zero_addr(u8 *pa)
|
||||
{
|
||||
memset(pa, 0, 6);
|
||||
}
|
||||
|
||||
static inline void
|
||||
random_ether_addr(u8 * dst)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user