Lines Matching refs:nlh
592 struct udev_monitor_netlink_header nlh;
653 if (buf.nlh.magic != htonl(UDEV_MONITOR_MAGIC)) {
655 buf.nlh.magic, htonl(UDEV_MONITOR_MAGIC));
658 if (buf.nlh.properties_off+32 > (size_t)buflen) {
660 buf.nlh.properties_off+32, buflen);
664 bufpos = buf.nlh.properties_off;
716 struct udev_monitor_netlink_header nlh = {
719 .header_size = sizeof nlh,
722 { .iov_base = &nlh, .iov_len = sizeof nlh },
739 nlh.filter_subsystem_hash = htonl(util_string_hash32(val));
743 nlh.filter_devtype_hash = htonl(util_string_hash32(val));
750 nlh.filter_tag_bloom_hi = htonl(tag_bloom_bits >> 32);
751 nlh.filter_tag_bloom_lo = htonl(tag_bloom_bits & 0xffffffff);
755 nlh.properties_off = iov[0].iov_len;
756 nlh.properties_len = blen;