dispatch.c (181110) | dispatch.c (192595) |
---|---|
1/* $OpenBSD: dispatch.c,v 1.21 2006/08/03 03:34:42 deraadt Exp $ */ | 1/* $OpenBSD: dispatch.c,v 1.22 2008/10/31 15:05:34 stevesk Exp $ */ |
2/* 3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 22 unchanged lines hidden (view full) --- 32 33#include "ssh1.h" 34#include "ssh2.h" 35#include "log.h" 36#include "dispatch.h" 37#include "packet.h" 38#include "compat.h" 39 | 2/* 3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 22 unchanged lines hidden (view full) --- 32 33#include "ssh1.h" 34#include "ssh2.h" 35#include "log.h" 36#include "dispatch.h" 37#include "packet.h" 38#include "compat.h" 39 |
40#define DISPATCH_MIN 0 | |
41#define DISPATCH_MAX 255 42 43dispatch_fn *dispatch[DISPATCH_MAX]; 44 45void 46dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) 47{ 48 logit("dispatch_protocol_error: type %d seq %u", type, seq); --- 57 unchanged lines hidden --- | 40#define DISPATCH_MAX 255 41 42dispatch_fn *dispatch[DISPATCH_MAX]; 43 44void 45dispatch_protocol_error(int type, u_int32_t seq, void *ctxt) 46{ 47 logit("dispatch_protocol_error: type %d seq %u", type, seq); --- 57 unchanged lines hidden --- |