c9694f85ed
* defs.h (decode_netlink_kobject_uevent): New prototype. * netlink.c (decode_netlink): Decode family kobject_uevent. * netlink_kobject_uevent.h: New file. * netlink_kobject_uevent.c: Likewise. * Makefile.am (strace_SOURCES): Add them. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
18 lines
502 B
C
18 lines
502 B
C
#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 */
|