Searched refs:smsg (Results 1 – 2 of 2) sorted by relevance
430 struct msghdr smsg = { in device_monitor_receive_device() local447 buflen = recvmsg(m->sock, &smsg, 0); in device_monitor_receive_device()454 if (buflen < 32 || (smsg.msg_flags & MSG_TRUNC)) in device_monitor_receive_device()471 cmsg = CMSG_FIRSTHDR(&smsg); in device_monitor_receive_device()559 struct msghdr smsg = { in device_monitor_send_device() local614 smsg.msg_name = destination ? &destination->snl : &default_destination; in device_monitor_send_device()615 smsg.msg_namelen = sizeof(struct sockaddr_nl); in device_monitor_send_device()616 count = sendmsg(m->sock, &smsg, 0); in device_monitor_send_device()
159 struct msghdr smsg = { in udev_ctrl_connection_event_handler() local181 size = recvmsg_safe(fd, &smsg, 0); in udev_ctrl_connection_event_handler()187 cmsg_close_all(&smsg); in udev_ctrl_connection_event_handler()189 cmsg = CMSG_FIRSTHDR(&smsg); in udev_ctrl_connection_event_handler()