Home
last modified time | relevance | path

Searched refs:smsg (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/libsystemd/sd-device/
Ddevice-monitor.c430 struct msghdr smsg = { in device_monitor_receive_device() local
447 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() local
614 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()
/systemd-251/src/udev/
Dudev-ctrl.c159 struct msghdr smsg = { in udev_ctrl_connection_event_handler() local
181 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()