=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/packet.h,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- src/usr.bin/ssh/packet.h 2015/01/19 19:52:16 1.62 +++ src/usr.bin/ssh/packet.h 2015/01/19 20:07:45 1.63 @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.h,v 1.62 2015/01/19 19:52:16 markus Exp $ */ +/* $OpenBSD: packet.h,v 1.63 2015/01/19 20:07:45 markus Exp $ */ /* * Author: Tatu Ylonen @@ -28,6 +28,8 @@ struct sshbuf; struct session_state; /* private session data */ +#include "dispatch.h" /* typedef, DISPATCH_MAX */ + struct ssh { /* Session state */ struct session_state *state; @@ -38,6 +40,11 @@ /* cached remote ip address and port*/ char *remote_ipaddr; int remote_port; + + /* Dispatcher table */ + dispatch_fn *dispatch[DISPATCH_MAX]; + /* number of packets to ignore in the dispatcher */ + int dispatch_skip_packets; /* datafellows */ int compat;