Lines Matching refs:nlh
421 monitor_netlink_header nlh; in device_monitor_receive_device() member
483 if (buf.nlh.magic != htobe32(UDEV_MONITOR_MAGIC)) in device_monitor_receive_device()
486 buf.nlh.magic, htobe32(UDEV_MONITOR_MAGIC)); in device_monitor_receive_device()
488 if (buf.nlh.properties_off+32 > (size_t) buflen) in device_monitor_receive_device()
491 buf.nlh.properties_off+32, buflen); in device_monitor_receive_device()
493 bufpos = buf.nlh.properties_off; in device_monitor_receive_device()
551 monitor_netlink_header nlh = { in device_monitor_send_device() local
554 .header_size = sizeof nlh, in device_monitor_send_device()
557 { .iov_base = &nlh, .iov_len = sizeof nlh }, in device_monitor_send_device()
588 nlh.filter_subsystem_hash = htobe32(string_hash32(val)); in device_monitor_send_device()
591 nlh.filter_devtype_hash = htobe32(string_hash32(val)); in device_monitor_send_device()
599 nlh.filter_tag_bloom_hi = htobe32(tag_bloom_bits >> 32); in device_monitor_send_device()
600 nlh.filter_tag_bloom_lo = htobe32(tag_bloom_bits & 0xffffffff); in device_monitor_send_device()
604 nlh.properties_off = iov[0].iov_len; in device_monitor_send_device()
605 nlh.properties_len = blen; in device_monitor_send_device()