summaryrefslogtreecommitdiff
path: root/netlink_kobject_uevent.h
blob: a73b8b5f0ff292e4ea19c82f908b95052c5467ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * 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 */