Lines Matching defs:command
588 * Set command buffer with command code, session_id and length of payload
589 * Returns: sequence number of command
607 * Set command buffer with command code, session_id and length of payload
608 * Returns: sequence number of command
660 udp_command (const int dev_no, char *command, int cmd_len, char *response,
664 * send udp command to given device and receive the response`
674 struct BJNP_command *cmd = (struct BJNP_command *) command;
684 if ((numbytes = send (sockfd, command, cmd_len, 0)) != cmd_len)
801 * Parse identify command responses to ip-address
1119 "bjnp_finish_job: ERROR - Received %d characters on close scanjob command, expected %d\n",
1140 int buf_len; /* length of the whole command buffer */
1238 /* send job details command */
1280 /* send job details command */
1315 /* set BJNP command header */
1335 /* correct nr of bytes sent for length of command */
1364 /* set BJNP command header */
1368 PDBG (bjnp_dbg (LOG_DEBUG, "bjnp_send_read_req sending command\n"));
2250 /* not a response, a command from somebody else or */
2251 /* a discover command that we generated */
2542 PDBG (bjnp_dbg (LOG_CRIT, "sanei_bjnp_write_bulk: ERROR - Could not read response to command!\n"));