strace/netlink_kobject_uevent.h
Dmitry V. Levin 92e347b556 Add copyright headers to some files that lack them
We do our best to keep copyright headers up to date, yet
git history provides better information on this subject
and is more accurate than copyright headers.
2018-12-24 23:46:43 +00:00

25 lines
628 B
C

/*
* Copyright (c) 2018 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef STRACE_NETLINK_KOBJECT_UEVENT_H
#define STRACE_NETLINK_KOBJECT_UEVENT_H
struct udev_monitor_netlink_header {
/* "libudev" prefix to distinguish libudev and kernel messages */
char prefix[8];
unsigned int magic;
unsigned int header_size;
unsigned int properties_off;
unsigned int properties_len;
unsigned int filter_subsystem_hash;
unsigned int filter_devtype_hash;
unsigned int filter_tag_bloom_hi;
unsigned int filter_tag_bloom_lo;
};
#endif /* !STRACE_NETLINK_KOBJECT_UEVENT_H */