mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-12 10:15:54 +00:00
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
20 lines
440 B
C
20 lines
440 B
C
/* sonet.h - SONET/SHD physical layer control */
|
|
#ifndef LINUX_SONET_H
|
|
#define LINUX_SONET_H
|
|
|
|
|
|
#include <linux/atomic.h>
|
|
#include <uapi/linux/sonet.h>
|
|
|
|
struct k_sonet_stats {
|
|
#define __HANDLE_ITEM(i) atomic_unchecked_t i
|
|
__SONET_ITEMS
|
|
#undef __HANDLE_ITEM
|
|
};
|
|
|
|
extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
|
|
extern void sonet_subtract_stats(struct k_sonet_stats *from,
|
|
struct sonet_stats *to);
|
|
|
|
#endif
|