Lines Matching defs:type
45 dispatch_protocol_error(int type, u_int32_t seq, void *ctxt)
47 logit("dispatch_protocol_error: type %d seq %u", type, seq);
56 dispatch_protocol_ignore(int type, u_int32_t seq, void *ctxt)
58 logit("dispatch_protocol_ignore: type %d seq %u", type, seq);
79 dispatch_set(int type, dispatch_fn *fn)
81 dispatch[type] = fn;
87 int type;
91 type = packet_read_seqnr(&seqnr);
93 type = packet_read_poll_seqnr(&seqnr);
94 if (type == SSH_MSG_NONE)
97 if (type > 0 && type < DISPATCH_MAX && dispatch[type] != NULL)
98 (*dispatch[type])(type, seqnr, ctxt);
100 packet_disconnect("protocol error: rcvd type %d", type);