Lines Matching refs:uh
51 struct udev_monitor_netlink_header uh = { in test_nlmsg_type_udev() local
54 .header_size = sizeof(uh), in test_nlmsg_type_udev()
63 const unsigned int uh_len = sizeof(uh); in test_nlmsg_type_udev()
66 memcpy(buf + extra_len, &uh, uh_len); in test_nlmsg_type_udev()
76 , fd, uh.prefix, in test_nlmsg_type_udev()
77 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
78 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
79 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
80 ntohl(uh.filter_tag_bloom_lo), uh_len, errstr); in test_nlmsg_type_udev()
82 memcpy(buf, &uh, uh_len); in test_nlmsg_type_udev()
91 , fd, uh.prefix, in test_nlmsg_type_udev()
92 ntohl(uh.magic), uh.header_size, uh.properties_off, in test_nlmsg_type_udev()
93 uh.properties_len, ntohl(uh.filter_subsystem_hash), in test_nlmsg_type_udev()
94 ntohl(uh.filter_devtype_hash), ntohl(uh.filter_tag_bloom_hi), in test_nlmsg_type_udev()
95 ntohl(uh.filter_tag_bloom_lo)); in test_nlmsg_type_udev()
100 memcpy(buf + extra_len + 1, &uh, uh_len - 1); in test_nlmsg_type_udev()
103 print_quoted_memory(&uh, MIN(uh_len - 1, DEFAULT_STRLEN)); in test_nlmsg_type_udev()
112 struct udev_monitor_netlink_header uh = { in test_nlmsg_type_kernel() local
115 .header_size = sizeof(uh), in test_nlmsg_type_kernel()
122 const unsigned int uh_len = sizeof(uh); in test_nlmsg_type_kernel()
125 memcpy(p, &uh, uh_len); in test_nlmsg_type_kernel()
129 print_quoted_memory(&uh, MIN(uh_len, DEFAULT_STRLEN)); in test_nlmsg_type_kernel()