Lines Matching refs:type
486 int type;
493 type = ntohs(cmd->type);
498 switch(type) {
568 DEBUG(3, "Sending %d bytes of console data, type=%d, timeout=%d\n", bytes, ntohl(msg->type), timeout);
592 int type = ntohl(pkt->msg.type);
594 if ((type >= EAD_TYPE_GET_PRIME) &&
595 (state != type))
598 if ((type != EAD_TYPE_PING) &&
603 switch(type) {
636 pktbuf->msg.type = htonl(type + 1);
642 DEBUG(2, "sending response to packet type %d: %d\n", type + 1, ntohl(pktbuf->msg.len));