• Home
  • Raw
  • Download

Lines Matching refs:ctrl_msg_wire

55         struct udev_ctrl_msg_wire ctrl_msg_wire;  member
261 struct udev_ctrl_msg_wire ctrl_msg_wire; in ctrl_send() local
264 memzero(&ctrl_msg_wire, sizeof(struct udev_ctrl_msg_wire)); in ctrl_send()
265 strcpy(ctrl_msg_wire.version, "udev-" VERSION); in ctrl_send()
266 ctrl_msg_wire.magic = UDEV_CTRL_MAGIC; in ctrl_send()
267 ctrl_msg_wire.type = type; in ctrl_send()
270 strscpy(ctrl_msg_wire.buf, sizeof(ctrl_msg_wire.buf), buf); in ctrl_send()
272 ctrl_msg_wire.intval = intval; in ctrl_send()
281 if (send(uctrl->sock, &ctrl_msg_wire, sizeof(ctrl_msg_wire), 0) < 0) { in ctrl_send()
393 iov.iov_base = &uctrl_msg->ctrl_msg_wire; in udev_ctrl_receive_msg()
417 if (uctrl_msg->ctrl_msg_wire.magic != UDEV_CTRL_MAGIC) { in udev_ctrl_receive_msg()
418 … log_error("message magic 0x%08x doesn't match, ignore it", uctrl_msg->ctrl_msg_wire.magic); in udev_ctrl_receive_msg()
438 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_SET_LOG_LEVEL) in udev_ctrl_get_set_log_level()
439 return ctrl_msg->ctrl_msg_wire.intval; in udev_ctrl_get_set_log_level()
444 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_STOP_EXEC_QUEUE) in udev_ctrl_get_stop_exec_queue()
450 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_START_EXEC_QUEUE) in udev_ctrl_get_start_exec_queue()
456 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_RELOAD) in udev_ctrl_get_reload()
462 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_SET_ENV) in udev_ctrl_get_set_env()
463 return ctrl_msg->ctrl_msg_wire.buf; in udev_ctrl_get_set_env()
468 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_SET_CHILDREN_MAX) in udev_ctrl_get_set_children_max()
469 return ctrl_msg->ctrl_msg_wire.intval; in udev_ctrl_get_set_children_max()
474 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_PING) in udev_ctrl_get_ping()
480 if (ctrl_msg->ctrl_msg_wire.type == UDEV_CTRL_EXIT) in udev_ctrl_get_exit()